:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --success: #4cc9f0;
    --danger: #f72585;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; 
    background: #f0f2f5; 
}

.sidebar { 
    width: 250px; 
    background: white; 
    position: fixed; 
    height: 100vh; 
    overflow-y: auto; 
    box-shadow: 2px 0 10px rgba(0,0,0,0.1); 
    padding-bottom: 20px; 
}

.main-content { 
    margin-left: 250px; 
    padding: 20px; 
}

.logo { 
    padding: 30px 20px; 
    text-align: center; 
    border-bottom: 1px solid #eee; 
}

.logo h1 { 
    color: var(--primary); 
    font-size: 1.5rem; 
}

.nav-menu { 
    padding: 20px 0; 
}

.nav-item { 
    padding: 15px 25px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
    color: #555; 
    transition: all 0.3s; 
    border-left: 4px solid transparent; 
}

.nav-item:hover { 
    background: #f8f9fa; 
    color: var(--primary); 
}

.nav-item.active { 
    background: #f0f7ff; 
    color: var(--primary); 
    border-left-color: var(--primary); 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 30px; 
}

.stat-card { 
    background: white; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

.modules-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 25px; 
}

.module-card { 
    background: white; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    transition: transform 0.3s; 
}

.module-card:hover { 
    transform: translateY(-5px); 
}

.module-header { 
    background: var(--primary); 
    color: white; 
    padding: 20px; 
}

.module-body { 
    padding: 25px; 
}

.module-footer { 
    padding: 15px 25px; 
    background: #f8f9fa; 
    border-top: 1px solid #eee; 
}

.btn { 
    display: inline-block; 
    padding: 10px 20px; 
    background: var(--primary); 
    color: white; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.status-indicator { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    display: inline-block; 
    margin-right: 8px; 
}

.status-online { 
    background: #38b000; 
}

.status-offline { 
    background: #e63946; 
}

.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
}

.server-info { 
    background: white; 
    padding: 15px; 
    border-radius: 10px; 
    display: flex; 
    gap: 20px; 
}

.info-item { 
    text-align: center; 
}

.info-label { 
    font-size: 0.9rem; 
    color: #666; 
}

.info-value { 
    font-size: 1.2rem; 
    font-weight: bold; 
    color: #333; 
}

.module-icon { 
    font-size: 2rem; 
    margin-bottom: 10px; 
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.notification {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@media (max-width: 768px) {
    .sidebar { 
        display: none; 
    }
    .main-content { 
        margin-left: 0; 
    }
}
