@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary-neon: #00f0ff;
    --secondary-neon: #ff00ff;
    --bg-dark: #06070a;
    --sidebar-bg: rgba(13, 14, 21, 0.95);
    --card-bg: rgba(20, 22, 30, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --sidebar-width: 260px;
    --header-height: 70px;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 0, 255, 0.08) 0%, transparent 40%);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* Sidebar Moderna */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--card-border);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    padding-top: 20px;
}

.sidebar-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0 15px;
}

.menu-item {
    margin-bottom: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.menu-link i {
    width: 25px;
    font-size: 1.2rem;
    margin-right: 15px;
}

.menu-link:hover, .menu-link.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-neon);
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.05);
}

.menu-link.active {
    border-left: 4px solid var(--primary-neon);
}

/* Main Content Wrapper */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Header/Topbar */
.top-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: rgba(6, 7, 10, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 30px;
    border-radius: 15px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-neon);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: var(--primary-neon);
    transform: translateY(-5px);
}

/* Stats */
.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-neon);
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Neon Inputs */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: #fff !important;
    border-radius: 10px;
    padding: 12px 15px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .mobile-toggle {
        display: block;
    }
}

/* Neon Buttons */
.btn-neon-primary {
    background: linear-gradient(45deg, var(--primary-neon), #00d0ff);
    border: none;
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 25px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-neon-primary:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    transform: scale(1.02);
}

.btn-neon-outline {
    background: transparent;
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-neon-outline:hover {
    background: var(--primary-neon);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}
