/**
 * 后台浅黄色主题
 */
:root {
    --admin-yellow-bg: #fffbeb;
    --admin-yellow-bg-soft: #fff9e6;
    --admin-yellow-card: #fffef5;
    --admin-yellow-border: #f0e0a8;
    --admin-yellow-border-light: #f5ebc8;
    --admin-yellow-accent: #d97706;
    --admin-yellow-accent-dark: #b45309;
    --admin-yellow-active: #fef3c7;
    --admin-yellow-hover: #fff7d6;
    --admin-yellow-text: #78350f;
    --admin-yellow-muted: #a16207;
}

body.admin-yellow-theme,
body.admin-yellow-theme .wrapper,
body.admin-yellow-theme .content-wrapper,
body.admin-yellow-theme .content,
body.admin-yellow-theme .main-footer {
    background-color: var(--admin-yellow-bg) !important;
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .main-header,
body.admin-yellow-theme .main-header .navbar,
body.admin-yellow-theme .navbar-white,
body.admin-yellow-theme .main-header .navbar.bg-warning,
body.admin-yellow-theme .main-header .navbar-nav .nav-link {
    background-color: var(--admin-yellow-bg-soft) !important;
    border-bottom: 1px solid var(--admin-yellow-border);
    box-shadow: none;
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .main-sidebar,
body.admin-yellow-theme .sidebar-light-primary,
body.admin-yellow-theme .sidebar-light-primary .brand-link {
    background-color: var(--admin-yellow-bg-soft) !important;
    border-right: 1px solid var(--admin-yellow-border);
}

body.admin-yellow-theme .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link {
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: var(--admin-yellow-active) !important;
    color: var(--admin-yellow-accent-dark) !important;
}

body.admin-yellow-theme .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: var(--admin-yellow-hover) !important;
}

body.admin-yellow-theme .card,
body.admin-yellow-theme .card-header,
body.admin-yellow-theme .box,
body.admin-yellow-theme .table-box,
body.admin-yellow-theme .dropdown-menu,
body.admin-yellow-theme .modal-content,
body.admin-yellow-theme .popover,
body.admin-yellow-theme .select2-dropdown {
    background-color: var(--admin-yellow-card) !important;
    border-color: var(--admin-yellow-border-light) !important;
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .card {
    box-shadow: 0 1px 4px rgba(180, 130, 20, 0.08);
}

body.admin-yellow-theme .card-header {
    border-bottom-color: var(--admin-yellow-border-light) !important;
}

body.admin-yellow-theme .table thead th,
body.admin-yellow-theme .grid-table thead th,
body.admin-yellow-theme .table-box .table thead th {
    background-color: #fef9e7 !important;
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .table td,
body.admin-yellow-theme .table th,
body.admin-yellow-theme .grid-table td,
body.admin-yellow-theme .grid-table th {
    border-color: var(--admin-yellow-border-light) !important;
}

body.admin-yellow-theme .table-striped tbody tr:nth-of-type(odd),
body.admin-yellow-theme .grid-table tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 251, 235, 0.65) !important;
}

body.admin-yellow-theme .form-control,
body.admin-yellow-theme .custom-select,
body.admin-yellow-theme .select2-container--default .select2-selection--single,
body.admin-yellow-theme .select2-container--default .select2-selection--multiple {
    background-color: #fffef8 !important;
    border-color: var(--admin-yellow-border) !important;
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .form-control:focus,
body.admin-yellow-theme .custom-select:focus {
    border-color: var(--admin-yellow-accent) !important;
    box-shadow: 0 0 0 0.15rem rgba(217, 119, 6, 0.15);
}

body.admin-yellow-theme .login-page.bg-40,
body.admin-yellow-theme .login-page {
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%) !important;
}

body.admin-yellow-theme .login-page .card,
body.admin-yellow-theme .login-page .login-card-body {
    background: var(--admin-yellow-card) !important;
    border: 1px solid var(--admin-yellow-border);
}

body.admin-yellow-theme .login-logo,
body.admin-yellow-theme .login-box-msg {
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .content-header {
    background: transparent;
}

body.admin-yellow-theme .content-header h1,
body.admin-yellow-theme .card-title {
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .breadcrumb {
    background: transparent;
}

body.admin-yellow-theme .nav-tabs {
    border-bottom-color: var(--admin-yellow-border-light);
}

body.admin-yellow-theme .nav-tabs .nav-link.active {
    background-color: var(--admin-yellow-card);
    border-color: var(--admin-yellow-border-light) var(--admin-yellow-border-light) var(--admin-yellow-card);
    color: var(--admin-yellow-accent-dark);
}

body.admin-yellow-theme .footer,
body.admin-yellow-theme .main-footer {
    background: var(--admin-yellow-bg-soft) !important;
    border-top: 1px solid var(--admin-yellow-border);
    color: var(--admin-yellow-muted);
}

body.admin-yellow-theme .main-sidebar .brand-text {
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .text-muted,
body.admin-yellow-theme .help-block {
    color: var(--admin-yellow-muted) !important;
}

body.admin-yellow-theme .btn-primary,
body.admin-yellow-theme .btn-primary:focus,
body.admin-yellow-theme .btn-primary:active {
    background-color: var(--admin-yellow-accent) !important;
    border-color: var(--admin-yellow-accent-dark) !important;
    color: #fff !important;
}

body.admin-yellow-theme .btn-primary:hover {
    background-color: var(--admin-yellow-accent-dark) !important;
    border-color: #92400e !important;
}

body.admin-yellow-theme .btn-light,
body.admin-yellow-theme .btn-default {
    background-color: #fff7d6 !important;
    border-color: var(--admin-yellow-border) !important;
    color: var(--admin-yellow-text) !important;
}

body.admin-yellow-theme .btn-light:hover {
    background-color: var(--admin-yellow-active) !important;
}

body.admin-yellow-theme a {
    color: var(--admin-yellow-accent);
}

body.admin-yellow-theme a:hover {
    color: var(--admin-yellow-accent-dark);
}

body.admin-yellow-theme .pagination .page-item.active .page-link {
    background-color: var(--admin-yellow-accent) !important;
    border-color: var(--admin-yellow-accent-dark) !important;
}

body.admin-yellow-theme .pagination .page-link {
    background-color: #fffef8;
    border-color: var(--admin-yellow-border-light);
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .dropdown-item:hover,
body.admin-yellow-theme .dropdown-item:focus {
    background-color: var(--admin-yellow-hover) !important;
    color: var(--admin-yellow-text);
}

body.admin-yellow-theme .alert-item,
body.admin-yellow-theme .dropdown-menu-media {
    background: var(--admin-yellow-card) !important;
}

body.admin-yellow-theme .box-header,
body.admin-yellow-theme .filter-box,
body.admin-yellow-theme .grid-filter {
    background: var(--admin-yellow-card) !important;
}

body.admin-yellow-theme .vs-checkbox--input:checked + .vs-checkbox .vs-checkbox--check {
    background: var(--admin-yellow-accent) !important;
}

body.admin-yellow-theme .nav-pills .nav-link.active,
body.admin-yellow-theme .nav-pills .show > .nav-link {
    background-color: var(--admin-yellow-accent) !important;
}

body.admin-yellow-theme .badge-primary,
body.admin-yellow-theme .label-primary {
    background-color: var(--admin-yellow-accent) !important;
}

body.admin-yellow-theme .text-primary {
    color: var(--admin-yellow-accent) !important;
}

body.admin-yellow-theme .bg-primary {
    background-color: var(--admin-yellow-accent) !important;
}

body.admin-yellow-theme .switchery-small {
    background-color: #fde68a !important;
}

body.admin-yellow-theme .layui-layer,
body.admin-yellow-theme .swal2-popup {
    background: var(--admin-yellow-card) !important;
}

body.admin-yellow-theme .has-many-table .table-has-many,
body.admin-yellow-theme .has-many-table-tiers .table-has-many {
    background: var(--admin-yellow-card) !important;
    border-color: var(--admin-yellow-border-light) !important;
}

body.admin-yellow-theme .has-many-table .table-has-many thead th,
body.admin-yellow-theme .has-many-table-tiers .table-has-many thead th {
    background: linear-gradient(180deg, #fef9e7 0%, #fde68a 100%) !important;
    color: var(--admin-yellow-text) !important;
    border-bottom-color: var(--admin-yellow-border) !important;
}

body.admin-yellow-theme .has-many-table .table-has-many tbody td,
body.admin-yellow-theme .has-many-table-tiers .table-has-many tbody td {
    background: #fffef8 !important;
    border-top-color: var(--admin-yellow-border-light) !important;
}

body.admin-yellow-theme .has-many-table .table-has-many tbody tr:hover td,
body.admin-yellow-theme .has-many-table-tiers .table-has-many tbody tr:hover td {
    background: var(--admin-yellow-hover) !important;
}
