:root {
    --bs-primary: rgb(41, 139, 165);
    --bs-primary-rgb: 41, 139, 165;
    --accent: rgb(41, 139, 165);
    --accent-light: #e0f5ef;
    --accent-dark: rgb(41, 139, 165);
    --cream: #faf8f4;
    --card-border: rgb(23, 78, 96);
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--cream);
    color: #1c1c1a;
}

.display-font {
    font-family: 'Playfair Display', serif;
}

/* NAV */
.navbar {
    background: white;
    border-bottom: 1px solid var(--card-border);
}

.navbar-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.nav-dot {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.btn-outline-brand {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
}

.btn-outline-brand:hover {
    background: var(--accent);
    color: white;
}

/* HERO */
.hero-badge {
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    color: #1c1c1a;
}

.stat-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 14px 18px;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 700;
}

/* FORM CARD */
.form-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
}

.form-card-warning {
    background: white;
    border: 1px solid var(--card-border);
    border-color: rgb(255, 0, 0);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
}

/* PROGRESS */
.progress {
    height: 6px;
    border-radius: 50px;
    background: var(--card-border);
}

.progress-bar {
    background: var(--accent);
    border-radius: 50px;
    transition: width 0.4s ease;
}

/* SERVICE CARDS */
.service-card {
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 14px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(11, 122, 94, 0.1);
}

.service-card.selected {
    border-color: var(--accent);
    background: var(--accent-light);
}

.service-card .check-badge {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 11px;
    align-items: center;
    justify-content: center;
}

.service-card.selected .check-badge {
    display: flex;
}

/* DAY BUTTONS */
.day-btn {
    border: 2px solid var(--card-border);
    border-radius: 12px;
    background: white;
    padding: 8px 4px;
    font-size: 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
    color: #555;
}

.day-btn:hover,
.day-btn.selected {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* TIME BUTTONS */
.time-btn {
    border: 2px solid var(--card-border);
    border-radius: 10px;
    background: white;
    padding: 8px 0;
    font-size: 0.8rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    color: #444;
}

.time-btn:hover:not(:disabled),
.time-btn.selected {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.time-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* INPUTS */
.form-control,
.form-select {
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11, 122, 94, 0.1);
    background: white;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
}

/* BUTTONS */
.btn-primary-brand {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s;
    cursor: pointer;
}

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

.btn-primary-brand:active {
    transform: scale(0.98);
}

.btn-back {
    background: white;
    color: #888;
    border: 2px solid var(--card-border);
    border-radius: 14px;
    padding: 12px 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-back:hover {
    background: #f5f5f5;
}

/* STEPS */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* SUCCESS */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.summary-card {
    background: var(--cream);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.2rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.75rem;
}

/* DOCTOR AVATARS */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* FADE IN on load */
.load-fade {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.5s ease forwards;
}

.load-fade:nth-child(1) {
    animation-delay: 0.05s;
}

.load-fade:nth-child(2) {
    animation-delay: 0.15s;
}

.load-fade:nth-child(3) {
    animation-delay: 0.25s;
}

.skeleton {
    width: 200px;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #eee, #ddd, #eee);
    background-size: 200% 100%;
    animation: loading 1.2s infinite;
    margin: 7px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton1 {
    width: 200px;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #eee, #ddd, #eee);
    background-size: 200% 100%;
    animation: loading1 1.6s infinite;
    margin: 7px;
}

@keyframes loading1 {
    0% {
        background-position: 200% 0;
    }

    s 100% {
        background-position: -200% 0;
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 90px;
    aspect-ratio: 9;
    border-radius: 15px;
    animation: l5 1s infinite linear alternate;
    opacity: 0.11;
}

@keyframes l5 {
    0% {
        box-shadow: 100px 0 #000, -100px 0 #0002;
        background: #000
    }

    33% {
        box-shadow: 100px 0 #000, -100px 0 #0002;
        background: #0002
    }

    66% {
        box-shadow: 100px 0 #0002, -100px 0 #000;
        background: #0002
    }

    100% {
        box-shadow: 100px 0 #0002, -100px 0 #000;
        background: #000
    }
}