.navbar-nav .nav-link {
    padding: 0.25rem 0.75rem;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.logout-btn:hover {
    opacity: 0.85;
}
a:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}


#mobileMenu {
    width: 80vw;
}

#mobileMenu .nav-link {
    font-size: 1.4rem;
    padding: 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

#adminLinksMobile .nav-link {
    font-size: 1.2rem;
    padding: .75rem 1.5rem;
}

#mobileMenu .navbar-nav {
    gap: 1rem;
}

/* Sticky header for tables */
.table thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #181a1b !important;
    color: #f8f9fa !important;
}

body.dark-mode .bg-white,
body.dark-mode .table,
body.dark-mode .table thead th {
    background-color: #23272b !important;
    color: #f8f9fa !important;
}

body.dark-mode .bg-dark {
    background-color: #181a1b !important;
}

body.dark-mode .navbar,
body.dark-mode .offcanvas,
body.dark-mode .dropdown-menu {
    background-color: #23272b !important;
    color: #f8f9fa !important;
}

body.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #23272b !important;
}

body.dark-mode .table-hover > tbody > tr:hover {
    background-color: #343a40 !important;
}

body.dark-mode #mobileMenu {
    width: 80vw;
}
