*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header{
        position:fixed;              /* Sticky header */
    top:0;
    width:100%;
    background:rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    z-index:9999;
    transition:0.3s ease;
}

.header-container{
    display:flex;
    align-items:center;
    padding:15px 40px;
}

.logo img{
    height:50px;
}

.main-nav{
    display:flex;
    gap:30px;
margin-left:30px;
      margin-top:20px;   /* 👈 moves left menus slightly down */   /* 👈 moves menu right after logo */
}

.menu-item{
    color:white;
    text-decoration:none;
    font-weight:500;
}
.auth-links{
  display:flex;
    gap:40px;
    margin-left:auto;
    align-items:center;
    position:relative;
    top:6px;   /* increase this */

}

/* DROPDOWN */
.dropdown{
    position:relative;
}

.dropdown-menu{
   position:absolute;
    top:100%;
    right:0;
    left:auto;
    margin-top:5px;
    background:white;
    display:none;
    flex-direction:column;
    border-radius:8px;
    box-shadow:0 8px 20px rgba(0,0,0,0.18);
    padding:5px 0;

    min-width:auto;        /* 🔥 remove fixed width */
    width:max-content; 
}

.right-dropdown .dropdown-menu{
    right:0;
    left:auto;
}

.dropdown-menu a{
    padding:8px 14px;
    text-decoration:none;
white-space:nowrap;
border-bottom:1px solid #eee;
    color:#333;
font-size:14px;
    line-height:1.3; 
}
/* Remove line from last item */
.dropdown-menu a:last-child{
    border-bottom:none;
}
.dropdown-menu a:hover{
    background:#f2f2f2;
}

.dropdown.active .dropdown-menu{
    display:flex;
}

/* SLIDER */
/* SLIDER */
.slider{
    position:relative;
    overflow:hidden;
}

.slide{
    display:none;
    position:relative;
}

.slide.active{
    display:block;
}

.slide img{
    width:100%;
    height:600px;
    object-fit:cover;
}

/* SLIDE CONTENT OVERLAY */
.slide-content{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    color:white;
    max-width:500px;
    z-index:5;
}

.slide-content h2{
    font-size:40px;
    margin-bottom:15px;
}

.slide-content p{
    font-size:18px;
    margin-bottom:20px;
}

.slide-content a{
    display:inline-block;
    padding:12px 25px;
    background:#ffcc00;
    color:black;
    font-weight:bold;
    border-radius:6px;
    text-decoration:none;
}


.slide-content a:hover{
    background:#ffaa00;
}

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

.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:30px;
    background:rgba(0,0,0,0.5);
    color:white;
    padding:10px 15px;
    border-radius:50%;
    cursor:pointer;
    z-index:10;   /* important */
}

.left{ left:20px; }
.right{ right:20px; }


.dots{
    position:absolute;
    bottom:20px;
    width:100%;
    text-align:center;
    z-index:10;  /* important */
}

.dot{
    height:12px;
    width:12px;
    margin:0 5px;
    background:white;
    border-radius:50%;
    display:inline-block;
    opacity:0.5;
    cursor:pointer;
}

.dot.active{
    background:#ffcc00;
    opacity:1;
}


/* WHY */
.why-us{
    padding:80px 20px;
    text-align:center;
    background:#f5f7fa;
}

.subtitle{
    margin-bottom:40px;
    color:#555;
}

.why-grid{
       display:flex;
    flex-wrap:wrap;
    justify-content:center;   /* centers last row */
    gap:25px;
    max-width:1200px;
    margin:auto;
}

.why-card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

/* ADMISSION */
.admission{
    padding:80px 20px;
    background:#eef2f7;
}

.admission-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:60px;
    flex-wrap:wrap;
}

.admission-form{
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 20px 50px rgba(0,0,0,0.08);
    width:100%;
    max-width:450px;
}

.admission-form input,
.admission-form select{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border-radius:8px;
    border:1px solid #ddd;
}

