:root,
html[data-bs-theme="light"],
html[data-bs-theme="dark"],
html[data-bs-theme="auto"] {
    color-scheme: light !important;
    --bs-body-color: #172033;
    --bs-body-bg: #f5f8fc;
    --bs-emphasis-color: #0b1739;
    --bs-secondary-color: #64748b;
    --bs-secondary-bg: #f1f5f9;
    --bs-tertiary-bg: #f8fafc;
    --bs-border-color: #e2e8f0;
    --bs-dark-rgb: 23, 32, 51;
}

html,
body,
.app-wrapper,
.app-container,
.account-pages { background-color:#f5f8fc !important; color:#172033 !important; }

h1,h2,h3,h4,h5,h6,.card-title,.navbar-brand,.emundi-display {
    font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif !important;
    font-weight:400 !important;
    letter-spacing:.025em;
}

.app-header,
.app-sidebar,
.offcanvas,
.app-sidebar-logo,
.navbar,
.dropdown-menu,
.card,
.modal-content,
.toast,
.popover,
.list-group-item,
.accordion-item,
.accordion-button,
.table,
.choices__inner,
.choices__list--dropdown,
.select2-container--default .select2-selection,
.select2-dropdown,
.swal2-popup,
.fc-theme-standard td,
.fc-theme-standard th {
    background-color:#fff !important;
    color:#172033 !important;
    border-color:#e2e8f0 !important;
}

.app-header,
.app-sidebar { background-image:none !important; box-shadow:0 8px 28px rgba(15,23,42,.07); }
.app-header { border-bottom:1px solid #e2e8f0 !important; }
.app-sidebar { border-right:1px solid #e2e8f0 !important; }
.app-sidebar-logo { border-bottom:1px solid #e2e8f0 !important; }
.app-sidebar-menu .side-menu__item,
.app-sidebar-menu .side-menu__label,
.app-sidebar-menu .side_menu_icon,
.app-sidebar-menu .side-menu__angle { color:#475569 !important; }
.app-sidebar-menu .side-menu__item:hover,
.app-sidebar-menu .side-menu__item:focus,
.app-sidebar-menu .side-menu__item.active { color:#063b6f !important; background:#eaf5fc !important; }
.menu-title { color:#075985 !important; }
.app-header .btn,
.app-header .h6,
.app-header i { color:#334155 !important; }

.form-control,
.form-select,
.form-check-input,
.input-group-text,
input,
select,
textarea { background-color:#fff !important; color:#172033 !important; border-color:#cbd5e1 !important; }
.form-control::placeholder,textarea::placeholder { color:#94a3b8 !important; opacity:1; }
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus-visible,
a:focus-visible { border-color:#0ca6df !important; box-shadow:0 0 0 .2rem rgba(12,166,223,.18) !important; outline:0; }
.form-check-input:checked { background-color:#063b6f !important; border-color:#063b6f !important; }

.dropdown-item { color:#334155 !important; }
.dropdown-item:hover,.dropdown-item:focus,.dropdown-item.active { background:#edf6ff !important; color:#063b6f !important; }
.accordion-button:not(.collapsed) { background:#eef8ff !important; color:#063b6f !important; box-shadow:none !important; }
.table > :not(caption) > * > * { background-color:#fff !important; color:#334155 !important; border-bottom-color:#e2e8f0 !important; }
.table thead th { background:#f8fafc !important; color:#475569 !important; }
.tooltip .tooltip-inner { background:#172033 !important; color:#fff !important; }
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before { border-top-color:#172033 !important; }
.modal-backdrop { --bs-backdrop-bg:#64748b; --bs-backdrop-opacity:.28; }
.swal2-container { color-scheme:light !important; }

#preloader { background:#fff !important; color:#063b6f !important; }
.auth-bg.dark,[data-theme-dark],.theme-dark-only { display:none !important; }

.emundi-shell .emundi-hero {
    color:#0b1739 !important;
    background:radial-gradient(circle at 90% 10%,rgba(250,190,42,.23),transparent 25%),linear-gradient(135deg,#eaf7ff,#fff 62%,#f7fbff) !important;
    border:1px solid #dce9f4 !important;
    box-shadow:0 18px 44px rgba(6,59,111,.1) !important;
}
.emundi-shell .emundi-hero h1 { color:#063b6f !important; }
.emundi-shell .emundi-hero p { color:#53657a !important; }
.emundi-shell .emundi-eyebrow { color:#0b7fb5 !important; }
.emundi-shell .emundi-hero::after { color:rgba(6,59,111,.04) !important; }
.emundi-shell .emundi-hero .btn-light { background:#063b6f !important; color:#fff !important; border-color:#063b6f !important; }

.auth-box,.bg-login { background:#fff !important; color:#172033 !important; }
.bg-login { background:linear-gradient(145deg,#eaf7ff,#fff7df) !important; }
.auth-box a.text-light { color:#075985 !important; }
.emundi-brand-logo { width:126px; height:68px; object-fit:cover; transform:scale(1.2); }
.app-sidebar-logo-default { width:130px !important; height:62px !important; object-fit:cover; transform:scale(1.28); }
.app-sidebar-logo-minimize { width:54px !important; height:54px !important; object-fit:cover; transform:scale(1.25); }

@media (max-width:767.98px) {
    .emundi-responsive-table thead { display:none; }
    .emundi-responsive-table,.emundi-responsive-table tbody,.emundi-responsive-table tr,.emundi-responsive-table td { display:block; width:100%; }
    .emundi-responsive-table tr { padding:.75rem; border-bottom:1px solid #e2e8f0; }
    .emundi-responsive-table td { border:0 !important; padding:.35rem .5rem !important; text-align:right !important; }
    .emundi-responsive-table td::before { content:attr(data-label); float:left; color:#64748b; font-weight:700; margin-right:1rem; }
    .emundi-responsive-table td form { display:inline-block; }
    .modal-dialog { margin:.75rem; }
    .dropdown-menu { max-width:calc(100vw - 24px); }
}
