:root {
    --aes-red: #b32025;
    --aes-red-dark: #7f1418;
    --aes-ink: #121722;
    --aes-ink-soft: #1f2937;
    --aes-gold: #d8b46a;
    --aes-canvas: #f6f2ee;
    --aes-card: #ffffff;
    --aes-border: #eadfd5;
    --aes-text: #2a2f39;
    --aes-muted: #6b7280;
    --primary: #b32025;
    --purple: #b32025;
}

body,
.app-admin-wrap,
.main-content-wrap {
    background: var(--aes-canvas);
    color: var(--aes-text);
}

.main-header {
    background: linear-gradient(135deg, var(--aes-ink) 0%, var(--aes-red-dark) 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(18, 23, 34, 0.18) !important;
}

.main-header .header-icon,
.main-header .menu-toggle div,
.main-header .text-muted,
.main-header .i-Full-Screen {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
}

.main-header .menu-toggle div {
    background-color: #fff !important;
}

.main-header .user img,
.main-header #userDropdown {
    border-color: var(--aes-gold) !important;
}

.sidebar-left,
.sidebar-left-secondary {
    background: linear-gradient(180deg, var(--aes-ink) 0%, #1a2331 100%) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.navigation-left .nav-item .nav-item-hold,
.childNav li.nav-item a {
    color: rgba(255, 255, 255, 0.88) !important;
}

.navigation-left .nav-item.active .nav-item-hold,
.navigation-left .nav-item:hover .nav-item-hold,
.childNav li.nav-item a:hover {
    background: linear-gradient(90deg, rgba(179, 32, 37, 0.18), rgba(216, 180, 106, 0.12)) !important;
    color: #fff !important;
}

.navigation-left .nav-item.active .triangle {
    border-color: transparent transparent transparent var(--aes-gold) !important;
}

.card,
.card-body,
.dropdown-menu,
.table,
.modal-content {
    border-radius: 18px !important;
}

.card,
.modal-content {
    border: 1px solid var(--aes-border) !important;
    box-shadow: 0 14px 35px rgba(18, 23, 34, 0.08) !important;
}

.card-header,
.page-title,
.section-title {
    color: var(--aes-ink);
}

.btn-primary,
.badge-primary,
.bg-primary,
.btn-outline-primary:hover,
.page-item.active .page-link {
    background-color: var(--aes-red) !important;
    border-color: var(--aes-red) !important;
    color: #fff !important;
}

.btn-outline-primary,
.text-primary,
.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
    color: var(--aes-red) !important;
    border-color: var(--aes-red) !important;
}

.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
    background-color: rgba(179, 32, 37, 0.08) !important;
}

.badge-outline-primary,
.btn-outline-primary {
    color: var(--aes-red) !important;
    border-color: var(--aes-red) !important;
}

.form-control:focus,
.custom-select:focus,
.select2-container--default .select2-selection--single:focus {
    border-color: rgba(179, 32, 37, 0.45) !important;
    box-shadow: 0 0 0 0.2rem rgba(179, 32, 37, 0.12) !important;
}

.table thead th {
    color: var(--aes-ink);
}

.swal2-styled.swal2-confirm {
    background-color: var(--aes-red) !important;
}

.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background: rgba(179, 32, 37, 0.08) !important;
    color: var(--aes-ink) !important;
}

.text-muted {
    color: var(--aes-muted) !important;
}