.admission-form button{
    width:100%;
    padding:14px;
    background:#ffcc00;
    border:none;
    border-radius:8px;
    font-weight:bold;
}

/* FOOTER */
footer{
    background:#123a63;
    color:white;
    text-align:center;
    padding:20px;
}

/* WHATSAPP */
.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:110px;
    width:60px;
    height:60px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.whatsapp-float img{
    width:32px;
}
.slide.active img{
    animation: zoomEffect 6s ease-in-out forwards;
}

@keyframes zoomEffect{
    from{ transform:scale(1); }
    to{ transform:scale(1.08); }
}
/* COUNTER SECTION */
.counter-section{
    padding:80px 20px;
    background:#123a63;
    color:white;
}

.counter-container{
    display:flex;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
    text-align:center;
}

.counter-box h2{
    font-size:40px;
    margin-bottom:10px;
    color:#ffcc00;
}
.cta-section{
    padding:60px 20px;
    text-align:center;
    background:#ffcc00;
}

.cta-section h2{
    margin-bottom:20px;
}

.cta-section a{
    display:inline-block;
    padding:12px 30px;
    background:#123a63;
    color:white;
    text-decoration:none;
    border-radius:6px;
}
/* ================= COURSES SECTION ================= */

.courses{
    padding:80px 20px;
    background:#ffffff;
    text-align:center;
}

