/* Appointment Form Styles */
:root {
    --gold: #c9a227;
    --gold-hover: #b8921f;
    --navy: #1e3a5f;
    --light-bg: #faf9f7;
    --option-bg: #f5f3ef;
    --text-dark: #272727;
    --text-light: #666666;
}

.appointment-page {
    background-color: var(--light-bg);
    min-height: 100vh;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-color: #e0e0e0;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background-color: var(--gold);
    width: 0%;
    transition: width 0.4s ease;
}

/* Form Container */
.appointment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Screen */
.welcome-content {
    text-align: center;
    padding: 2rem;
}

.welcome-logo {
    max-width: 300px;
    margin-bottom: 2rem;
}

.welcome-content h1 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.welcome-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-start {
    background-color: var(--gold);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-start:hover {
    background-color: var(--gold-hover);
}

.time-estimate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.time-estimate svg {
    opacity: 0.7;
}

/* Question Content */
.question-content {
    padding: 1rem;
}

.question-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.question-number {
    background-color: var(--gold);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.question-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.required {
    color: var(--gold);
    margin-left: 2px;
}

.question-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-left: 2.75rem;
}

/* Options List (Yes/No style) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--option-bg);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.option-btn:hover {
    border-color: var(--gold);
}

.option-btn.selected {
    border-color: var(--gold);
    background-color: #fdf8e8;
}

.option-key {
    background-color: white;
    color: var(--gold);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #e0e0e0;
}

.option-text {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Options Cards (Icon style) */
.options-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--option-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 160px;
    flex: 1;
}

.option-card:hover {
    border-color: var(--gold);
}

.option-card.selected {
    border-color: var(--gold);
    background-color: #fdf8e8;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-key {
    background-color: white;
    color: var(--gold);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid #e0e0e0;
}

.card-text {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Timeline Cards */
.timeline-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .timeline-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Input Groups */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background-color: white;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* OK Button */
.btn-ok {
    background-color: var(--gold);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ok:hover:not(:disabled) {
    background-color: var(--gold-hover);
}

.btn-ok:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Thank You Screen */
.thank-you {
    padding: 3rem 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you .sub-text {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Header Styles for Logo and Appointment Button */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.btn-appointment {
    background-color: var(--gold);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-appointment:hover {
    background-color: var(--gold-hover);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .appointment-container {
        padding: 1rem;
    }

    .welcome-logo {
        max-width: 200px;
    }

    .welcome-content h1 {
        font-size: 1.4rem;
    }

    .question-header h2 {
        font-size: 1.2rem;
    }

    .options-cards {
        flex-direction: column;
    }

    .option-card {
        min-width: auto;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .btn-appointment {
        display: none;
    }

    .logo-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .question-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .question-subtitle {
        margin-left: 0;
    }
}
