

.student-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    display: none;
}

.student-toggle .toggle_style {
    display: block;
    height: 3px;
    background: #1e3a8a;
    margin: 5px 0;
    transition: 0.3s;
}

/* Sidebar */
.student-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: #1e3a8a;
    padding-top: 60px;
    transition: transform 0.3s ease;
    z-index: 1000;
}
.admin_h5 {
  color: #f0f0f0;
  text-align: center;
  margin: 18px 0;
  font-weight: 600;
  letter-spacing: 1px;
}
.student-sidebar hr {
  border: none;
  border-top: 1px solid #3b5998;
  margin: 0 12px 8px;
}
.student-sidebar #student_ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*.student-sidebar #student_anchor {
    display: block;
    padding: 14px 20px;
    color: #f0f0f0;
    text-decoration: none;
}

.student-sidebar #student_anchor:hover {
    background: #2546a8;
    color: #f0f0f0;
}*/
#student_anchor {
    all: unset;              /* 💣 removes ALL native button styles */
    display: block;
    /*width: 100%;*/
    padding: 14px 20px;
    color: #f0f0f0;
    cursor: pointer;
}

#student_anchor:hover {
    background: #2546a8;
    color: #f0f0f0;
}

/* optional but recommended for accessibility */
#student_anchor:focus-visible {
    outline: 2px solid #f0f0f0;
}

/* Submenu */
.submenu {
    display: none;
    background: #1e3a8a;
}

.submenu #student_anchor {
    padding-left: 40px;
    font-size: 14px;
}

.has-submenu.open .submenu {
    display: block;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 900;
}

.overlay.active {
    display: block;
}


@media (max-width: 768px) {
    .student-toggle {
        display: block;
    }

    .student-sidebar {
        transform: translateX(-100%);
    }

    .student-sidebar.active {
        transform: translateX(0);
    }
}

@media (min-width: 769px) {
    .overlay {
        display: none !important;
    }
}