.courses h2{
    font-size:32px;
    margin-bottom:50px;
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.course-card{
    background:#f8f9fb;
    padding:30px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
    transition:0.3s ease;
}

.course-card h3{
    margin-bottom:15px;
    color:#123a63;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
}
/* COURSES */
.courses{
    padding:80px 20px;
    background:#ffffff;
    text-align:center;
}

.courses h2{
    font-size:32px;
    margin-bottom:50px;
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.course-card{
    background:#f8f9fb;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

.course-icon{
    font-size:40px;
    margin-bottom:15px;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}
/* TESTIMONIALS */
.testimonials{
    padding:80px 20px;
    background:#123a63;
    color:white;
    text-align:center;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    max-width:1100px;
    margin:50px auto 0;
}

.testimonial-card{
    background:rgba(255,255,255,0.1);
    padding:30px;
    border-radius:15px;
}
/* CTA */
.cta{
    padding:60px 20px;
    text-align:center;
    background:#ffcc00;
}

.cta h2{
    margin-bottom:20px;
}

.cta a{
    display:inline-block;
    padding:12px 30px;
    background:#123a63;
    color:white;
    text-decoration:none;
    border-radius:8px;
}
/* GALLERY */
.gallery{
    padding:80px 20px;
    text-align:center;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
    max-width:1100px;
    margin:40px auto;
}

.gallery-grid img{
    width:100%;
    border-radius:12px;
}
/* FAQ */
.faq{
    padding:80px 20px;
    background:#f5f7fa;
    text-align:center;
}

.faq-item{
    max-width:700px;
    margin:20px auto;
}


/* LOGIN CARD */
/* ================= LOGIN PAGE ================= */

.login-page{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:url("images/image1.png") no-repeat center center/cover;
    position:relative;
}

.login-page::before{
    content:"";
    position:absolute;
pointer-events:none;
    inset:0;
    background:rgba(255,255,255,0.15); /* lighter overlay */
}



.login-page .login-box{
    position:relative;
    width:420px;
    background:rgba(255,255,255,0.95);
    padding:50px 40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
    z-index:1;
}

.login-page .login-box img{
    width:150px;
    margin-bottom:15px;
}

.login-page .login-box h2{
    letter-spacing:3px;
    margin-bottom:35px;
    color:#2f4f7f;
}

.login-page .input-box{
    position:relative;
    margin-bottom:20px;
}

.login-page .input-box input{
    width:100%;
    padding:14px 15px 14px 45px;
    border-radius:8px;
    border:1px solid #d9d9d9;
    outline:none;
    font-size:15px;
}

.login-page .input-box i{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#5a7fb8;
}

.login-page .remember{
    text-align:left;
    margin:15px 0 25px;
    font-size:14px;
}

.login-page .login-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:linear-gradient(to right,#4a84d6,#2e63b6);
    color:white;
    font-size:16px;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.login-page .links{
    margin-top:25px;
    display:flex;
    justify-content:space-between;
    font-size:14px;
}

.login-page .links a{
    text-decoration:none;
    color:#2f4f7f;
}

.input-box i{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#5a7fb8;
}

/* REMEMBER */
.remember{
    text-align:left;
    margin:15px 0 25px;
    font-size:14px;
}

/* BUTTON */
.login-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:linear-gradient(to right,#4a84d6,#2e63b6);
    color:white;
    font-size:16px;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.login-page .login-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 30px rgba(46,99,182,0.35);
}


/* LINKS */
.links{
    margin-top:25px;
    display:flex;
    justify-content:space-between;
    font-size:14px;
}

.links a{
    text-decoration:none;
    color:#2f4f7f;
}
.login-page .input-box input:focus{
    border-color:#4a84d6;
    box-shadow:0 0 8px rgba(74,132,214,0.3);
}
.login-page .login-box{
    animation:fadeIn 0.6s ease;
}

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

.dashboard-page{
    display:flex;
    height:100vh;
    font-family: Arial, sans-serif;
}

/* SIDEBAR */
.sidebar{
    width:250px;
    background:#123a63;
    color:white;
    padding:30px 20px;
}

.sidebar h2{
    margin-bottom:30px;
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    padding:15px 10px;
    cursor:pointer;
    border-radius:6px;
}

.sidebar ul li:hover{
    background:rgba(255,255,255,0.1);
}
.sidebar ul li.active{
    background:#2e63b6;
    color:white;
}

/* MAIN CONTENT */
.main-content{
    flex:1;
    padding:40px;
    background:#f5f7fa;
}

.dashboard-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:30px;
}

.card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}
table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    background:white;
}

th, td{
    padding:12px;
    border-bottom:1px solid #ddd;
    text-align:left;
}

th{
    background:#123a63;
    color:white;
}

.add-btn{
    padding:10px 15px;
    background:#4a84d6;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    margin-top:15px;
}
.add-btn{
    padding:10px 20px;
    background:#2e63b6;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    margin-bottom:20px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:10px;
    overflow:hidden;
}

table th, table td{
    padding:12px;
    text-align:left;
    border-bottom:1px solid #eee;
}

table th{
    background:#f4f6fa;
    color:#123a63;   /* Add this line */
    font-weight:600;
}

table button{
    padding:6px 12px;
    border:none;
    background:red;
    color:white;
    border-radius:4px;
    cursor:pointer;
}
/* Attendance Buttons */
.present-btn{
    padding:8px 15px;
    background:green;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    margin-left:10px;
}

.absent-btn{
    padding:8px 15px;
    background:red;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    margin-left:5px;
}

.present-btn:hover,
.absent-btn:hover{
    opacity:0.8;
}
.dashboard-page{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:250px;
    background:#123a63;
    color:white;
    padding:20px;
}

.sidebar ul{
    list-style:none;
    padding:0;
}

.sidebar ul li{
    padding:12px;
    cursor:pointer;
}

.sidebar ul li:hover{
    background:#2e63b6;
}

.sidebar ul li.active{
    background:#2e63b6;
}

.main-content{
    flex:1;
    padding:40px;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th, table td{
    border:1px solid #ddd;
    padding:10px;
    text-align:center;
}

.add-btn{
    padding:10px 20px;
    background:#2e63b6;
    color:white;
    border:none;
    cursor:pointer;
}
.attendance-controls{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.attendance-controls select{
    padding:10px;
    border-radius:6px;
    border:1px solid #ccc;
    min-width:200px;
}

.present-btn{
    background:#28a745;
    color:white;
    border:none;
    padding:10px 20px;
    cursor:pointer;
    border-radius:6px;
}

.absent-btn{
    background:#dc3545;
    color:white;
    border:none;
    padding:10px 20px;
    cursor:pointer;
    border-radius:6px;
}

.present-btn:hover{
    background:#218838;
}

.absent-btn:hover{
    background:#c82333;
}
.delete-btn{
    background:#dc3545;
    color:white;
    border:none;
    padding:6px 12px;
    border-radius:5px;
    cursor:pointer;
}

.delete-btn:hover{
    background:#b02a37;
}

table select{
    padding:5px;
    border-radius:5px;
}
.filter-section{
    margin-top:20px;
    margin-bottom:20px;
}

.filter-section input{
    padding:8px;
    margin-right:10px;
}

.filter-btn{
    padding:8px 15px;
    background:#2e63b6;
    color:white;
    border:none;
    cursor:pointer;
}

.showall-btn{
    padding:8px 15px;
    background:#555;
    color:white;
    border:none;
    cursor:pointer;
}
.student-filter-section{
    margin-top:25px;
    padding:20px;
    background:#eef2f7;
    border-radius:8px;
}
.attendance-controls select{
    padding:8px;
    margin-right:10px;
}

.present-btn{
    background:#28a745;
    color:white;
    padding:8px 15px;
    border:none;
}

.absent-btn{
    background:#dc3545;
    color:white;
    padding:8px 15px;
    border:none;
}

.filter-section{
    background:#eef2f7;
    padding:15px;
    border-radius:6px;
}
/* ================= ATTENDANCE PAGE UI UPGRADE ================= */

.attendance-controls,
.filter-section{
    background:#ffffff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
    margin-bottom:20px;
}

.attendance-controls select,
.filter-section select,
.filter-section input{
    padding:10px 12px;
    border-radius:6px;
    border:1px solid #dcdcdc;
    margin-right:10px;
    font-size:14px;
}

.present-btn{
    background:#28a745;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.present-btn:hover{
    background:#218838;
}

.absent-btn{
    background:#dc3545;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.absent-btn:hover{
    background:#c82333;
}

/* Filter Buttons */
.filter-section button{
    background:#2e63b6;
    color:white;
    border:none;
    padding:8px 15px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.filter-section button:hover{
    background:#1f4e91;
}

/* Table Styling */
#attendanceTable{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

#attendanceTable th{
    background:#123a63;
    color:white;
    padding:15px;
    font-weight:500;
}

#attendanceTable td{
    padding:12px;
    border-bottom:1px solid #f1f1f1;
}

#attendanceTable tr:hover{
    background:#f8f9fb;
}

/* Action Buttons */
#attendanceTable button{
    padding:6px 12px;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-size:13px;
    margin:2px;
    transition:0.2s;
}

