:root {
    --bg-color: #f9f9f9;
    --text-color: #000;
    --link-color: #007bff;
    --button-bg: #28a745;
    --button-text: white;
    --sidebar-bg: #333;
    --sidebar-link: white;
    --sidebar-hover: #575757;
}

.dark-mode {
    --bg-color: #1e1e1e;
    --text-color: #f1f1f1;
    --link-color: #66b2ff;
    --button-bg: #4caf50;
    --button-text: white;
    --sidebar-bg: #222;
    --sidebar-link: #ddd;
    --sidebar-hover: #444;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--link-color);
}

button {
    padding: 6px 12px;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[disabled] {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.glow-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px var(--link-color)); }
    to { filter: drop-shadow(0 0 20px var(--link-color)); }
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    display: inline-block;
}

.enabled { background-color: #28a745; }
.disabled { background-color: #dc3545; }

.message {
    margin: 20px auto;
    padding: 10px;
    width: 60%;
    border-radius: 5px;
    text-align: center;
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

body.login-page {
    background: linear-gradient(135deg, var(--bg-color), #d0d0d0);
}

.dark-mode body {
    background-color: #121212;
    color: #f1f1f1;
}

/* Sidebar + Burger Fancy */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: var(--sidebar-bg);
    padding-top: 20px;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.sidebar a {
    display: block;
    color: var(--sidebar-link);
    padding: 12px 20px;
    transition: background-color 0.2s, padding-left 0.2s;
}

.sidebar a:hover {
    background-color: var(--sidebar-hover);
    padding-left: 30px;
}

.burger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--sidebar-link);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.burger.active {
    transform: rotate(90deg);
}

.content {
    margin-left: 200px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    .sidebar {
        transform: translateX(-200px);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .content {
        margin-left: 0;
    }
}
