*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background: rgb(131, 168, 228);
}


.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: #2f6fed;
    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 {
    flex: 1;
}

.selected-date {
    background: #eaf1ff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* SCHEDULE BOX */
.schedule-box {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.schedule-header input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #fafafa;
}

th, td {
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

tbody tr:hover {
    background: #f9fbff;
}

/* BUTTON */
button.action-btn {
    background: #2f6fed;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

button.action-btn:hover {
    background: #1f57c3;
}

.calendar-day {
    background: #f3f5f8;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
    
}

.calendar-day .dot {
    width: 6px;
    height: 6px;
    background: red;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.form-step{
    background:#f3f4f6;
    padding:55px;
    border-radius:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}   


.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;
}


.back-btn,
.continue-btn{
    padding:12px 30px;
    border:none;
    border-radius:8px;
    font-size:15px;
    cursor:pointer;
    font-weight:600;
}

.back-btn{
    background:#d9d9d9;
    color:#333;
}

.continue-btn{
    background:#2563eb;
    color:#fff;
}

.continue-btn:hover{
    background:#1d4ed8;
}

.calendar-day {
    cursor: default;
    opacity: 0.6;
}

.calendar-day.has-schedule {
    cursor: pointer;
    opacity: 1;
}

.calendar-day.active {
    background: #2f6fed;
    color: white;
}

/* NOTIFICATION */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
    animation: slideIn 0.3s ease;
}

.notification.success { background: #22c55e; }
.notification.error { background: #ef4444; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.modal-content {
    background: white;
    width: 350px;
    margin: 120px auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* LOADING */
.loading {
    opacity: 0.6;
    pointer-events: none;
}
.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%;
    }
}

/* step 8*/


/* CARD */
.step-card{
    background:#fff;
    border-radius:20px;
    padding:50px;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.confirmation-card{
    text-align:center;
}

.success-icon i{
    font-size:90px;
    color:#22c55e;
    margin-bottom:20px;
}

.confirmation-card h2{
    font-size:35px;
    margin-bottom:15px;
    color:#111827;
}

.message{
    color:#6b7280;
    margin-bottom:35px;
    font-size:17px;
}

/* REF BOX */
.reference-box{
    background:#eff6ff;
    border:2px dashed #2563eb;
    border-radius:18px;
    padding:25px;
    margin-bottom:35px;
}

.ref-label{
    color:#2563eb;
    margin-bottom:10px;
    font-weight:600;
}

.ref-number{
    font-size:32px;
    font-weight:700;
    color:#111827;
}

/* SUMMARY */
.summary-box{
    text-align:left;
    margin-top:20px;
}

.summary-title{
    font-size:22px;
    font-weight:600;
    margin-bottom:25px;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.summary-grid div{
    background:#f9fafb;
    padding:20px;
    border-radius:15px;
}

.summary-grid span{
    display:block;
    color:#6b7280;
    margin-bottom:10px;
    font-size:14px;
}

.summary-grid strong{
    color:#111827;
    font-size:16px;
}

.pending{
    color:#f59e0b;
}

/* BUTTONS */
.button-area{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:40px;
}

.home-btn{
    padding:14px 30px;
    border:none;
    border-radius:10px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}



.home-btn{
    background:#e5e7eb;
    color:#111827;
}

.home-btn:hover{
    background:#d1d5db;
}

/* MOBILE */
@media(max-width:768px){

    .summary-grid{
        grid-template-columns:1fr;
    }

    .button-area{
        flex-direction:column;
    }

    .confirmation-card h2{
        font-size:28px;
    }

}
