:root {
    --primary-cyan: #00bcd4; /* CyanBukkit Brand Color */
    --bg-color: #FAFAFA;
    --sidebar-width: 250px;
    --header-height: 60px;
}

body {
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    margin: 0;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #fff;
    border-right: 1px solid #eee;
    z-index: 1020;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-cyan);
    text-decoration: none;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    font-size: 1rem;
}

.nav-link:hover {
    background-color: rgba(0, 188, 212, 0.05);
    color: var(--primary-cyan);
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Mobile Header (Fixed) */
.mobile-header {
    display: none; /* Hidden on Desktop */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1010;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.footer h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer a {
    color: #666;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: calc(var(--header-height) + 20px);
    }
    
    /* Overlay when sidebar is active */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1015;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}
