:root {
    --ck-primary: #8C6A5D;
    --ck-primary-hover: #7A5C50;
    --ck-bg: #FAF8F5;
    --ck-white: #FFFFFF;
    --ck-text-dark: #333333;
    --ck-text-light: #666666;
    --ck-border: #E0E0E0;
    --ck-radius: 12px;
    --ck-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --ck-transition: all 0.3s ease;
}

.consultation-wrapper {
    max-width: 650px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#consultation-form-container {
    background: var(--ck-white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Progress Bar */
.ck-progress-container {
    width: 100%;
    height: 6px;
    background-color: #E0E0E0;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.ck-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--ck-primary);
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Typography */
.consultation-wrapper h3 {
    font-size: 24px;
    color: var(--ck-text-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.question-block {
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
}

.question-label {
    font-weight: 500;
    color: var(--ck-text-dark);
    font-size: 18px;
    margin-bottom: 12px;
    display: block;
}

/* Form Elements */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-card {
    position: relative;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    display: block;
    padding: 14px 20px;
    background: var(--ck-white);
    border: 1px solid var(--ck-border);
    border-radius: var(--ck-radius);
    color: var(--ck-text-dark);
    font-size: 15px;
    font-weight: 400;
    transition: var(--ck-transition);
}

.radio-card input:checked+.card-content {
    border-color: var(--ck-primary);
    background: #FAF5F2;
    color: var(--ck-primary);
    font-weight: 500;
    box-shadow: 0 0 0 2px rgba(140, 106, 93, 0.1);
}

.radio-card:hover .card-content {
    border-color: var(--ck-primary);
}

/* Info Box */
.info-box {
    background: #FFFCF5;
    border: 1px solid #EFE4C9;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #8A7A50;
    margin-top: 10px;
    text-align: left;
}

/* Text Area */
.conditional-input textarea {
    font-family: inherit;
    border: 1px solid var(--ck-border);
    background: #FDFDFD;
    transition: border-color 0.2s;
}

.conditional-input textarea:focus {
    border-color: var(--ck-primary);
    outline: none;
}

/* Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
    width: 100%;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.step-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

button {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ck-transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--ck-primary);
    color: var(--ck-white);
}

.btn-primary:hover {
    background: var(--ck-primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--ck-text-light);
    border: 1px solid var(--ck-border);
}

.btn-secondary:hover {
    background: #f5f5f5;
    color: var(--ck-text-dark);
}

/* Disabled State */
button:disabled,
.btn-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background-color: #ccc !important;
    border-color: #ccc !important;
    color: #666 !important;
    pointer-events: none !important;
}

/* Loading & Rejection */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: var(--ck-primary);
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    #consultation-form-container {
        padding: 25px 15px;
    }
}

/* Simple Checkbox Styling (Final Declaration) */
.checkbox-simple-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-simple-label {
    display: flex;
    align-items: center;
    /* Align checkbox and text vertically */
    cursor: pointer;
    font-size: 15px;
    color: var(--ck-text-dark);
    text-align: left;
}

.checkbox-simple-label input[type="checkbox"] {
    /* Reset any absolute positioning from .radio-card input if it leaked, 
       but since we removed .radio-card class, standard styling applies. 
       Just ensure size is good. */
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--ck-primary);
    cursor: pointer;
    /* Ensure it's not hidden */
    opacity: 1;
    position: static;
}

.checkbox-simple-label .checkbox-text {
    line-height: 1.4;
}

/* File Upload Styles */
.file-upload-container {
    margin-top: 15px;
    width: 100%;
}

.file-drop-zone {
    border: 2px dashed #E0E0E0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    background: #FAFAFA;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: var(--ck-primary);
    background: #FFFBF9;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.browse-btn {
    border-radius: 50px;
    padding: 10px 24px;
    background: var(--ck-white);
    border: 1px solid var(--ck-text-dark);
    color: var(--ck-text-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}

.upload-text {
    margin: 0;
    font-size: 15px;
    color: var(--ck-text-dark);
    font-weight: 500;
}

.upload-limit {
    margin: 0;
    font-size: 13px;
    color: #999;
}

.file-info-card {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.file-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--ck-primary);
}