/* --- ULTRA PREMIUM BOOKING REDESIGN --- */
body {
    background: linear-gradient(135deg, #f6f8fb 0%, #e9f0f7 100%);
}

.page-eyebrow {
    margin-bottom: 2rem;
    text-align: center;
}
.page-eyebrow h1 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ico-wrap {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    box-shadow: 0 10px 25px rgba(37,99,235,0.15);
    border: none;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ico-wrap i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gcard {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid rgba(255,255,255,0.8);
    background: #ffffff;
    padding: var(--space-4);
}

/* Stepper Redesign */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    padding: 0;
}
/* Background Line */
.stepper::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
}

.s-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.s-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid #e2e8f0;
    font-size: 1.1rem;
    font-family: var(--font-num);
    font-weight: 700;
    color: #94a3b8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.s-lbl {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
}

/* Active State */
.s-active .s-dot {
    transform: scale(1.15);
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}
.s-active .s-lbl {
    color: var(--primary);
}

/* Done State */
.s-done .s-dot {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}
.s-done .s-dot i {
    font-size: 1.4rem;
}
.s-done .s-lbl {
    color: var(--text-secondary);
}

/* Form Container Sections */
.sp {
    display: none;
    animation: fadeIn 0.3s ease forwards;
}
.sp-active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sp-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F1F5F9;
    text-align: center;
}

/* Inputs */
.pinput {
    width: 100%;
    border-radius: 12px;
    min-height: 44px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    padding: 10px 14px;
    transition: all 0.3s;
    font-family: var(--font-base);
}
.pinput:focus {
    background: #fff;
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.plabel {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}
textarea.pinput {
    resize: vertical;
    line-height: 1.5;
}

/* Buttons */
.pbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    height: 48px;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-base);
}
.pbtn-primary {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,0.25);
    border: none;
}
.pbtn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37,99,235,0.35);
}
.pbtn-secondary {
    border: 2px solid #e2e8f0;
    color: var(--text-secondary);
    background: #fff;
}
.pbtn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #f0f7ff;
}

/* Sp-Foot (Footer buttons) */
.sp-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 15px;
}
.sp-foot .btn-prev {
    flex: 1 1 auto;
}
.sp-foot .btn-next,
.sp-foot #btnSubmit {
    flex: 2 1 auto;
}

/* Radio Cards (Grades/Groups) */
.grade-list, .group-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.grade-item, .group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
.grade-item:hover, .group-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.grade-item input, .group-item input {
    display: none;
}
.gi-sel {
    border-color: var(--accent) !important;
    background: #f0f7ff !important;
    box-shadow: 0 4px 15px rgba(37,99,235,0.1);
}
.gi-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.gi-check {
    display: none;
    font-size: 0.9rem;
}
.gi-sel .gi-radio {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}
.gi-sel .gi-radio .gi-check {
    display: block;
}

/* Review Data List */
.dlist {
    border: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
}
.drow {
    display: flex;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}
.drow:last-child { border-bottom: none; }
.dlabel { color: #64748b; font-weight: 600; }
.dvalue { color: #0f172a; font-size: 1.05rem; text-align: left;}
.drow-total {
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    border-top: 2px dashed #bae6fd;
}
.drow-total .dlabel, .drow-total .dvalue {
    color: #0369a1;
    font-size: 1.4rem !important;
}

/* Notebook Cards */
.nb-card {
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.nb-card:hover { border-color: var(--primary); }
.nb-sel {
    border-color: var(--accent);
    background: #f0f7ff;
}

/* Mobile Responsiveness */
@media (max-width: 500px) {
    .gcard {
        padding: 10px;
    }
    .s-dot {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .s-lbl {
        font-size: 0.75rem;
    }
    .stepper::before {
        top: 18px;
    }
    .page-eyebrow h1 {
        font-size: 1.8rem;
    }
    .pbtn {
        width: 100%;
    }
    .sp-foot {
        flex-direction: row;
        gap: 10px;
    }
    .sp-foot .pbtn {
        width: auto;
        flex: 1;
        padding: 0 10px;
        font-size: 0.9rem;
    }
    .drow {
        flex-direction: column;
        gap: 5px;
        padding: 15px 20px;
    }
    .dvalue {
        text-align: right;
    }
}
