/* Proteqta presentation layer. No visibility, dimensions, positioning or event rules.
   Scoped to OBS frontend components; never themes WordPress admin or WebLoot. */
:is(.obs-account-wrapper,.obs-modern-wrapper,.obs-auth-box,.obs-wrap,.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,.obs-popup-overlay,#obs-popup,#obs-ptq-sub-modal) {
    --obs-ms-accent:#3357d6 !important;
    --obs-ms-bg:#111a38 !important;
    --obs-primary:#3357d6 !important;
    --obs-primary-hover:#456bee !important;
    --obs-bg-page:#111a38 !important;
    --obs-bg-card:#192449 !important;
    --obs-text:#eef1fb !important;
    --obs-label:#aab4d2 !important;
    --obs-border:#35456f !important;
    --obs-input-bg:#0d1530 !important;
    --obs-icon-bg:#26345b !important;
    --obs-icon-color:#8ea5ff !important;
    --obs-blue:#3357d6 !important;
    --obs-blue-light:#26345b !important;
    --obs-blue-dark:#456bee !important;
    --ptq-primary:#3357d6 !important;
    --ptq-pro:#526ee0 !important;
    --ptq-dark:#eef1fb !important;
    --ptq-light:#192449 !important;
    --ptq-border:#35456f !important;
    color:#eef1fb;
    color-scheme:dark;
}
.obs-modern-wrapper,.obs-auth-box {background:#111a38 !important;border-color:#35456f !important;color:#eef1fb !important}
.obs-account-wrapper .obs-aside,.obs-account-wrapper .obs-main-content,
.obs-modern-wrapper .obs-modern-header {background:#111a38 !important;border-color:#35456f !important}
.obs-modern-wrapper .obs-modern-container {background:#111a38}
:is(.obs-account-wrapper,.obs-modern-wrapper,.obs-auth-box,.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,.obs-popup-overlay,#obs-popup,#obs-ptq-sub-modal) :is(h1,h2,h3,h4,h5,h6,legend) {color:#eef1fb !important;border-color:#35456f !important}
:is(.obs-account-wrapper,.obs-modern-wrapper,.obs-auth-box,.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,.obs-popup-overlay,#obs-popup,#obs-ptq-sub-modal) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),select,textarea) {
    background-color:#0d1530 !important;color:#eef1fb !important;border-color:#405589 !important;
}
:is(.obs-account-wrapper,.obs-modern-wrapper,.obs-auth-box,.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,.obs-popup-overlay,#obs-popup,#obs-ptq-sub-modal) ::placeholder {color:#9aa3c2 !important;opacity:1}
:is(.obs-account-wrapper,.obs-modern-wrapper,.obs-auth-box,.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,#obs-popup,#obs-ptq-sub-modal) :is(input,select,textarea,button,a):focus-visible {
    outline:2px solid #8ea5ff !important;outline-offset:3px;box-shadow:0 0 0 3px rgba(142,165,255,.18) !important;
}
:is(.obs-account-wrapper,.obs-modern-wrapper,.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,#obs-popup,#obs-ptq-sub-modal) :is(input[type=checkbox],input[type=radio]) {accent-color:#526ee0}
.obs-modern-wrapper .obs-modern-nav a,.obs-modern-wrapper .obs-m-sub-nav a {background:#192449 !important;color:#c7cee5 !important;border-color:#35456f !important}
.obs-modern-wrapper .obs-modern-nav a:hover,.obs-modern-wrapper .obs-m-sub-nav a:hover {background:#26345b !important;color:#eef1fb !important}
.obs-modern-wrapper .obs-modern-nav a.active,.obs-modern-wrapper .obs-m-sub-nav a.active,.obs-account-wrapper .obs-menu-list .active-tab {background:#3357d6 !important;color:#fff !important;border-color:#8ea5ff !important}
.obs-modern-wrapper .obs-m-name,.obs-account-wrapper .obs-user-name,.obs-modern-wrapper .card-value,.obs-account-wrapper .obs-data-value {color:#eef1fb !important}
.obs-modern-wrapper .card-label,.obs-account-wrapper .obs-data-label {color:#aab4d2 !important}
.obs-modern-wrapper .obs-m-logout {background:#3b2037 !important;color:#ff9baf !important;border-color:#74405a !important}
.obs-modern-wrapper #obs-ms-preloader {background:rgba(5,8,22,.8)}
.obs-modern-wrapper .obs-ms-loader {border-color:#35456f;border-top-color:#8ea5ff}
:is(.obs-account-wrapper,.obs-modern-wrapper) :is(th,td) {border-color:#35456f !important}
:is(.obs-account-wrapper,.obs-modern-wrapper) th {background:#111a38 !important;color:#aab4d2 !important}
:is(.obs-account-wrapper,.obs-modern-wrapper) td {color:#c7cee5}
:is(.obs-account-wrapper,.obs-modern-wrapper) td::before {color:#aab4d2 !important}
:is(.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,.obs-popup-overlay,#obs-popup,#obs-ptq-sub-modal) {background-color:rgba(5,8,22,.82) !important}
:is(.obs-modal-overlay,.obs-details-modal,.obs-prot-modal-overlay,.obs-ptq-modal,.obs-popup-overlay,#obs-popup,#obs-ptq-sub-modal) :is(.obs-modal-content,.obs-modal-container,.obs-modal-box,.obs-prot-modal-content,.obs-details-content,.obs-ptq-content,.obs-popup-container,.obs-pop-box,.obs-ptqs-box) {background:#111a38 !important;color:#eef1fb !important;border-color:#35456f !important}
/* Keep colours meaningful: these are statuses, not interchangeable accent buttons. */
:is(.obs-account-wrapper,.obs-modern-wrapper) :is(.status-active,.status-completed,.status-approved,.status-paid,.status-success,.obs-badge-active) {background:#12352f !important;color:#4ade9a !important}
:is(.obs-account-wrapper,.obs-modern-wrapper) :is(.status-pending,.status-processing,.status-review) {background:#3b3040 !important;color:#ffd080 !important}
:is(.obs-account-wrapper,.obs-modern-wrapper) :is(.status-failed,.status-rejected,.status-cancelled,.status-error) {background:#3b2037 !important;color:#ff9baf !important}
:is(.obs-account-wrapper,.obs-modern-wrapper) :is(.status-expired,.status-exhausted) {background:#26345b !important;color:#aab4d2 !important}
/* Arbitration timeline is rendered by a shared helper, including AJAX popups.
   Override it only on the frontend; the admin's shared timeline stays unchanged. */
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .obs-chs-timeline {background:#111a38 !important;border-color:#35456f !important;color:#c7cee5 !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-item {opacity:1;color:#aab4d2}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-content strong {color:#c7cee5 !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-content small {color:#aab4d2 !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-icon {background:#26345b !important;color:#c7cee5 !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-item.active .chs-tm-icon {background:#3357d6 !important;color:#fff !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-item.active strong {color:#eef1fb !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-item.warning .chs-tm-icon {background:#3b3040 !important;color:#ffd080 !important}
:is(.obs-modal-overlay,.obs-modern-wrapper,.obs-account-wrapper) .chs-tm-item.final .chs-tm-icon {background:#12352f !important;color:#4ade9a !important}
/* Partners: legacy profile, referral/coupon cards, finances and application wizard. */
.obs-aff-v6,.obs-aff-stats-container {color:#eef1fb !important;color-scheme:dark}
.obs-aff-v6 :is(.obs-aff-v6-hero,.obs-aff-v6-box,.obs-aff-v6-card,.obs-aff-v6-link-area,.obs-aff-v6-info-alert,.obs-aff-pending-card,.obs-aff-rejected-card) {background:#192449 !important;border-color:#35456f !important}
.obs-aff-v6 .obs-aff-v6-card.active {border-color:#8ea5ff !important}
.obs-aff-v6 .obs-aff-v6-card.active .val {color:#8ea5ff !important}
.obs-aff-v6 :is(.obs-aff-v6-bar-bg,.obs-aff-v6-icon) {background:#26345b !important}
.obs-aff-v6 :is(.obs-aff-v6-icon,.obs-aff-v6-info-alert b) {color:#eef1fb !important}
.obs-aff-v6 :is(.obs-aff-v6-current,.obs-aff-v6-copy-btn,.obs-aff-v6-bar-fill) {background:#3357d6 !important;color:#fff !important}
.obs-aff-v6 .obs-aff-v6-copy-btn.disabled {background:#26345b !important;color:#aab4d2 !important}
.obs-aff-v6 .obs-coupon-expired-overlay {background:rgba(5,8,22,.78) !important}
.obs-aff-v6 .obs-coupon-stamp {background:#3b2037 !important;color:#ff9baf !important;border-color:#ff9baf !important}
.obs-aff-v6 .obs-aff-v6-badge {background:#12352f !important;color:#4ade9a !important}
.obs-aff-stats-container .st-paid {background:#12352f !important;color:#4ade9a !important}
.obs-aff-stats-container .st-approved {background:#3b3040 !important;color:#ffd080 !important}
.obs-aff-stats-container .st-pending {background:#26345b !important;color:#aab4d2 !important}
.obs-wiz-wrapper :is(.obs-step-node.active,.obs-type-card:hover) {border-color:#8ea5ff !important;color:#8ea5ff !important}
.obs-wiz-wrapper .obs-step-node.done {background:#3357d6 !important;border-color:#8ea5ff !important;color:#fff !important}
.obs-wiz-wrapper .obs-welcome-alert p {color:#c7cee5 !important}
.obs-wiz-wrapper .obs-welcome-alert b {color:#8ea5ff !important}
@media(max-width:992px) {
    .obs-modern-wrapper .obs-m-dynamic-body tr,.obs-account-wrapper .obs-table-responsive tr {background:#192449 !important;border-color:#35456f !important}
    .obs-modern-wrapper .obs-m-dynamic-body tr td:first-child {background:#111a38 !important;color:#8ea5ff !important}
}