#attendanceTable button:first-child{
    background:#ffc107;
    color:black;
}

#attendanceTable button:first-child:hover{
    background:#e0a800;
}

#attendanceTable button:last-child{
    background:#dc3545;
    color:white;
}

#attendanceTable button:last-child:hover{
    background:#c82333;
}

/* Summary Styling */
#todaySummary,
#monthlySummary{
    background:#f1f6ff;
    padding:15px;
    border-radius:8px;
    font-weight:500;
    color:#123a63;
    margin-bottom:10px;
}

/* Headings */
.main-content h1{
    margin-bottom:25px;
    color:#123a63;
}
.badge{font-weight:600;}
.present-badge{color:#28a745;}
.absent-badge{color:#dc3545;}

.present-row{background:#f2fff5;}
.absent-row{background:#fff5f5;}

.progress{
    width:100%;
    background:#eaeaea;
    border-radius:20px;
    overflow:hidden;
    margin-top:8px;
}
.progress-bar{
    background:#2e63b6;
    color:white;
    text-align:center;
    padding:5px 0;
}

.export-section button{
    padding:8px 15px;
    background:#123a63;
    color:white;
    border:none;
    border-radius:6px;
    margin-right:10px;
    cursor:pointer;
}
.export-section button:hover{background:#0e2c4a;}

.dark-mode{
    background:#121212;
    color:white;
}
.dark-mode .main-content{background:#1e1e1e;}
.dark-mode table{background:#222;color:white;}
.dark-mode th{background:#333;}
.class-block{
background:#4CAF50;
color:white;
padding:6px;
border-radius:6px;
font-size:12px;
text-align:center;
}

.class-block.math{
background:#2196F3;
}

.class-block.social{
background:#FF9800;
}

.class-block.science{
background:#9C27B0;
}
/* FIXED SIDEBAR */

.sidebar{
position:fixed;
left:0;
top:0;
width:220px;
height:100vh;
background:#173b63;
color:white;
padding:20px 10px;
}

.main-content{
margin-left:220px;
padding:30px;
}
.sidebar{
position:fixed;
left:0;
top:0;
height:100vh;
width:220px;
background:#173b63;
}

.main-content{
margin-left:220px;
padding:30px;
}
.active-menu{
background:#1f4e85;
border-radius:6px;
}
/* STUDENT POPUP */

.popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
justify-content:center;
align-items:center;
}

.popup-content{
background:white;
padding:25px;
border-radius:8px;
width:300px;
display:flex;
flex-direction:column;
gap:10px;
}

.popup-content input{
padding:8px;
border:1px solid #ccc;
border-radius:4px;
}

.popup-buttons{
display:flex;
justify-content:space-between;
margin-top:10px;
}

.popup-buttons button{
padding:8px 15px;
border:none;
background:#2d5fa8;
color:white;
border-radius:5px;
cursor:pointer;
}
#studentTable {
width:100%;
border-collapse:collapse;
}

#studentTable th,
#studentTable td{
border:1px solid #ddd;
padding:10px;
text-align:center;
}

#studentTable th{
background:#f5f5f5;
}
/* Toolbar Layout */

.student-toolbar{
display:flex;
align-items:center;
gap:12px;
margin:15px 0;
}

/* Inputs */

.student-toolbar input,
.student-toolbar select{
padding:7px 10px;
border:1px solid #ccc;
border-radius:5px;
}

/* Table Container */

.table-wrapper{
background:white;
border-radius:8px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
padding:10px;
}

/* Table */

#studentTable{
width:100%;
border-collapse:collapse;
}

#studentTable th{
background:#f5f7fb;
padding:10px;
text-align:center;
font-weight:600;
}

#studentTable td{
padding:10px;
text-align:center;
border-top:1px solid #eee;
}

/* Buttons */

#studentTable button{
padding:5px 10px;
border-radius:4px;
border:none;
cursor:pointer;
}

