:root {
    --wt-sidebar-width: 280px;
    --wt-navy: #071126;
    --wt-navy-2: #0d1930;
    --wt-blue: #0787f8;
    --wt-blue-dark: #0474dc;
    --wt-bg: #eef3f8;
    --wt-panel: #ffffff;
    --wt-border: #dbe5ef;
    --wt-text: #071126;
    --wt-muted: #72819c;
    --wt-green: #009b63;
    --wt-amber: #f6a600;
    --wt-red: #e32929;
    --wt-shadow: 0 16px 40px rgba(8, 19, 43, 0.08);
}

body.wt-theme-light {
    --wt-bg: #eef3f8;
    --wt-panel: #ffffff;
    --wt-border: #dbe5ef;
    --wt-text: #071126;
    --wt-muted: #72819c;
    --wt-input-bg: #f9fbfd;
    --wt-input-text: #071126;
    --wt-header-bg: #ffffff;
    --wt-sidebar-bg: #ffffff;
    --wt-sidebar-border: #dbe5ef;
    --wt-sidebar-brand: #071126;
    --wt-sidebar-text: #40506d;
    --wt-sidebar-muted: #7b8aa5;
    --wt-sidebar-hover-bg: #eef7ff;
    --wt-sidebar-hover-text: #0474dc;
    --wt-sidebar-pill-bg: #eaf4ff;
    --wt-sidebar-pill-text: #0474dc;
    --wt-sidebar-card-bg: #f7fbff;
    --wt-sidebar-card-border: #dbeafe;
    --wt-sidebar-scroll: rgba(64, 80, 109, 0.32);
    --wt-shadow: 0 16px 40px rgba(8, 19, 43, 0.08);
}

