/* assets/css/nitro-theme.css */

:root {
    --primary: #c90d05; /* Nitro Red */
    --primary-hover: #a00a04;
    --dark-bg: #1e1e2f;
    --card-bg: #27293d;
    --text-color: #ffffff;
    --gray: #9a9a9a;
}

body {
    background-color: #1a1e27 !important;
    color: #e9ecef;
}

/* --- Typo & Links --- */
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }

/* --- Navigation --- */
.sidebar {
    background: #0f1219 !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.sidebar .nav li.active > a, 
.sidebar .nav li > a:hover {
    color: #fff !important;
    background: rgba(201, 13, 5, 0.15) !important; 
    border-radius: 4px;
}

.sidebar .nav li.active > a i, 
.sidebar .nav li > a:hover i {
    color: var(--primary) !important;
}

/* --- Tabs (Override Black Dashboard Purple) --- */
.nav-tabs .nav-item .nav-link {
    color: #9a9a9a;
}
.nav-tabs .nav-item .nav-link:hover {
    color: #fff;
}
.nav-tabs .nav-item .nav-link.active {
    background-color: transparent !important;
    border: 1px solid var(--primary) !important;
    border-bottom: none !important;
    color: var(--primary) !important;
    font-weight: 600;
}

.card-header-tabs {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: -1px; /* Fuse with card body */
}

/* --- Cards --- */
.card {
    background: #27293d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}
.card-body.bg-darker {
    background-color: #1e1e2f !important; /* Contrast for tab content */
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary) !important;
    background-image: linear-gradient(to bottom right, var(--primary), #800000) !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* --- Forms --- */
.form-control {
    background-color: #1d212a !important;
    border: 1px solid #2b3553 !important;
    color: #fff !important;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(201, 13, 5, 0.2) !important;
}

/* Select2 Overrides */
.select2-container--bootstrap4 .select2-selection {
    background-color: #1d212a !important;
    border: 1px solid #2b3553 !important;
    color: #fff !important;
}
.select2-container--bootstrap4 .select2-selection__rendered {
    color: #fff !important;
}
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary) !important; 
}

/* --- Badges --- */
.badge-default { border: 1px solid #fff; color: #fff; }
.badge-primary { background-color: var(--primary); }