#studentTable button:first-child{
background:#007bff;
color:white;
}

#studentTable button:last-child{
background:#e53935;
color:white;
}

/* Page spacing */

.main-content{
padding:20px 30px;
}
/* PAGE TITLE */

.page-title{
font-size:28px;
font-weight:600;
margin-bottom:30px;
color:#2c3e50;
}


/* CENTER CONTAINER */

.assign-container{
display:flex;
justify-content:center;
margin-top:40px;
}


/* BOX CARD */

.assign-box{
background:white;
padding:40px;
border-radius:10px;
box-shadow:0 4px 15px rgba(0,0,0,0.1);
width:420px;
}


/* LABEL */

.label{
font-size:15px;
font-weight:600;
margin-top:15px;
display:block;
color:#34495e;
}


/* DROPDOWN */

.dropdown{
width:100%;
padding:10px;
margin-top:8px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}


/* STUDENT LIST */

.students-list{
margin-top:15px;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
max-height:200px;
overflow-y:auto;
background:#fafafa;
}


/* CHECKBOX ITEMS */

.students-list label{
display:flex;
align-items:center;
gap:8px;
padding:6px 0;
font-size:14px;
}


/* BUTTON */

.assign-btn{
margin-top:20px;
width:100%;
padding:12px;
background:#2c3e50;
color:white;
border:none;
border-radius:6px;
font-size:15px;
cursor:pointer;
transition:0.2s;
}

.assign-btn:hover{
background:#1a252f;
}
.class-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
gap:20px;
margin-top:30px;
}

