/* Shared styles — Enose dashboard */
:root {
    --bg-dark: #12151e;
    --card-dark: #191c24;
    --text-main: #ffffff;
    --text-muted: #6c7293;
    --accent-red: #fc424a;
    --accent-blue: #0090e7;
    --accent-green: #00d25b;
    --accent-orange: #ffab00;
    --accent-purple: #8f5fe8;
    --sidebar-width: 240px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    display: flex;
}

/* DESKTOP SIDEBAR */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--card-dark);
    height: 100vh;
    position: fixed;
    padding: 20px;
    box-sizing: border-box;
    border-right: 1px solid #2c2e33;
    z-index: 999;
}

.brand {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item {
    padding: 15px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 8px;
    transition: 0.3s;
    text-decoration: none;
    margin-bottom: 5px;
}

.nav-item:hover,
.nav-item.active {
    background-color: #0f1015;
    color: var(--accent-blue);
}

/* CONTENT AREA */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 30px;
    box-sizing: border-box;
    padding-bottom: 90px; /* extra space for mobile nav */
}

/* MOBILE NAV BAR (hidden on desktop) */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-dark);
    border-top: 1px solid #2c2e33;
    padding: 10px 0;
    z-index: 1000;
    justify-content: space-around;
}

.mobile-nav a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.mobile-nav a i {
    font-size: 20px;
    margin-bottom: 5px;
}

.mobile-nav a.active {
    color: var(--accent-blue);
}

/* MOBILE RESPONSIVE (shared) */
@media (max-width: 1024px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 15px;
        padding-bottom: 90px;
    }

    .mobile-nav {
        display: flex;
    }
}
