body.twom-blue {
    --twom-blue: #1d4ed8;
    --twom-blue-hover: #173da7;
    --twom-navy: #102c55;
    --twom-ink: #193652;
    --twom-muted: #596e88;
    --twom-border: #dce6f3;
    --twom-surface: #f3f7fc;
    color: var(--twom-ink);
    background: var(--twom-surface);
}
body.twom-blue .btn { border-radius: 8px; font-weight: 600; }
body.twom-blue .btn-primary { background-color: var(--twom-blue) !important; border-color: var(--twom-blue) !important; color: white !important; }
body.twom-blue .btn-primary:hover, body.twom-blue .btn-primary:focus { background-color: var(--twom-blue-hover) !important; border-color: var(--twom-blue-hover) !important; }
body.twom-blue .btn-outline-primary { border-color: #b8cbed; color: var(--twom-blue); }
body.twom-blue .btn-outline-primary:hover, body.twom-blue .btn-outline-primary.active { background: var(--twom-blue); color: white; }
body.twom-blue .card, body.twom-blue .modal-content { border-color: var(--twom-border); border-radius: 13px; box-shadow: 0 4px 18px #15335d0a; }
body.twom-blue .card-header { background: white; border-bottom-color: var(--twom-border); border-radius: 13px 13px 0 0; }
body.twom-blue .form-control:not([type=checkbox]):not([type=radio]) { min-height: 40px; border-color: #ccd9eb; border-radius: 8px; }
body.twom-blue .form-control:focus { border-color: #7098e7; box-shadow: 0 0 0 3px #2563eb1a; }
body.twom-blue :focus-visible { outline: 3px solid #7299e7; outline-offset: 3px; }
body.twom-blue input[type=checkbox], body.twom-blue input[type=radio] { accent-color: var(--twom-blue); }
body.twom-blue .alert { border-radius: 8px; overflow-wrap: anywhere; }
body.twom-blue .table thead th { background: #edf3fb; color: #405977; border-bottom-color: var(--twom-border); }
body.twom-blue .table td { border-color: #e9eff8; vertical-align: middle; }
body.twom-blue .table-responsive { max-width: 100%; -webkit-overflow-scrolling: touch; }
body.twom-blue .nav-tabs .nav-link.active, body.twom-blue .nav-pills .nav-link.active, body.twom-blue .page-item.active .page-link { background-color: var(--twom-blue); border-color: var(--twom-blue); color: white; }
body.twom-blue .dropdown-menu { border-color: var(--twom-border); border-radius: 10px; box-shadow: 0 7px 24px #17345c15; }
body.twom-blue .dropdown-item:hover { background-color: #edf4ff; }
body.twom-panel .topbar { background: linear-gradient(105deg, #14366c, #1d4ed8) !important; }
body.twom-panel .topbar .top-navbar { background: transparent; }
body.twom-panel .topbar .navbar-header { background: white; }
body.twom-panel .topbar .navbar-collapse .nav-link { color: #f6f9ff !important; }
body.twom-panel .topbar .dropdown-menu a:not(.btn) { color: var(--twom-ink) !important; }
body.twom-panel .left-sidebar { background: var(--twom-navy) !important; }
body.twom-panel .left-sidebar .sidebar-nav { background: transparent; }
body.twom-panel .left-sidebar .sidebar-nav ul li a { color: #dbe8fb !important; border-radius: 7px; border-bottom-color: transparent; }
body.twom-panel .left-sidebar .sidebar-nav ul li a i { color: #b0caef !important; }
body.twom-panel .left-sidebar .sidebar-nav ul li a:hover, body.twom-panel .left-sidebar .sidebar-nav ul li a.active, body.twom-panel .left-sidebar .sidebar-nav ul li.active > a { background: #254f88 !important; color: white !important; }
body.twom-panel .left-sidebar .nav-label, body.twom-panel .left-sidebar .nav-small-cap { color: #aec6e9 !important; }
body.twom-panel .left-sidebar input { background: #204574 !important; border-color: #3c5e88; color: white !important; }
body.twom-panel .left-sidebar input::placeholder { color: #c1d3e9; }
body.twom-panel .page-wrapper { background: var(--twom-surface); }
body.twom-panel .page-titles { background: white; border-bottom: 1px solid var(--twom-border); }
body.twom-panel .page-titles h3 { color: var(--twom-ink) !important; }
body.twom-panel .login-register, body.twom-client .login-page { background: radial-gradient(ellipse at 10% 0%, #dceaff, transparent 65%), #f2f6fd !important; }
body.twom-client .section-header { background: white; border-bottom: 1px solid #e0e9f6; }
body.twom-client .section-footer.bg-dark { background: var(--twom-navy) !important; }
body.twom-client .transactions-banner { background: linear-gradient(115deg, #173d83, #2563eb) !important; }
body.twom-client .twom-payment-status { background: #edf4ff; border-color: #cfe0fb; color: #214a83; }
.twom-reset-page { padding: 32px 14px; }
.twom-reset-page .login-box { width: min(100%, 460px); margin: 22px auto; }
.twom-reset-page .login-logo img { max-width: 160px; max-height: 60px; object-fit: contain; }
.twom-reset-page .card-body { padding: clamp(18px, 4vw, 30px); }
.twom-reset-page input[hidden], .twom-reset-page form[hidden], .twom-reset-page [hidden], .twom-cart-preview[hidden], .twom-surface-progress[hidden] { display: none !important; }
.twom-cart-toggle { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-inline: -12px 8px; border: 1px solid #d8e4f5; border-radius: 7px; background: #f0f5ff; color: #1d4ed8; cursor: pointer; }
.twom-cart-preview { position: fixed; z-index: 2500; top: 82px; right: 16px; width: min(370px, calc(100vw - 32px)); max-height: calc(100vh - 104px); overflow-y: auto; background: white; color: #18314f; border: 1px solid #d8e4f5; border-radius: 14px; box-shadow: 0 12px 36px #163b6c29; padding: 18px; }
.twom-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.twom-cart-head h2 { font-size: 20px; margin: 0; }
.twom-cart-close { border: 0; background: transparent; color: #435d7c; font-size: 25px; cursor: pointer; }
.twom-cart-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #eaf0f8; overflow-wrap: anywhere; }
.twom-cart-line img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 44px; }
.twom-cart-line small, .twom-cart-note { display: block; color: #596e88; }
.twom-cart-note { margin-top: 12px; }
.twom-chart-details { border-top: 1px solid #e3ebf6; padding: 12px 17px; color: #435c7c; background: #fbfdff; border-radius: 0 0 12px 12px; }
.twom-chart-details summary { color: #1d4ed8; font-weight: 600; cursor: pointer; }
.twom-chart-values > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eaf0f8; }
.twom-chart-values > strong { display: block; margin-top: 9px; }
.twom-surface-progress { position: fixed; z-index: 10000; top: 12px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); padding: 10px 15px; border: 1px solid #cfddf4; border-radius: 10px; background: white; color: #1e4274; box-shadow: 0 5px 20px #1738631f; pointer-events: none; }
@media (max-width: 767px) {
    body.twom-blue .btn { white-space: normal; }
    body.twom-blue .form-control:not([type=checkbox]):not([type=radio]) { font-size: 16px; }
    .twom-cart-preview { top: 68px; }
}
@media print { .twom-cart-preview, .twom-cart-toggle, .twom-surface-progress { display: none !important; } }