body.wt-theme-dark {
    --wt-bg: #07101f;
    --wt-panel: #101d31;
    --wt-border: #263754;
    --wt-text: #f6f9ff;
    --wt-muted: #a9b7d0;
    --wt-input-bg: #12223a;
    --wt-input-text: #f6f9ff;
    --wt-header-bg: #101d31;
    --wt-sidebar-bg: #071126;
    --wt-sidebar-border: rgba(255, 255, 255, 0.08);
    --wt-sidebar-brand: #ffffff;
    --wt-sidebar-text: #a9b9d4;
    --wt-sidebar-muted: #7888a8;
    --wt-sidebar-hover-bg: rgba(255, 255, 255, 0.07);
    --wt-sidebar-hover-text: #ffffff;
    --wt-sidebar-pill-bg: rgba(7, 135, 248, 0.14);
    --wt-sidebar-pill-text: #16b8ff;
    --wt-sidebar-card-bg: rgba(255, 255, 255, 0.06);
    --wt-sidebar-card-border: rgba(255, 255, 255, 0.1);
    --wt-sidebar-scroll: rgba(255, 255, 255, 0.38);
    --wt-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

body {
    background: var(--wt-bg);
    color: var(--wt-text);
    font-family: "Poppins", "Source Sans Pro", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.sidebar-mini,
.wrapper {
    background: var(--wt-bg);
}

.preloader {
    display: none !important;
}

.main-sidebar {
    background: var(--wt-sidebar-bg) !important;
    border-right: 1px solid var(--wt-sidebar-border);
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    height: 100vh !important;
    overflow: hidden;
    width: var(--wt-sidebar-width) !important;
}

body.sidebar-collapse .main-sidebar,
body.sidebar-collapse.sidebar-mini .main-sidebar,
body.sidebar-mini.sidebar-collapse .main-sidebar {
    margin-left: 0 !important;
    width: var(--wt-sidebar-width) !important;
}

.content-wrapper,
.main-header,
.main-footer {
    margin-left: var(--wt-sidebar-width) !important;
}

body.sidebar-collapse .content-wrapper,
body.sidebar-collapse .main-header,
body.sidebar-collapse .main-footer {
    margin-left: var(--wt-sidebar-width) !important;
}

body.sidebar-collapse .main-sidebar .brand-text,
body.sidebar-collapse .main-sidebar .nav-sidebar .nav-link p,
body.sidebar-collapse .main-sidebar .wt-panel-pill,
body.sidebar-collapse .main-sidebar .wt-sidebar-label,
body.sidebar-collapse .main-sidebar .wt-nav-badge,
body.sidebar-collapse .main-sidebar .wt-sidebar-footer {
    display: flex !important;
    margin-left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
}

body.sidebar-collapse .main-sidebar .brand-text {
    display: inline-block !important;
}

body.sidebar-collapse .main-sidebar .nav-sidebar .nav-link {
    justify-content: flex-start !important;
    width: 100% !important;
}

.brand-link {
    align-items: center;
    border-bottom: 1px solid var(--wt-sidebar-border) !important;
    display: flex;
    flex-shrink: 0;
    min-height: 68px;
    overflow: hidden;
    padding: 16px 16px 12px;
}

.brand-link .brand-image {
    float: none;
    max-height: 34px;
    max-width: 58px;
    object-fit: contain;
    width: auto;
    margin: 0 8px 0 0;
    opacity: 1 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.brand-link .brand-text {
    color: var(--wt-sidebar-brand);
    font-weight: 700 !important;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-panel-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 14px 16px 6px;
    padding: 7px 10px;
    color: var(--wt-sidebar-pill-text);
    background: var(--wt-sidebar-pill-bg);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.wt-sidebar-label {
    color: var(--wt-sidebar-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin: 18px 18px 8px;
    text-transform: uppercase;
}

.sidebar {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 10px 8px;
    scrollbar-color: var(--wt-sidebar-scroll) transparent;
    scrollbar-width: thin;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--wt-sidebar-scroll);
    border-radius: 999px;
}

.sidebar .nav-sidebar > .nav-item {
    margin-bottom: 4px;
}

.sidebar .nav-link {
    align-items: center;
    border-radius: 12px !important;
    color: var(--wt-sidebar-text) !important;
    display: flex;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px !important;
    transition: 0.18s ease;
}

.sidebar .nav-link p {
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    min-width: 0;
}

.sidebar .nav-link:hover {
    background: var(--wt-sidebar-hover-bg) !important;
    color: var(--wt-sidebar-hover-text) !important;
}

.sidebar .nav-link.active {
    background: var(--wt-blue) !important;
    box-shadow: 0 12px 24px rgba(7, 135, 248, 0.24);
    color: #fff !important;
}

.sidebar .nav-icon {
    color: inherit !important;
    font-size: 14px;
    margin-right: 1px !important;
    text-align: center;
    width: 22px !important;
}

.sidebar .nav-treeview {
    margin: 4px 0 8px 14px;
}

.sidebar .nav-treeview .nav-link {
    min-height: 32px;
    padding: 6px 10px !important;
}

.sidebar .nav-treeview .nav-link p {
    font-size: 13px;
}

.wt-nav-badge {
    background: #ffad08;
    border-radius: 999px;
    color: #071126;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    margin-left: auto;
    padding: 3px 7px;
}

.wt-sidebar-footer {
    flex: 0 0 auto;
    margin: 8px 10px 12px;
    min-width: 0;
    position: static;
}

.wt-public-link,
.wt-user-card {
    align-items: center;
    background: var(--wt-sidebar-card-bg);
    border: 1px solid var(--wt-sidebar-card-border);
    border-radius: 12px;
    color: var(--wt-sidebar-brand);
    display: flex;
    gap: 10px;
    margin-top: 10px;
    min-width: 0;
    padding: 10px;
}

.wt-user-card > div {
    min-width: 0;
}

.wt-public-link:hover {
    color: var(--wt-sidebar-hover-text);
    text-decoration: none;
}

.wt-user-avatar {
    border-radius: 50%;
    height: 38px;
    object-fit: cover;
    width: 38px;
}

.wt-user-name {
    color: var(--wt-sidebar-brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-user-email {
    color: var(--wt-sidebar-muted);
    font-size: 11px;
    line-height: 1.2;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-header {
    background: var(--wt-header-bg) !important;
    border-bottom: 1px solid var(--wt-border) !important;
    min-height: 64px;
    padding: 0 26px;
}

.wt-topbar {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 64px;
    width: 100%;
}

.wt-breadcrumb {
    color: #8796b2;
    font-size: 14px;
    font-weight: 500;
}

.wt-breadcrumb strong {
    color: var(--wt-text);
    font-weight: 600;
}

.wt-top-actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.wt-top-btn {
    align-items: center;
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 10px;
    color: var(--wt-text);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
}

.wt-top-btn:hover {
    color: var(--wt-blue);
    text-decoration: none;
}

.wt-top-btn.warning {
    background: #fff4d6;
    border-color: #ffdc7b;
    color: #9a5c00;
}

.wt-top-btn.danger {
    background: #fff5f5;
    border-color: #ffd2d2;
    color: #d61212;
}

.wt-top-icon-btn {
    align-items: center;
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 10px;
    color: var(--wt-muted);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    transition: 0.18s ease;
    width: 38px;
}

.wt-top-icon-btn:hover,
.wt-top-icon-btn:focus {
    background: var(--wt-sidebar-hover-bg);
    border-color: #b9dcff;
    color: var(--wt-blue);
    outline: 0;
}

.wt-theme-toggle i {
    transition: transform 0.22s ease;
}

.wt-theme-toggle:hover i {
    transform: rotate(-18deg) scale(1.05);
}

.wt-settings-trigger i {
    transition: transform 0.35s ease;
}

.wt-settings-trigger:hover i,
.wt-switcher-open .wt-settings-trigger i {
    transform: rotate(90deg);
}

.wt-switcher-overlay {
    background: rgba(7, 17, 38, 0.48);
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: 0.2s ease;
    z-index: 3040;
}

.wt-switcher-panel {
    background: var(--wt-panel);
    border-left: 1px solid var(--wt-border);
    bottom: 0;
    box-shadow: -18px 0 42px rgba(8, 19, 43, 0.16);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    width: 420px;
    z-index: 3050;
}

.wt-switcher-open .wt-switcher-overlay {
    opacity: 1;
    pointer-events: auto;
}

.wt-switcher-open .wt-switcher-panel {
    transform: translateX(0);
}

.wt-switcher-head {
    align-items: center;
    border-bottom: 1px solid var(--wt-border);
    display: flex;
    justify-content: space-between;
    padding: 22px 22px 18px;
}

.wt-switcher-head span {
    color: var(--wt-blue);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.wt-switcher-head h3 {
    color: var(--wt-text);
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.wt-switcher-close {
    align-items: center;
    background: var(--wt-input-bg);
    border: 1px solid var(--wt-border);
    border-radius: 50%;
    color: var(--wt-muted);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    transition: 0.18s ease;
    width: 34px;
}

.wt-switcher-close:hover {
    background: #fff5f5;
    border-color: #ffcaca;
    color: var(--wt-red);
}

.wt-switcher-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 22px 24px;
    scrollbar-color: #a9b8ca #eef4fb;
    scrollbar-width: thin;
}

.wt-switcher-body::-webkit-scrollbar {
    width: 7px;
}

.wt-switcher-body::-webkit-scrollbar-thumb {
    background: #a9b8ca;
    border-radius: 999px;
}

.wt-switcher-section {
    border-bottom: 1px solid var(--wt-border);
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.wt-switcher-section-title {
    align-items: center;
    color: var(--wt-text);
    display: flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 12px;
}

.wt-switcher-section-title i {
    color: var(--wt-blue);
    width: 16px;
}

.wt-view-switch {
    background: var(--wt-input-bg);
    border: 1px solid var(--wt-border);
    border-radius: 14px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 5px;
}

.wt-view-switch button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--wt-muted);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    min-height: 38px;
    transition: 0.18s ease;
}

.wt-view-switch button.active {
    background: var(--wt-panel);
    box-shadow: 0 8px 20px rgba(8, 19, 43, 0.08);
    color: var(--wt-blue);
}

.wt-switcher-hint {
    color: var(--wt-muted);
    font-size: 12px;
    margin: 10px 0 0;
}

.wt-switcher-form {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0 !important;
}

.wt-switcher-form .form-group {
    margin-bottom: 12px;
}

.wt-switcher-form textarea.form-control {
    min-height: 92px;
}

.wt-switcher-save {
    min-height: 44px;
    width: 100%;
}

.content-wrapper {
    background: var(--wt-bg) !important;
}

.content-header {
    padding: 18px 34px 6px;
}

.content-header .container-fluid,
.content > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.content-header .row {
    margin-left: 0;
    margin-right: 0;
}

.content-header [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.content-header .row {
    margin-bottom: 0 !important;
}

.content-header h1 {
    color: var(--wt-text);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.content-header .breadcrumb {
    display: none;
}

.content {
    padding: 0 34px 34px;
}

.content h4.font-weight-bold.mb-1 {
    font-size: 20px;
    line-height: 1.25;
}

.container-fluid {
    max-width: 1680px;
}

.alert {
    border: 1px solid var(--wt-border);
    border-radius: 14px;
    box-shadow: var(--wt-shadow);
}

.card,
.wt-card,
.table-responsive,
form:not(.d-inline-flex):not(.wt-inline-form):not(#logout-form) {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 18px;
    box-shadow: var(--wt-shadow);
}

form:not(.d-inline-flex):not(.wt-inline-form):not(#logout-form) {
    padding: 22px;
}

.card {
    overflow: hidden;
}

.card:has(.note-editor),
form:has(.note-editor) {
    overflow: visible;
}

.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: var(--wt-input-bg);
    border: 1px solid var(--wt-border) !important;
    border-radius: 12px !important;
    color: var(--wt-input-text);
    min-height: 46px;
}

select.form-control:not([size]):not([multiple]) {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8b98aa 50%), linear-gradient(135deg, #8b98aa 50%, transparent 50%);
    background-position: calc(100% - 22px) 20px, calc(100% - 16px) 20px;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    height: 46px;
    line-height: 46px;
    padding: 0 42px 0 16px;
}

.select2-container--default .select2-selection--single {
    align-items: center;
    display: flex;
    height: 46px !important;
    padding: 0 42px 0 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--wt-text);
    font-size: 15px;
    line-height: 46px !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
    top: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #8b98aa transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #8b98aa transparent !important;
    border-width: 0 5px 6px 5px !important;
}

.select2-container--default .select2-selection--multiple {
    align-items: center;
    display: flex;
    min-height: 46px !important;
    padding: 4px 10px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 !important;
}

.select2-container--open {
    z-index: 2050;
}

.select2-dropdown {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border) !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 16px 36px rgba(15, 42, 77, 0.14);
    overflow: hidden;
}

.select2-container--default .select2-search--dropdown {
    padding: 6px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--wt-input-bg);
    border: 1px solid #118cf0 !important;
    border-radius: 0 !important;
    color: var(--wt-input-text);
    font-size: 14px;
    height: 34px;
    outline: 0;
    padding: 6px 10px;
}

.select2-results__options {
    font-size: 15px;
}

.select2-container--default .select2-results__option {
    color: var(--wt-text);
    padding: 11px 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background: #5b95f2 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
    background: var(--wt-input-bg);
    color: var(--wt-text);
}

.note-editor.note-frame,
.note-editor .note-toolbar,
.note-editor .note-btn-group {
    overflow: visible !important;
}

.note-editor.note-frame {
    border: 1px solid var(--wt-border) !important;
    border-radius: 14px;
}

.note-editor .note-toolbar {
    background: var(--wt-input-bg);
    border-bottom: 1px solid var(--wt-border);
    border-radius: 14px 14px 0 0;
    padding: 8px 8px 6px;
}

.note-editor .note-toolbar .note-btn {
    align-items: center;
    background: var(--wt-panel);
    border-color: #cfe0f2;
    border-radius: 10px;
    color: var(--wt-text);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 34px;
}

.note-editor .note-toolbar .note-btn:hover,
.note-editor .note-toolbar .note-btn:focus,
.note-editor .note-toolbar .note-btn.active {
    background: #e8f2ff;
    border-color: #b9dcff;
    color: var(--wt-text);
}

.note-editor .note-toolbar .note-dropdown-menu,
.note-editor .note-toolbar .dropdown-menu {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(15, 42, 77, 0.16);
    max-height: min(320px, 52vh);
    min-width: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 6px 0;
    scroll-behavior: smooth;
    scrollbar-color: #9fb4cc #eef4fb;
    scrollbar-width: thin;
    z-index: 3000;
}

.note-editor .note-toolbar .note-dropdown-menu::-webkit-scrollbar,
.note-editor .note-toolbar .dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.note-editor .note-toolbar .note-dropdown-menu::-webkit-scrollbar-track,
.note-editor .note-toolbar .dropdown-menu::-webkit-scrollbar-track {
    background: #eef4fb;
    border-radius: 999px;
}

.note-editor .note-toolbar .note-dropdown-menu::-webkit-scrollbar-thumb,
.note-editor .note-toolbar .dropdown-menu::-webkit-scrollbar-thumb {
    background: #9fb4cc;
    border-radius: 999px;
}

.note-editor .note-toolbar .note-dropdown-menu a,
.note-editor .note-toolbar .dropdown-menu a,
.note-editor .note-toolbar .dropdown-style a {
    color: var(--wt-text);
    display: block;
    line-height: 1.45;
    padding: 9px 14px;
    white-space: nowrap;
}

.note-editor .note-toolbar .note-dropdown-menu a:hover,
.note-editor .note-toolbar .dropdown-menu a:hover,
.note-editor .note-toolbar .dropdown-style a:hover {
    background: var(--wt-sidebar-hover-bg);
    color: var(--wt-text);
    text-decoration: none;
}

.note-editor .note-toolbar .note-fontname .dropdown-menu,
.note-editor .note-toolbar .note-style .dropdown-menu,
.note-editor .note-toolbar .note-style .dropdown-style {
    max-height: min(300px, 50vh);
    overflow-y: auto;
}

.note-editor .note-toolbar .note-style .dropdown-style h1,
.note-editor .note-toolbar .note-style .dropdown-style h2,
.note-editor .note-toolbar .note-style .dropdown-style h3 {
    line-height: 1.15;
}

.note-editor .note-editing-area .note-editable {
    background: var(--wt-panel);
    color: var(--wt-text);
    font-family: "Poppins", "Noto Nastaliq Urdu", "Noto Naskh Arabic", Arial, sans-serif;
    min-height: 180px;
    padding: 14px !important;
}

.note-editor .note-editing-area .note-editable [style*="Noto Nastaliq Urdu"],
.note-editor .note-toolbar .dropdown-fontname a[data-value="Noto Nastaliq Urdu"] {
    font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif !important;
}

.note-editor .note-editing-area .note-editable [style*="Jameel Noori Nastaleeq"],
.note-editor .note-toolbar .dropdown-fontname a[data-value="Jameel Noori Nastaleeq"] {
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif !important;
}

.note-editor .note-editing-area .note-editable [style*="Noto Naskh Arabic"],
.note-editor .note-toolbar .dropdown-fontname a[data-value="Noto Naskh Arabic"] {
    font-family: "Noto Naskh Arabic", "Amiri", "Scheherazade New", serif !important;
}

.note-editor .note-editing-area .note-editable [style*="Amiri"],
.note-editor .note-toolbar .dropdown-fontname a[data-value="Amiri"] {
    font-family: "Amiri", "Noto Naskh Arabic", "Scheherazade New", serif !important;
}

.note-editor .note-editing-area .note-editable [style*="Scheherazade New"],
.note-editor .note-toolbar .dropdown-fontname a[data-value="Scheherazade New"] {
    font-family: "Scheherazade New", "Noto Naskh Arabic", "Amiri", serif !important;
}

label {
    color: var(--wt-text);
    font-size: 12px;
    font-weight: 600;
}

.btn {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    text-align: center;
    vertical-align: middle;
}

button.badge,
a.badge {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

.btn-primary,
.btn-outline-success:hover,
.btn-outline-primary:hover {
    background: var(--wt-blue) !important;
    border-color: var(--wt-blue) !important;
}

.btn-outline-success,
.btn-outline-primary {
    border-color: #b7c8dc;
    color: var(--wt-text);
}

.table {
    background: var(--wt-panel);
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--wt-border);
    border-radius: 18px;
    box-shadow: var(--wt-shadow);
    overflow: hidden;
}

.table thead th {
    background: var(--wt-input-bg);
    border-bottom: 1px solid var(--wt-border) !important;
    color: var(--wt-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 15px 18px;
}

.table tbody td {
    border-top: 1px solid var(--wt-border);
    color: var(--wt-text);
    font-size: 13px;
    padding: 14px 18px;
    vertical-align: middle;
}

.table-bordered,
.table-bordered td,
.table-bordered th {
    border-left: 0 !important;
    border-right: 0 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: var(--wt-panel);
}

.badge {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
}

.badge-success {
    background: #d7fae5;
    color: #008a4e;
}

.badge-danger {
    background: #ffe0e0;
    color: #cc1616;
}

.badge-warning {
    background: #fff1c7;
    color: #9a5c00;
}

.badge-info {
    background: #dff2ff;
    color: #0073bf;
}

.dataTables_wrapper {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 18px;
    box-shadow: var(--wt-shadow);
    padding: 18px;
}

.dataTables_wrapper .table {
    border-radius: 12px;
    box-shadow: none;
}

.dataTables_filter input,
.dataTables_length select {
    background: var(--wt-input-bg);
    border: 1px solid var(--wt-border);
    color: var(--wt-input-text);
    border-radius: 10px;
    min-height: 36px;
}

.pagination .page-link {
    border-color: var(--wt-border);
    color: var(--wt-muted);
}

.pagination .page-item.active .page-link {
    background: var(--wt-blue);
    border-color: var(--wt-blue);
}

.nav-tabs {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 16px;
    box-shadow: var(--wt-shadow);
    padding: 8px;
}

.nav-tabs .nav-link {
    border: 0 !important;
    border-radius: 11px !important;
    color: var(--wt-muted);
    font-size: 13px;
    font-weight: 600;
    margin-right: 6px;
}

.nav-tabs .nav-link.active {
    background: var(--wt-blue) !important;
    color: #fff !important;
}

.wt-hero {
    align-items: center;
    background: linear-gradient(135deg, #101e3f 0%, #18284e 100%);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 18px 42px rgba(13, 25, 48, 0.18);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin: -42px 0 36px;
    padding: 34px 38px;
}

.wt-hero small {
    color: #69d3ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wt-hero h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 14px 0;
}

.wt-hero p {
    color: #d9e4f5;
    font-size: 15px;
    margin: 0;
}

.wt-stat-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 36px;
}

.wt-stat-card {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 18px;
    box-shadow: var(--wt-shadow);
    padding: 22px;
}

.wt-stat-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.wt-stat-icon {
    align-items: center;
    background: #e6f5ff;
    border-radius: 12px;
    color: var(--wt-blue);
    display: inline-flex;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.wt-stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 18px 0 10px;
}

.wt-stat-card p,
.wt-muted {
    color: var(--wt-muted);
}

.wt-card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.wt-filter-bar {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 18px;
    box-shadow: var(--wt-shadow);
    padding: 18px;
}

.wt-filter-bar .btn {
    min-width: 126px;
}

.wt-filter-bar .wt-filter-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.wt-filter-bar .wt-filter-actions .btn {
    min-width: auto;
    white-space: nowrap;
}

.wt-empty-state {
    align-items: center;
    background: var(--wt-panel);
    border: 1px dashed #bfd0e4;
    border-radius: 18px;
    box-shadow: var(--wt-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 36px 20px;
    text-align: center;
}

.wt-empty-state i {
    align-items: center;
    background: #e6f5ff;
    border-radius: 14px;
    color: var(--wt-blue);
    display: inline-flex;
    font-size: 22px;
    height: 54px;
    justify-content: center;
    margin-bottom: 16px;
    width: 54px;
}

.wt-empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.wt-product-card {
    background: var(--wt-panel);
    border: 1px solid var(--wt-border);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(8, 19, 43, 0.07);
    overflow: hidden;
}

.wt-product-image {
    background: linear-gradient(135deg, #dce7f4, #eef5fb);
    height: 145px;
    object-fit: cover;
    width: 100%;
}

.wt-card-corner-chip {
    background: #ffbd08;
    border-radius: 999px;
    color: #071126;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    position: absolute;
    right: 12px;
    text-transform: uppercase;
    top: 12px;
}

.wt-card-corner-chip.position-static {
    display: inline-flex;
    position: static !important;
}

.wt-product-card .badge-success,
.wt-product-card .badge-danger {
    display: none;
}

.wt-product-body {
    padding: 14px 16px 16px;
}

.wt-product-meta {
    align-items: center;
    color: var(--wt-muted);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wt-product-title {
    color: var(--wt-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}

.wt-product-card p {
    font-size: 12px;
    line-height: 1.45;
}

.wt-product-footer {
    align-items: center;
    border-top: 1px solid var(--wt-border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
}

.wt-price {
    color: var(--wt-blue);
    font-size: 17px;
    font-weight: 700;
}

.wt-chip {
    background: var(--wt-blue);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 12px;
}

.wt-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wt-tag {
    background: var(--wt-input-bg);
    border: 1px solid var(--wt-border);
    border-radius: 999px;
    color: var(--wt-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 5px 8px;
}

.wt-view-card .wt-list-mode,
.wt-view-list .wt-card-mode {
    display: none !important;
}

.wt-profile-photo {
    border: 3px solid #eef5fb;
    border-radius: 16px;
    height: 74px;
    object-fit: cover;
    width: 74px;
}

.wt-user-detail-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 6px;
}

.wt-user-detail-list div {
    align-items: center;
    color: var(--wt-muted);
    display: flex;
    gap: 10px;
    min-width: 0;
}

.wt-user-detail-list i {
    color: var(--wt-blue);
    width: 16px;
}

.wt-user-detail-list a,
.wt-user-detail-list span {
    color: var(--wt-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-footer {
    background: transparent;
    border: 0;
    color: var(--wt-muted);
    font-size: 12px;
}

.wt-admin-footer {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 18px 34px;
}

.wt-footer-brand,
.wt-footer-credit {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wt-footer-brand strong {
    color: var(--wt-muted);
}

.wt-footer-credit {
    color: var(--wt-muted);
    justify-content: flex-end;
}

.wt-evolix-logo {
    height: 30px;
    object-fit: contain;
    width: auto;
}

.wt-evolix-logo-light {
    display: none;
}

body.wt-theme-dark .wt-evolix-logo-dark,
.dark-mode .wt-evolix-logo-dark {
    display: none;
}

body.wt-theme-dark .wt-evolix-logo-light,
.dark-mode .wt-evolix-logo-light {
    display: inline-block;
}

@media (max-width: 1200px) {
    .wt-card-grid,
    .wt-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

input[placeholder="Add image Alt Text"]::placeholder {
    font-size: 12px;
}

.wt-product-footer .text-right {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.table td:last-child {
    white-space: nowrap;
}

a[href*="edit-"].btn-outline-primary:not(.wt-page-seo-action),
a[href*="edit-"].badge-warning,
.wt-action-edit {
    align-items: center;
    background: #eef7ff !important;
    border: 1px solid #b9dcff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 18px rgba(7, 135, 248, 0.1);
    color: var(--wt-blue) !important;
    display: inline-flex !important;
    font-size: 0 !important;
    height: 34px;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 4px 4px 0;
    min-height: 34px;
    min-width: 34px;
    padding: 0 !important;
    position: relative;
    text-decoration: none !important;
    vertical-align: middle;
    width: 34px;
}

a[href*="edit-"].btn-outline-primary:not(.wt-page-seo-action) i,
a[href*="edit-"].badge-warning i,
.wt-action-edit i {
    display: none;
}

a[href*="edit-"].btn-outline-primary:not(.wt-page-seo-action)::before,
a[href*="edit-"].badge-warning::before,
.wt-action-edit::before {
    content: "\f044";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
    left: 50%;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

a[href*="edit-"].btn-outline-primary:not(.wt-page-seo-action):hover,
a[href*="edit-"].badge-warning:hover,
.wt-action-edit:hover {
    background: var(--wt-blue) !important;
    border-color: var(--wt-blue) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.wt-action-delete,
.wt-soft-delete-trigger {
    align-items: center !important;
    background: #fff5f5 !important;
    border: 1px solid #ffb8b8 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 18px rgba(227, 41, 41, 0.08);
    color: var(--wt-red) !important;
    display: inline-flex !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    gap: 0;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 0 4px;
    height: 34px;
    min-height: 34px;
    min-width: 34px;
    padding: 0 !important;
    text-decoration: none !important;
    vertical-align: middle;
}

.wt-action-delete:hover,
.wt-soft-delete-trigger:hover {
    background: var(--wt-red) !important;
    border-color: var(--wt-red) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.wt-action-delete i,
.wt-soft-delete-trigger i {
    font-size: 14px;
}

.wt-action-delete .wt-delete-text,
.wt-soft-delete-trigger .wt-delete-text {
    display: none;
}

form[action*="trash-"].wt-inline-form,
form[action*="trash-"].d-inline-flex,
form[action*="trash-"] {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    margin: 0 4px 4px 0;
    padding: 0 !important;
    vertical-align: middle;
}

.wt-product-footer form[action*="trash-"],
.wt-product-footer .text-right form[action*="trash-"] {
    margin-right: 0;
    order: 2;
}

.wt-product-footer .wt-soft-delete-form,
.wt-product-footer .text-right .wt-soft-delete-form {
    order: 3;
}

.wt-product-footer a[href*="edit-"],
.wt-product-footer .text-right a[href*="edit-"] {
    order: 1;
}

form[action*="trash-"] button {
    align-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04), 0 8px 18px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    display: inline-flex !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    height: 28px;
    justify-content: flex-start;
    line-height: 1 !important;
    min-height: 28px;
    min-width: 68px;
    overflow: hidden;
    padding: 2px !important;
    position: relative;
    transition: 0.18s ease;
    vertical-align: middle;
}

form[action*="trash-"] button i {
    display: none;
}

form[action*="trash-"] button::before {
    border-radius: 999px;
    color: #fff;
    content: "Active";
    font-size: 9px;
    font-weight: 800;
    line-height: 24px;
    padding: 0 24px 0 8px;
    text-align: center;
    width: 100%;
}

form[action*="trash-"] button::after {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.22);
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    top: 4px;
    transition: 0.18s ease;
    width: 20px;
}

form[action*="trash-"] button.btn-outline-danger,
form[action*="trash-"] button.badge-danger {
    background: #0dbb78 !important;
    color: #fff !important;
}

form[action*="trash-"] button.btn-outline-danger::after,
form[action*="trash-"] button.badge-danger::after {
    left: calc(100% - 24px);
}

form[action*="trash-"] button.btn-outline-success,
form[action*="trash-"] button.badge-success {
    background: #d8e2ee !important;
    color: #52627e !important;
}

form[action*="trash-"] button.btn-outline-success::before,
form[action*="trash-"] button.badge-success::before {
    color: #52627e;
    content: "Inactive";
    padding: 0 8px 0 24px;
}

form[action*="trash-"] button:hover {
    transform: translateY(-1px);
}

body.wt-theme-dark .card-header,
body.wt-theme-dark .card-body,
body.wt-theme-dark .modal-content,
body.wt-theme-dark .dropdown-menu,
body.wt-theme-dark .list-group-item,
body.wt-theme-dark .page-link,
body.wt-theme-dark .custom-file-label,
body.wt-theme-dark .input-group-text,
body.wt-theme-dark .table-responsive,
body.wt-theme-dark .card,
body.wt-theme-dark .wt-card,
body.wt-theme-dark .wt-dashboard-card,
body.wt-theme-dark .wt-dashboard-panel,
body.wt-theme-dark .wt-filter-bar,
body.wt-theme-dark .wt-empty-state,
body.wt-theme-dark .wt-product-card,
body.wt-theme-dark .wt-seo-panel,
body.wt-theme-dark .wt-seo-card,
body.wt-theme-dark .wt-static-seo-card,
body.wt-theme-dark .wt-serp-preview,
body.wt-theme-dark .wt-seo-auto-image,
body.wt-theme-dark .wt-seo-upload-image,
body.wt-theme-dark .wt-page-og-preview,
body.wt-theme-dark .wt-image-preview,
body.wt-theme-dark .wt-preview-card,
body.wt-theme-dark .wt-image-card,
body.wt-theme-dark .wt-page-seo-card,
body.wt-theme-dark .inquiry-filter-panel,
body.wt-theme-dark .inquiry-status-panel,
body.wt-theme-dark .note-statusbar,
body.wt-theme-dark .note-resizebar {
    background-color: var(--wt-panel) !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark form:not(.d-inline-flex):not(.wt-inline-form):not(#logout-form),
body.wt-theme-dark .wt-inquiry-tabs,
body.wt-theme-dark .wt-inquiry-status-tabs,
body.wt-theme-dark .wt-image-preview {
    background: var(--wt-panel) !important;
    border-color: var(--wt-border) !important;
    box-shadow: var(--wt-shadow) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .card-title,
body.wt-theme-dark .modal-title,
body.wt-theme-dark .wt-seo-card h5,
body.wt-theme-dark .wt-seo-panel-head h5,
body.wt-theme-dark .wt-static-seo-head h5,
body.wt-theme-dark .wt-seo-switch strong,
body.wt-theme-dark .wt-seo-auto-image strong,
body.wt-theme-dark .wt-seo-image-option,
body.wt-theme-dark .wt-redirect-url,
body.wt-theme-dark .wt-product-title,
body.wt-theme-dark .wt-action-link,
body.wt-theme-dark .wt-system-row span,
body.wt-theme-dark .wt-image-card label,
body.wt-theme-dark .wt-page-seo-card h5,
body.wt-theme-dark .inquiry-filter-title,
body.wt-theme-dark h1,
body.wt-theme-dark h2,
body.wt-theme-dark h3,
body.wt-theme-dark h4,
body.wt-theme-dark h5,
body.wt-theme-dark h6,
body.wt-theme-dark p,
body.wt-theme-dark .text-dark {
    color: var(--wt-text) !important;
}

body.wt-theme-dark .text-muted,
body.wt-theme-dark .small,
body.wt-theme-dark small,
body.wt-theme-dark .breadcrumb-item,
body.wt-theme-dark .dataTables_info,
body.wt-theme-dark .dataTables_length,
body.wt-theme-dark .dataTables_filter,
body.wt-theme-dark .wt-seo-card p,
body.wt-theme-dark .wt-seo-panel-head p,
body.wt-theme-dark .wt-static-seo-head p,
body.wt-theme-dark .wt-seo-image-help,
body.wt-theme-dark .wt-seo-empty-image,
body.wt-theme-dark .wt-seo-upload-preview span,
body.wt-theme-dark .wt-page-og-preview span,
body.wt-theme-dark .wt-redirect-muted,
body.wt-theme-dark .wt-product-meta,
body.wt-theme-dark .wt-dashboard-label,
body.wt-theme-dark .wt-dashboard-date,
body.wt-theme-dark .wt-panel-subtitle {
    color: var(--wt-muted) !important;
}

body.wt-theme-dark .wt-page-url,
body.wt-theme-dark .inquiry-section-tabs .nav-link,
body.wt-theme-dark .inquiry-status-tabs .nav-link {
    color: var(--wt-muted) !important;
}

body.wt-theme-dark .inquiry-section-tabs .nav-link:hover,
body.wt-theme-dark .inquiry-status-tabs .nav-link:hover {
    background: #172943 !important;
    border-color: var(--wt-border) !important;
    color: #79c4ff !important;
}

body.wt-theme-dark .inquiry-section-tabs .nav-link.active,
body.wt-theme-dark .inquiry-status-tabs .nav-link.active {
    background: linear-gradient(135deg, #0b86f4, #0876dc) !important;
    border-color: #0876dc !important;
    color: #ffffff !important;
}

body.wt-theme-dark .inquiry-section-tabs .badge,
body.wt-theme-dark .inquiry-status-tabs .badge {
    background: #203552 !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .inquiry-section-tabs .nav-link.active .badge,
body.wt-theme-dark .inquiry-status-tabs .nav-link.active .badge {
    background: #ffffff !important;
    color: #001b3f !important;
}

body.wt-theme-dark .form-control,
body.wt-theme-dark .custom-select,
body.wt-theme-dark input[type="text"],
body.wt-theme-dark input[type="number"],
body.wt-theme-dark input[type="email"],
body.wt-theme-dark input[type="date"],
body.wt-theme-dark input[type="file"],
body.wt-theme-dark input[type="password"],
body.wt-theme-dark textarea,
body.wt-theme-dark select.form-control,
body.wt-theme-dark .select2-container--default .select2-selection--single,
body.wt-theme-dark .select2-container--default .select2-selection--multiple {
    background-color: var(--wt-input-bg) !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-input-text) !important;
}

body.wt-theme-dark select option,
body.wt-theme-dark select optgroup {
    background: #0f1d31;
    color: var(--wt-input-text);
}

body.wt-theme-dark input:-webkit-autofill,
body.wt-theme-dark input:-webkit-autofill:hover,
body.wt-theme-dark input:-webkit-autofill:focus,
body.wt-theme-dark textarea:-webkit-autofill,
body.wt-theme-dark select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--wt-input-bg) inset !important;
    -webkit-text-fill-color: var(--wt-input-text) !important;
    caret-color: var(--wt-input-text);
}

body.wt-theme-dark input[type="checkbox"],
body.wt-theme-dark input[type="radio"] {
    accent-color: var(--wt-blue);
}

body.wt-theme-dark input[type="date"] {
    color-scheme: dark;
}

body.wt-theme-dark input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1) brightness(1.35);
    opacity: 0.75;
}

body.wt-theme-dark input[type="file"] {
    color-scheme: dark;
}

body.wt-theme-dark input[type="file"]::file-selector-button {
    background: #1b2e4b;
    border: 1px solid var(--wt-border);
    border-radius: 9px;
    color: var(--wt-text);
    cursor: pointer;
    font-weight: 700;
    margin: 6px 10px 6px 0;
    padding: 8px 12px;
}

body.wt-theme-dark input[type="file"]::-webkit-file-upload-button {
    background: #1b2e4b;
    border: 1px solid var(--wt-border);
    border-radius: 9px;
    color: var(--wt-text);
    cursor: pointer;
    font-weight: 700;
    margin: 6px 10px 6px 0;
    padding: 8px 12px;
}

body.wt-theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered,
body.wt-theme-dark .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.wt-theme-dark .select2-container--default .select2-selection--multiple .select2-selection__rendered,
body.wt-theme-dark .select2-container--default .select2-selection__choice,
body.wt-theme-dark .select2-results__option {
    color: var(--wt-input-text) !important;
}

body.wt-theme-dark .select2-dropdown,
body.wt-theme-dark .select2-container--default .select2-search--dropdown .select2-search__field {
    background: #0f1d31 !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-input-text) !important;
}

body.wt-theme-dark .select2-container--default .select2-results__option[aria-selected="true"],
body.wt-theme-dark .select2-container--default .select2-results__option[data-selected="true"],
body.wt-theme-dark .select2-container--default .select2-results__option--selected {
    background: #203552 !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected],
body.wt-theme-dark .select2-container--default .select2-results__option--highlighted[data-selected],
body.wt-theme-dark .select2-container--default .select2-results__option--highlighted.select2-results__option--selected,
body.wt-theme-dark .select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
body.wt-theme-dark .select2-container--default .select2-results__option[data-selected="true"].select2-results__option--highlighted {
    background: var(--wt-blue) !important;
    color: #ffffff !important;
}

body.wt-theme-dark .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #a9b7d0 transparent transparent transparent !important;
}

body.wt-theme-dark .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #a9b7d0 transparent !important;
}

body.wt-theme-dark .note-editor.note-frame,
body.wt-theme-dark .note-editor .note-toolbar,
body.wt-theme-dark .note-editor .note-editing-area .note-editable,
body.wt-theme-dark .note-editor .note-toolbar .note-dropdown-menu,
body.wt-theme-dark .note-editor .note-toolbar .dropdown-menu {
    background: var(--wt-panel) !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .note-editor .note-toolbar {
    background: #0d1a2d !important;
}

body.wt-theme-dark .note-editor .note-toolbar .note-btn {
    background: #14243c !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .note-editor .note-toolbar .note-btn:hover,
body.wt-theme-dark .note-editor .note-toolbar .note-btn:focus,
body.wt-theme-dark .note-editor .note-toolbar .note-btn.active,
body.wt-theme-dark .note-editor .note-toolbar .note-dropdown-menu a:hover,
body.wt-theme-dark .note-editor .note-toolbar .dropdown-menu a:hover,
body.wt-theme-dark .note-editor .note-toolbar .dropdown-style a:hover {
    background: #203552 !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .note-editor .note-toolbar .note-dropdown-menu a,
body.wt-theme-dark .note-editor .note-toolbar .dropdown-menu a,
body.wt-theme-dark .note-editor .note-toolbar .dropdown-style a {
    color: var(--wt-text) !important;
}

body.wt-theme-dark .form-control::placeholder,
body.wt-theme-dark textarea::placeholder,
body.wt-theme-dark input::placeholder {
    color: #8391aa !important;
}

body.wt-theme-dark .btn-outline-secondary,
body.wt-theme-dark .btn-outline-success,
body.wt-theme-dark .btn-outline-primary,
body.wt-theme-dark .btn-default {
    background: var(--wt-panel) !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .btn-outline-success:hover,
body.wt-theme-dark .btn-outline-primary:hover {
    background: var(--wt-blue) !important;
    border-color: var(--wt-blue) !important;
    color: #ffffff !important;
}

body.wt-theme-dark .btn.disabled,
body.wt-theme-dark .btn:disabled,
body.wt-theme-dark fieldset:disabled .btn {
    background: #14243c !important;
    border-color: var(--wt-border) !important;
    color: #70819c !important;
    opacity: 1;
}

body.wt-theme-dark .alert:not(.alert-danger):not(.alert-warning):not(.alert-success):not(.alert-info) {
    background: var(--wt-panel);
    color: var(--wt-text);
}

body.wt-theme-dark .wt-dashboard {
    --dash-card: var(--wt-panel);
    --dash-border: var(--wt-border);
    --dash-text: var(--wt-text);
    --dash-muted: var(--wt-muted);
    --dash-soft-blue: rgba(7, 135, 248, 0.16);
    --dash-soft-amber: rgba(246, 166, 0, 0.15);
    --dash-soft-green: rgba(13, 187, 120, 0.14);
    --dash-soft-purple: rgba(117, 73, 242, 0.16);
    --dash-soft-rose: rgba(227, 41, 41, 0.14);
    --dash-soft-slate: #172943;
}

body.wt-theme-dark .wt-dashboard-card.highlight {
    background:
        radial-gradient(circle at 84% 10%, rgba(53, 216, 143, 0.34), transparent 20%),
        linear-gradient(135deg, rgba(7, 135, 248, 0.18), rgba(18, 34, 58, 0.96)) !important;
    border-color: rgba(9, 145, 245, 0.42) !important;
}

body.wt-theme-dark .wt-dashboard-card.highlight::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(7, 135, 248, 0.28), rgba(53, 216, 143, 0.22)) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.wt-theme-dark .wt-dashboard-icon,
body.wt-theme-dark .wt-action-icon,
body.wt-theme-dark .wt-empty-state i,
body.wt-theme-dark .wt-stat-icon {
    background: rgba(7, 135, 248, 0.14) !important;
}

body.wt-theme-dark .wt-dashboard-icon.amber {
    background: rgba(246, 166, 0, 0.14) !important;
}

body.wt-theme-dark .wt-dashboard-icon.green {
    background: rgba(13, 187, 120, 0.14) !important;
}

body.wt-theme-dark .wt-dashboard-icon.purple {
    background: rgba(117, 73, 242, 0.16) !important;
}

body.wt-theme-dark .wt-module-card {
    border-color: var(--wt-border) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .wt-module-card.blue {
    background: linear-gradient(135deg, rgba(7, 135, 248, 0.22), rgba(18, 34, 58, 0.95)) !important;
}

body.wt-theme-dark .wt-module-card.amber {
    background: linear-gradient(135deg, rgba(246, 166, 0, 0.22), rgba(18, 34, 58, 0.95)) !important;
}

body.wt-theme-dark .wt-module-card.mint {
    background: linear-gradient(135deg, rgba(13, 187, 120, 0.22), rgba(18, 34, 58, 0.95)) !important;
}

body.wt-theme-dark .wt-module-card.purple {
    background: linear-gradient(135deg, rgba(117, 73, 242, 0.24), rgba(18, 34, 58, 0.95)) !important;
}

body.wt-theme-dark .wt-module-card.rose {
    background: linear-gradient(135deg, rgba(227, 41, 41, 0.2), rgba(18, 34, 58, 0.95)) !important;
}

body.wt-theme-dark .wt-module-card.slate {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(18, 34, 58, 0.95)) !important;
}

body.wt-theme-dark .wt-action-link {
    background: #14243c !important;
    border-color: var(--wt-border) !important;
    color: var(--wt-text) !important;
}

body.wt-theme-dark .wt-action-link:hover {
    border-color: rgba(7, 135, 248, 0.55) !important;
    color: #79c4ff !important;
}

body.wt-theme-dark .wt-system-row {
    border-bottom-color: var(--wt-border) !important;
}

body.wt-theme-dark .wt-inquiry-tabs,
body.wt-theme-dark .wt-inquiry-status-tabs {
    background: var(--wt-panel) !important;
}

body.wt-theme-dark .wt-seo-fields,
body.wt-theme-dark .wt-static-seo-head,
body.wt-theme-dark .wt-redirect-row,
body.wt-theme-dark .wt-product-footer {
    border-color: var(--wt-border) !important;
}

body.wt-theme-dark .wt-serp-preview h6 {
    color: #79a8ff !important;
}

body.wt-theme-dark .wt-serp-preview .wt-serp-url {
    color: #55d98d !important;
}

body.wt-theme-dark .wt-serp-preview p {
    color: var(--wt-muted) !important;
}

body.wt-theme-dark .wt-seo-image-option {
    background: #14243c !important;
    border-color: var(--wt-border) !important;
}

body.wt-theme-dark .wt-seo-image-option.is-selected {
    border-color: var(--wt-blue) !important;
    box-shadow: 0 10px 24px rgba(7, 135, 248, 0.2) !important;
}

body.wt-theme-dark .wt-top-btn.warning {
    background: rgba(246, 166, 0, 0.14);
    border-color: rgba(246, 166, 0, 0.38);
    color: #ffd27a;
}

body.wt-theme-dark .wt-top-btn.danger {
    background: rgba(227, 41, 41, 0.14);
    border-color: rgba(227, 41, 41, 0.38);
    color: #ff9b9b;
}

body.wt-theme-dark .badge-light,
body.wt-theme-dark .wt-card-corner-chip,
body.wt-theme-dark .wt-nav-badge {
    color: #071126;
}

@media (max-width: 767px) {
    .main-sidebar {
        width: 280px !important;
    }

    .content-wrapper,
    .main-header,
    .main-footer,
    body.sidebar-collapse .content-wrapper,
    body.sidebar-collapse .main-header,
    body.sidebar-collapse .main-footer {
        margin-left: 0 !important;
    }

    .main-header {
        padding: 0 14px;
    }

    .wt-topbar,
    .wt-top-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-header {
        padding: 18px 18px 8px;
    }

    .content {
        padding: 0 18px 24px;
    }

    .wt-card-grid,
    .wt-stat-grid {
        grid-template-columns: 1fr;
    }

    .wt-hero {
        align-items: flex-start;
        flex-direction: column;
        margin-top: -26px;
        padding: 28px;
    }

    .wt-sidebar-footer {
        position: static;
    }

    .wt-admin-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .wt-footer-credit {
        justify-content: flex-start;
    }
}