.class-card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
text-align:center;
}

.class-card h3{
margin-bottom:15px;
color:#2c3e50;
}

.class-card button{
padding:10px 18px;
border:none;
background:#2c3e50;
color:white;
border-radius:6px;
cursor:pointer;
}

.class-card button:hover{
background:#1a252f;
}
.sidebar {
position: fixed;
left: 0;
top: 0;
width: 220px;
height: 100vh;
background: #1e3a5f;
color: white;
padding: 15px;

display: flex;
flex-direction: column;
overflow-y: auto;   /* ✅ scroll fix */
}

.sidebar h2{
margin-bottom:25px;
font-size:22px;
color:white;
font-weight:bold;
}

.sidebar ul{
list-style:none;
padding:0;
margin:0;
}

.sidebar li{
padding:12px;
cursor:pointer;
border-radius:6px;
}

.sidebar li:hover{
background:#1f4e85;
}

.active-menu{
background:#1f4e85;
}

.logo{
font-size:20px;
font-weight:bold;
margin-bottom:30px;
}

.teacher-profile{
margin-bottom:20px;
font-weight:bold;
}

.menu{
list-style:none;
padding:0;
}

.menu li{
margin:10px 0;
}

.menu a{
text-decoration:none;
color:white;
display:block;
padding:8px;
border-radius:5px;
}

.menu a:hover{
background:#2f4e79;
}
.teacher-name{
font-size:14px;
margin-top:5px;
margin-bottom:25px;
color:#cfd8e3;
}
.next-class-box{
background:#ffffff;
padding:20px;
border-radius:10px;
width:300px;
margin-bottom:30px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.next-class-box h3{
margin-bottom:10px;
}
.live-class-box{
background:#ffffff;
padding:20px;
border-radius:10px;
width:300px;
margin-bottom:20px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}
.tag-container{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:15px;
}

.tag{
padding:6px 12px;
border-radius:20px;
background:#eee;
cursor:pointer;
}

.tag.active{
background:#123a63;
color:white;
}
.tag-container{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:15px;
}

.tag{
padding:6px 12px;
border-radius:20px;
background:#eee;
cursor:pointer;
}

.tag.active{
background:#123a63;
color:white;
}
.main-content select,
.main-content input {
    margin: 5px;
    padding: 6px;
    min-width: 120px;
}

button {
    padding: 6px 12px;
}
.sidebar {
    width: 220px;
    height: 100vh;
    position: fixed;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* LOGO */
.logo {
    padding: 20px;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* MENU */
.menu {
    list-style: none;
    padding: 10px 0;
}

.menu-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

/* ICON */
.menu-item i {
    width: 20px;
}

/* HOVER EFFECT */
.menu-item:hover {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid #38bdf8;
}

/* ACTIVE (optional later) */
.menu-item.active {
    background: rgba(255,255,255,0.15);
    border-left: 4px solid #38bdf8;
}

/* LOGOUT */
.logout {
    padding: 15px 20px;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout:hover {
    background: rgba(255,0,0,0.2);
}
.sidebar {
position: fixed;
left: 0;
top: 0;
width: 220px;
height: 100%;
background: #1e3a5f;
color: white;
padding: 15px;

/* 🔥 FIX */
display: block;   /* ❌ remove flex */
}

.sidebar h2 {
margin-bottom: 15px;
}

.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}

.sidebar li {
padding: 10px;
cursor: pointer;
border-radius: 6px;
margin-bottom: 5px;
}

.sidebar li:hover {
background: #2c5282;
}

.student-card{
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.student-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.student-name{
    font-size: 18px;
    font-weight: bold;
    color: #123a63;
}

.section{
    margin-top: 10px;
}

.section-title{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #555;
}

.option-group{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option{
    padding: 6px 12px;
    border-radius: 20px;
    background: #eee;
    cursor: pointer;
    font-size: 13px;
}

.option input{
    display: none;
}

.option.active{
    background: #123a63;
    color: white;
}