/* assets/css/style.css - OrionGSM Rock Theme */

:root {
    --bg-dark: #0f0c29;
    --bg-gradient: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    --accent-color: #8e2de2;
    --accent-gradient: linear-gradient(to right, #8e2de2, #4a00e0);
    --text-main: #e0e0e0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --sidebar-width: 260px;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0c29; }
::-webkit-scrollbar-thumb { background: #302b63; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8e2de2; }

/* Cards & Glassmorphism */
.card-custom, .login-card, .reg-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
    border-radius: 12px;
}

/* Forms */
.form-control, .form-select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
}
.form-control:focus, .form-select:focus {
    border-color: #8e2de2;
    box-shadow: 0 0 10px rgba(142, 45, 226, 0.3);
}

/* Buttons */
.btn-primary {
    background: var(--accent-gradient);
    border: none;
    font-weight: 600;
}
.btn-primary:hover {
    background: linear-gradient(to right, #7b27c4, #3e00be);
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.4);
}
.text-neon {
    color: #b76bf7;
    text-shadow: 0 0 5px rgba(183, 107, 247, 0.5);
}

/* Sidebar */
.sidebar {
    background: rgba(15, 12, 41, 0.95);
    border-right: var(--glass-border);
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.nav-link {
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Content Wrapper */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 20px;
    transition: margin-left 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        background: rgba(15, 12, 41, 0.9);
        border-bottom: var(--glass-border);
        position: sticky;
        top: 0;
        z-index: 99;
    }
}
@media (min-width: 769px) {
    .mobile-header { display: none; }
    .sidebar.show { transform: translateX(0); } /* Always show on desktop */
}

/* Table overrides */
.table-dark {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255,255,255,0.05);
}
