:root {
    --primary-orange: #c57725;
    --secondary-gray: #b1b1b1;
    --accent-orange: #e58e27;
    --dark-gray: #6e6e6e;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(20, 20, 20, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-darker);
    color: #fff;
    line-height: 1.6;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Main Layout */
.main-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-right: 2px solid rgba(197, 119, 37, 0.2);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-logo {
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(197, 119, 37, 0.2);
    margin-bottom: 20px;
}

.sidebar-logo h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.sidebar-logo p {
    font-size: 0.75rem;
    color: var(--secondary-gray);
    margin: 5px 0 0;
    letter-spacing: 2px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--secondary-gray);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(197, 119, 37, 0.1);
    color: var(--accent-orange);
    border-left-color: var(--accent-orange);
}

.sidebar-menu a i {
    width: 25px;
    margin-right: 15px;
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
}

/* Topbar */
.topbar {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(197, 119, 37, 0.2);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.topbar-left h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--accent-orange);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: rgba(197, 119, 37, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(197, 119, 37, 0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-details h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
}

.user-details p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--secondary-gray);
}

/* Content Area */
.content-area {
    padding: 30px;
}

/* Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(197, 119, 37, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(197, 119, 37, 0.1);
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(197, 119, 37, 0.5);
    box-shadow: 0 0 40px rgba(197, 119, 37, 0.2);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(197, 119, 37, 0.2);
}

.card-title {
    font-size: 1.3rem;
    margin: 0;
    color: var(--accent-orange);
}

.card-body {
    color: var(--secondary-gray);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(197, 119, 37, 0.1) 0%, rgba(229, 142, 39, 0.05) 100%);
    border: 2px solid rgba(197, 119, 37, 0.3);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 119, 37, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 10px 0;
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--secondary-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 119, 37, 0.4);
}

.btn-secondary {
    background: rgba(177, 177, 177, 0.2);
    color: var(--secondary-gray);
    border: 1px solid rgba(177, 177, 177, 0.3);
}

.btn-secondary:hover {
    background: rgba(177, 177, 177, 0.3);
    color: #fff;
}

.btn-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.3);
}

.btn-success {
    background: rgba(40, 167, 69, 0.2);
    color: #51cf66;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: rgba(40, 167, 69, 0.3);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(197, 119, 37, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 0 15px rgba(197, 119, 37, 0.2);
}

.form-control::placeholder {
    color: rgba(177, 177, 177, 0.5);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: rgba(197, 119, 37, 0.1);
}

table th {
    padding: 15px;
    text-align: left;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(197, 119, 37, 0.3);
}

table td {
    padding: 15px;
    color: var(--secondary-gray);
    border-bottom: 1px solid rgba(197, 119, 37, 0.1);
}

table tbody tr {
    transition: all 0.3s;
}

table tbody tr:hover {
    background: rgba(197, 119, 37, 0.05);
}

/* Badges */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: #51cf66;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd43b;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.badge-info {
    background: rgba(23, 162, 184, 0.2);
    color: #3bc9db;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .content-area {
        padding: 15px;
    }

    .card {
        padding: 20px;
    }

    .topbar {
        padding: 15px;
    }

    .user-info {
        padding: 8px 15px;
    }
}

/* Select2 Custom Styling */
.select2-container--bootstrap-5 .select2-selection {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(197, 119, 37, 0.3);
    border-radius: 8px;
    min-height: 45px;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    padding: 5px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(197, 119, 37, 0.2);
}

.select2-container--bootstrap-5 .select2-selection__choice {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 3px;
}

.select2-container--bootstrap-5 .select2-selection__choice__remove {
    color: #fff;
    margin-right: 5px;
    font-weight: bold;
}

.select2-container--bootstrap-5 .select2-selection__choice__remove:hover {
    color: #ff6b6b;
}

.select2-container--bootstrap-5 .select2-search__field {
    background: transparent;
    color: #fff;
    border: none;
}

.select2-container--bootstrap-5 .select2-search__field::placeholder {
    color: rgba(177, 177, 177, 0.5);
}

.select2-dropdown {
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(197, 119, 37, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.select2-container--bootstrap-5 .select2-results__option {
    color: var(--secondary-gray);
    padding: 10px 15px;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background: rgba(197, 119, 37, 0.2);
    color: var(--accent-orange);
}

.select2-container--bootstrap-5 .select2-results__option--selected {
    background: rgba(197, 119, 37, 0.3);
    color: #fff;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    color: #fff;
    padding-left: 5px;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: rgba(177, 177, 177, 0.5);
}

.select2-container--bootstrap-5 .select2-selection__arrow {
    height: 43px;
}

.select2-container--bootstrap-5 .select2-selection__clear {
    color: var(--accent-orange);
    margin-right: 10px;
}

.select2-search--dropdown .select2-search__field {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(197, 119, 37, 0.3);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(197, 119, 37, 0.2);
}