/* Complete CSS - Shared styles */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Inter',sans-serif; }
body { background:#0a0a1a; color:#e0e0e0; display:flex; min-height:100vh; }

/* Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0a0a1a, #12122a);
    border-right: 1px solid #1a1a3e;
    min-height: 100vh;
    padding: 25px 0;
    position: sticky;
    top: 0;
}
.sidebar-brand {
    padding: 0 25px 30px;
    font-size: 22px;
    font-weight: 700;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #1a1a3e;
    margin-bottom: 20px;
}
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
}
.sidebar nav a:hover, .sidebar nav a.active {
    color: #00ff88;
    background: rgba(0,255,136,0.05);
    border-right: 3px solid #00ff88;
}

/* Main */
.main { flex: 1; padding: 30px 40px; }
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.header h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.card {
    background: #12122a;
    border: 1px solid #1a1a3e;
    border-radius: 16px;
    padding: 25px;
}
.card h3 { color: #00ff88; font-size: 16px; margin-bottom: 15px; }

/* Forms */
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #1a1a3e;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #00ff88;
}
.form-group textarea { min-height: 100px; font-family: monospace; }
.form-group small { color: #666; font-size: 11px; margin-top: 4px; display: block; }

/* Buttons */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,255,136,0.2);
}
.btn-secondary {
    background: #1a1a3e;
    color: #fff;
}
.btn-secondary:hover { background: #2a2a5e; }
.btn-danger {
    background: #ff4757;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
}
.btn-danger:hover { background: #ff1a2e; }

/* Badge */
.badge {
    background: rgba(0,255,136,0.1);
    color: #00ff88;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* Utilities */
.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }
.text-muted { color: #666; }

/* Responsive */
@media (max-width: 768px) {
    .sidebar { width: 60px; padding: 15px 0; }
    .sidebar-brand span:not(:first-child) { display: none; }
    .sidebar-brand { padding: 0 15px 20px; justify-content: center; }
    .sidebar nav a span:not(:first-child) { display: none; }
    .sidebar nav a { padding: 14px 18px; justify-content: center; }
    .main { padding: 15px; }
    .header h1 { font-size: 20px; }
}