:root {
    --hc-dark-navy: #040b1d;
    --hc-dark-navy-alt: #071437;
    --hc-dark-panel: #0d1f3f;
    --hc-dark-panel-alt: #152a4f;
    --hc-dark-border: #1f335f;
    --hc-dark-muted: #9fb4e0;
    --hc-dark-gold: #f5d67a;
    --hc-dark-gold-strong: #ffe8a3;
    --hc-dark-error: #f29f9f;
}

.theme-dark {
    color-scheme: dark;
}

.theme-dark body,
.theme-dark .sb-nav-fixed #layoutSidenav #layoutSidenav_content {
    background-color: var(--hc-dark-navy);
    color: var(--hc-dark-gold);
}

.theme-dark a {
    color: var(--hc-dark-gold-strong);
}

.theme-dark a:hover {
    color: #ffffff;
}

.theme-dark .navbar.navbar-dark,
.theme-dark .sb-topnav {
    background-color: #06112b !important;
    border-bottom: 1px solid var(--hc-dark-border);
}

.theme-dark .topbar-breadcrumb .breadcrumb-item,
.theme-dark .topbar-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.theme-dark #layoutSidenav_nav,
.theme-dark .sb-sidenav {
    background-color: #050e24;
    color: var(--hc-dark-gold);
}

.theme-dark .sb-sidenav .sb-sidenav-menu .nav-link {
    color: var(--hc-dark-gold);
}

.theme-dark .sb-sidenav .sb-sidenav-menu .nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .card,
.theme-dark .modal-content,
.theme-dark .list-group-item,
.theme-dark .dropdown-menu,
.theme-dark .table,
.theme-dark .alert {
    background-color: var(--hc-dark-panel);
    color: var(--hc-dark-gold);
    border-color: var(--hc-dark-border);
}

.theme-dark .card-header,
.theme-dark .table thead,
.theme-dark .dropdown-menu .dropdown-header {
    background-color: var(--hc-dark-panel-alt);
    border-color: var(--hc-dark-border);
    color: var(--hc-dark-gold-strong);
}

.theme-dark .card-header.bg-light,
.theme-dark .card-header.bg-white,
.theme-dark .card-header.bg-body {
    background-color: var(--hc-dark-panel-alt) !important;
    color: var(--hc-dark-gold-strong) !important;
}

.theme-dark .table,
.theme-dark .table th,
.theme-dark .table td {
    color: var(--hc-dark-gold);
}

.theme-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(18, 42, 85, 0.85);
    color: var(--hc-dark-gold);
}

.theme-dark .table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: rgba(11, 28, 56, 0.88);
    color: var(--hc-dark-gold);
}

.theme-dark .table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .table-light,
.theme-dark .table .table-light,
.theme-dark .table thead.table-light tr,
.theme-dark .table .bg-light {
    background-color: var(--hc-dark-panel-alt) !important;
    color: var(--hc-dark-gold);
}

.theme-dark .card.bg-light,
.theme-dark .card .bg-light,
.theme-dark .bg-light,
.theme-dark .bg-white {
    background-color: var(--hc-dark-panel) !important;
    color: var(--hc-dark-gold);
}

.theme-dark .form-control,
.theme-dark .form-select,
.theme-dark .input-group-text,
.theme-dark .form-control:focus,
.theme-dark .form-select:focus {
    background-color: #0b1c3a;
    color: var(--hc-dark-gold);
    border-color: var(--hc-dark-border);
}

.theme-dark .form-text,
.theme-dark .text-muted {
    color: var(--hc-dark-muted) !important;
}

.theme-dark .form-check-input {
    background-color: #12264a;
    border-color: var(--hc-dark-border);
}

.theme-dark .form-check-input:checked {
    background-color: var(--hc-dark-gold);
    border-color: var(--hc-dark-gold);
}

.theme-dark .btn-primary {
    background-color: #1d4d8f;
    border-color: #1d4d8f;
    color: #fff;
}

.theme-dark .btn-primary:hover {
    background-color: #2360b5;
    border-color: #2360b5;
}

.theme-dark .btn-outline-secondary {
    color: var(--hc-dark-gold);
    border-color: var(--hc-dark-border);
}

.theme-dark .btn-outline-secondary:hover {
    background-color: var(--hc-dark-panel-alt);
    color: #fff;
}

.theme-dark .alert-warning {
    background-color: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.45);
    color: var(--hc-dark-gold-strong);
}

.theme-dark .alert-info {
    background-color: rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.4);
    color: #bcd4ff;
}

.theme-dark .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.45);
    color: var(--hc-dark-error);
}

.theme-dark .modal-header,
.theme-dark .modal-footer {
    border-color: var(--hc-dark-border);
}

.theme-dark .dropdown-item,
.theme-dark .list-group-item {
    color: var(--hc-dark-gold);
}

.theme-dark .dropdown-item:hover,
.theme-dark .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .nav-tabs .nav-link {
    color: var(--hc-dark-gold);
    border-color: transparent;
}

.theme-dark .nav-tabs .nav-link.active {
    background-color: var(--hc-dark-panel-alt);
    border-color: var(--hc-dark-border);
    color: #ffffff;
}

.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--hc-dark-gold) !important;
}

.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--hc-dark-panel-alt);
    color: #fff !important;
    border-color: var(--hc-dark-border);
}

.theme-dark .dataTables_wrapper .dataTables_filter input,
.theme-dark .dataTables_wrapper .dataTables_length select {
    background-color: #0b1c3a;
    border-color: var(--hc-dark-border);
    color: var(--hc-dark-gold);
}
