/* ========================================================
   LION CHEATS ADMIN PANEL - PREMIUM DARK THEME
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(22, 30, 45, 0.7);
    --bg-sidebar: #111827;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(239, 68, 68, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
}

/* ================= SIDEBAR ================= */
.sidebar {
    background: var(--bg-sidebar);
    height: 100vh;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar .logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.sidebar .logo h2 {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar a i {
    width: 20px;
    text-align: center;
}

.sidebar a:hover, .sidebar a.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), transparent);
    color: var(--text-main);
    border-left: 3px solid var(--primary);
}

/* ================= MAIN CONTENT ================= */
.main-content {
    margin-left: 260px;
    padding: 30px;
    transition: all 0.3s ease;
}

.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.top-navbar h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

/* ================= PREMIUM CARDS ================= */
.card-box {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.card-box:hover {
    transform: translateY(-5px);
}

.card-box h4, .card-box h5 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.stat-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= FORM ELEMENTS ================= */
.form-control, .form-select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3) !important;
    border-color: var(--primary) !important;
}

.form-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* ================= BUTTONS ================= */
.btn-premium {
    background: linear-gradient(45deg, var(--primary), #8b5cf6);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-premium:hover {
    background: linear-gradient(45deg, var(--primary-hover), #7c3aed);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-danger-premium {
    background: linear-gradient(45deg, var(--danger), #b91c1c);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger-premium:hover {
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    color: white;
}

.btn-success-premium {
    background: linear-gradient(45deg, var(--success), #047857);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
}

/* ================= TABLES ================= */
.table {
    color: var(--text-main) !important;
}

.table thead th {
    background: rgba(0,0,0,0.4) !important;
    color: var(--text-muted) !important;
    border-bottom: 2px solid var(--border-color) !important;
    font-weight: 500;
}

.table tbody tr {
    border-bottom: 1px solid var(--border-color) !important;
    transition: background 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* ================= BADGES ================= */
.badge-active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.badge-banned {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ================= SWITCH TOGGLE ================= */
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    background-color: rgba(255,255,255,0.1);
    border-color: var(--border-color);
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -260px;
    }
    .sidebar.active {
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
}