*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f1f5f9;
}


.top-header{
    width:100%;
    height:90px;
    background:rgb(152, 183, 233);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
    position:relative;
    z-index:10;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-area img{
    width:70px;
    height:70px;
    object-fit:cover;
}

.logo-area h1{
    color:#1d33b3;
    font-size:30px;
    font-weight:800;

}

.logo-area p{
    color:#1d33b3;
    font-size:22px;
    font-weight:600;
}

.profile-area{
    position:relative;
    display: flex;
}

.profile-icon{
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    
}

.profile-icon a{
    font-size:26px;
    color:#2244b6;
   
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}




.app-container{
    width:95%;
    max-width:1400px;
    margin:25px auto;
}

.progress-bar{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:30px;
}

.step{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#d1d5db;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}

.step.active{
    background:#2563eb;
}

.line{
    width:80px;
    height:4px;
    background:#d1d5db;
}

.form-step{
    background:#f3f4f6;
    padding:55px;
    border-radius:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.step-title{
    font-size:28px;
    color:#1e293b;
    margin-bottom:10px;
    font-weight:700;
}

.step-subtitle{
    color:#64748b;
    font-size:16px;
    margin-bottom:35px;
}

.privacy-box{
    background:#e8eaf2;
    border:2px solid #b4d2f3;
    padding:25px;
    border-radius:18px;
    margin-bottom:25px;
    line-height:2;
    height:330px;
    overflow-y:auto;
}

.privacy-box h3{
    font-size:18px;
    margin-bottom:25px;
    color:#1e293b;
}

.privacy-box p{
    margin-bottom:25px;
    font-size:16px;
    color:#334155;
}

.agree-box{
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:25px;
    font-size:15px;
    color:#334155;
    line-height:1.7;
}

.agree-box input{
    width:28px;
    height:28px;
    margin-top:5px;
}


.button-area{
    display:flex;
    justify-content:space-between;
    margin-top:10px;
}


.next-btn{
    background:#2563eb;
    color:#fff;
    padding:12px 30px;
    border:none;
    border-radius:8px;
    font-size:15px;
    cursor:pointer;
    font-weight:600;
}

.next-btn:hover{
    background:#1d4ed8;
}



/* STEP 2 */

.form-grid{
    display:grid;
    gap:20px;
    margin-bottom:25px;
}

.form-grid.four{
    grid-template-columns:repeat(4,1fr);
}

.form-grid.three{
    grid-template-columns:repeat(3,1fr);
}

.form-grid.two{
    grid-template-columns:repeat(2,1fr);
}

.input-group{
    display:flex;
    flex-direction:column;
}

.input-group label{
    font-size:14px;
    font-weight:600;
    color:#444;
    margin-bottom:8px;
}

.input-group input,
.input-group select{
    height:50px;
    border:1px solid #cfcfcf;
    border-radius:8px;
    padding:0 15px;
    font-size:15px;
    background:#fff;
}

.input-group input:focus,
.input-group select:focus{
    outline:none;
    border:1px solid #2f5bea;
    box-shadow:0 0 0 3px rgba(47,91,234,0.1);
}

.radio-group{
    display:flex;
    gap:20px;
    margin-top:12px;
    flex-wrap:wrap;
}

.radio-group label{
    display:flex;
    align-items:center;
    gap:7px;
    font-weight:500;
}

.question-box{
    margin-top:30px;
}

.question-box p{
    font-size:16px;
    font-weight:600;
    margin-bottom:15px;
}

@media(max-width:992px){

    .form-grid.four{
        grid-template-columns:repeat(2,1fr);
    }

    .form-grid.three{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .form-grid.four,
    .form-grid.three,
    .form-grid.two{
        grid-template-columns:1fr;
    }

}


.button-area{
    grid-column: span 2;

    display:flex;
    justify-content:space-between;
    margin-top:10px;
}

.back-btn,
.continue-btn{
    padding:12px 30px;
    border:none;
    border-radius:8px;
    font-size:15px;
    cursor:pointer;
    font-weight:600;
}

.back-btn{
    background:#2563eb;
    color:#fff;
}

.continue-btn{
    background:#2563eb;
    color:#fff;
}

.continue-btn:hover{
    background:#1d4ed8;
}

/* =========================
   STEP 4 — FAMILY INFO
========================= */

.app-container{
    width:95%;
    max-width:1400px;
    margin:25px auto;
}

.section-title{
    width: 100%;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 12px 15px;

    background: #eaf2ff;
    border-left: 5px solid #0b57d0;

    font-size: 15px;
    font-weight: 600;
    color: #0b57d0;

    border-radius: 8px;
}

.form-grid.one{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-grid.two{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid.three{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-grid.four{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.input-group{
    display: flex;
    flex-direction: column;
}

.input-group label{
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.input-group input,
.input-group select{
    height: 45px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;

    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus{
    border-color: #0b57d0;
    box-shadow: 0 0 0 3px rgba(11,87,208,0.1);
}

.button-area{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.back-btn{
    padding: 13px 28px;
    border: none;
    border-radius: 10px;

    background: #d9d9d9;
    color: #333;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s;
}

.back-btn:hover{
    background: #c5c5c5;
}

.continue-btn{
    padding: 13px 30px;
    border: none;
    border-radius: 10px;

    background: #0b57d0;
    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s;
}

.continue-btn:hover{
    background: #0847ac;
}

/* RESPONSIVE */

@media(max-width:991px){

    .form-grid.four{
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid.three{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:600px){

    .form-grid.one,
    .form-grid.two,
    .form-grid.three,
    .form-grid.four{
        grid-template-columns: 1fr;
    }

    .button-area{
        flex-direction: column;
        gap: 15px;
    }

    .back-btn,
    .continue-btn{
        width: 100%;
    }

}

/* =========================
   STEP 5 PROGRAMS
========================= */

.program-box{
    width: 100%;
}

.program-row{
    display: flex;
    flex-direction: column;

    margin-bottom: 22px;
}

.program-row label{
    font-size: 14px;
    font-weight: 600;
    color: #444;

    margin-bottom: 8px;
}

.program-row select{
    height: 50px;

    border: 1px solid #dcdcdc;
    border-radius: 10px;

    padding: 0 15px;

    font-size: 14px;
    background: #fff;

    transition: 0.3s;
}

.program-row select:focus{
    outline: none;

    border-color: #0b57d0;

    box-shadow:
    0 0 0 3px rgba(11,87,208,0.10);
}

/* =========================
   STEP 6 PROGRAMS
========================= */

.section-title{
    width:100%;
    background:#eff6ff;
    color:#2563eb;
    padding:12px 15px;
    border-radius:8px;
    font-size:15px;
    font-weight:700;
    margin-bottom:20px;
    margin-top:10px;
}

.form-grid.one{
    grid-template-columns:1fr;
}


/* step7 *//* STEP 7 LAYOUT */

/* MAIN CARD */
.main-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* TITLES */
.step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.step-subtitle {
    font-size: 14px;
    color: gray;
    margin-bottom: 20px;
}

/* LEFT PANEL */
.calendar-container {
    width: 35%;
}

.calendar-header {
    background: #1f7a3f;
    color: white;
    padding: 10px;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
}

.calendar-box {
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
}

.month-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

/* CALENDAR GRID */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    background: #f3f5f8;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.calendar-day:hover {
    background: #e0e7ff;
}

.calendar-day .dot {
    width: 6px;
    height: 6px;
    background: red;
    border-radius: 50%;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
}

/* RIGHT PANEL */
.schedule-container {
    width: 65%;
}

.selected-date {
    background: #f3f5f8;
    padding: 15px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* SCHEDULE CONTENT */
#scheduleContent {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    min-height: 200px;
}

.empty-text {
    color: gray;
    text-align: center;
    margin-top: 50px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
    }

    .calendar-container,
    .schedule-container {
        width: 100%;
    }
}