/* Admin One Bulma-inspired design - Enhanced */

/* Font and base colors */
html, body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #f4f6fb;
    color: #222b45;
    font-size: 16px;
    letter-spacing: 0.01em;
}

/* Navbar */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e9f2;
    box-shadow: 0 2px 8px rgba(30,34,40,0.04);
}
.navbar .navbar-item,
.navbar .navbar-link {
    font-weight: 600;
    color: #222b45;
    transition: background 0.15s, color 0.15s;
}
.navbar .navbar-item.is-active,
.navbar .navbar-item:focus,
.navbar .navbar-item:hover {
    background: #282c33;
    color: #fff;
}

aside {
    margin-top: 80px;
    z-index: 40;
    height: 100vh;
    box-shadow: none;
    background: #2e323a;
}

/* Sidebar menu (second-level) */
.sidebar-menu {
    min-width: 260px;
    max-width: 320px;
    background: #3e424a;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: 0.5rem;
    padding: 2rem 0.5rem;
    border: none;
}

#sidebar-menu .menu-list a {
    padding: 0.75rem 1.5rem;
    color: #727c8f;
    background-color: #2e323a;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 0.25rem;
    display: block;
    border-radius: 0 !important;
}
#sidebar-menu .menu-list a.is-active,
#sidebar-menu .menu-list a:hover {
    background: #282c33;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

/* Main container and content */
#main-container {
    margin-top: 80px;
    background: #f4f6fb;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.main-content {
    padding: 2.5rem 2rem 2rem 2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30,34,40,0.04), 0 1.5px 4px rgba(30,34,40,0.04);
}

.md-main {
    padding: 20px;
}

/* Section titles and headers */
.md-section h1, .md-section h2, .md-section h3 {
    font-weight: 700;
    color: #222b45;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.md-section p {
    color: #4b5563;
    font-size: 1.08rem;
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid #e5e9f2;
    color: #7b8191;
    font-size: 0.95rem;
    margin-top: 2rem;
    box-shadow: 0 -2px 8px rgba(30,34,40,0.04);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    background: #e5e9f2;
}
::-webkit-scrollbar-thumb {
    background: #c3c8d6;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .sidebar-menu {
        min-width: 180px;
        max-width: 220px;
        padding: 1.25rem 0.25rem;
    }
    .main-content {
        padding: 1.25rem 0.5rem 1rem 0.5rem;
    }
}
@media (max-width: 768px) {
    .sidebar-menu {
        display: none;
    }
    .main-content {
        margin-left: 0;

    }
}