.order-list-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(145, 169, 184, 0.16);
  border-radius: 8px;
  background: rgba(11, 19, 28, 0.72);
  scrollbar-color: #344554 #101923;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.order-list-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  border-spacing: 0;
  color: #dce5ea;
  font: inherit;
  font-size: 12px;
  text-align: left;
}

.order-list-table--wide { min-width: 1050px; }
.order-list-table--agent { min-width: 1080px; }
.order-list-table--partner { min-width: 1050px; }
.order-list-table--records { min-width: 760px; }
.order-list-table--customers { min-width: 760px; }
.order-list-table--withdrawals { min-width: 760px; }
.order-list-table--applications { min-width: 900px; }
.order-list-table thead { background: rgba(19, 31, 43, 0.92); }
.order-list-table th { padding: 10px 12px; border: 0; border-bottom: 1px solid rgba(145, 169, 184, 0.16); color: #8fa2ae; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.order-list-table td { padding: 11px 12px; border: 0; border-bottom: 1px solid rgba(145, 169, 184, 0.11); color: #c8d4db; vertical-align: middle; line-height: 1.45; }
.order-list-table tbody tr { background: transparent; transition: background 140ms ease; }
.order-list-table tbody tr:hover { background: rgba(116, 155, 178, 0.055); }
.order-list-table tbody tr:last-child td { border-bottom: 0; }
.order-list-table td strong { display: block; color: #e4edf1; font-weight: 650; }
.order-list-table td small { display: block; margin-top: 3px; color: #8498a4; font-size: 10px; }
.order-list-table .order-customer { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.order-list-table .order-customer-avatar { position: relative; display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #f4fbf7; font-size: 11px; font-weight: 750; }
.order-list-table .order-customer-avatar::after { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border: 2px solid #101923; border-radius: 50%; background: #43d17d; content: ''; }
.order-list-table .order-customer-avatar--0 { background: #277d57; }
.order-list-table .order-customer-avatar--1 { background: #276eaa; }
.order-list-table .order-customer-avatar--2 { background: #a35932; }
.order-list-table .order-customer-avatar--3 { background: #a64255; }
.order-list-table .order-customer-avatar--4 { background: #658a31; }
.order-list-table .order-customer-avatar--5 { background: #5967a9; }
.order-list-table .order-customer-avatar--6 { background: #007f78; }
.order-list-table .order-customer-avatar--7 { background: #85528f; }
.order-list-table .order-customer-avatar--8 { background: #b17b25; }
.order-list-table .order-customer-avatar--9 { background: #356877; }
.order-list-table .order-customer-avatar--10 { background: #a34f82; }
.order-list-table .order-customer-avatar--11 { background: #647c38; }
.order-list-table .order-customer-details { min-width: 0; }
.order-list-table .order-customer-details strong { color: #74d6a0; }
.order-list-table .order-customer-details small { overflow-wrap: anywhere; }
.order-list-controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 12px 0; flex-wrap: nowrap; }
.order-search-form { display: flex; align-items: flex-end; gap: 8px; flex: 0 1 560px; min-width: 0; flex-wrap: nowrap; }
.order-search-form label { display: grid; flex: 0 1 280px; min-width: 180px; gap: 5px; color: #9aabb5; font-size: 11px; }
.order-search-form input { min-width: 0; min-height: 36px; padding: 7px 10px; border: 1px solid rgba(145, 169, 184, 0.24); border-radius: 6px; background: rgba(11, 19, 28, 0.82); color: #e4edf1; font: inherit; }
.admin-order-search-form { flex: 0 1 300px; gap: 8px; }
.partner-order-search-form { flex: 0 1 300px; gap: 8px; }
.admin-order-search-form label { flex: 1 1 auto; min-width: 0; }
.partner-order-search-form label { flex: 1 1 auto; min-width: 0; }
.admin-order-search-form input { border-radius: 6px; }
.partner-order-search-form input { border-radius: 6px; }
.admin-order-search-form button[type="submit"] svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.partner-order-search-form button[type="submit"] svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.order-list-controls button { min-height: 36px; padding: 7px 11px; border: 1px solid rgba(145, 169, 184, 0.24); border-radius: 6px; background: rgba(37, 61, 77, 0.28); color: #dce5ea; font: inherit; font-size: 11px; cursor: pointer; }
.order-list-controls .order-search-form button[type="submit"] { border-color: rgba(145, 169, 184, 0.3); background: rgba(37, 61, 77, 0.42); color: #c8d4db; }
.order-search-form .order-search-submit { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; min-width: 36px; height: 36px; min-height: 36px; margin: 0; padding: 8px; border: 1px solid rgba(145,169,184,.3); border-radius: 4px; background: #26343d; color: #dce5ea; box-shadow: none; }
.order-search-form .order-search-submit:hover { border-color: #607783; background: #334650; color: #fff; transform: none; }
.order-search-form .order-search-submit:focus-visible { outline: 2px solid #8297a2; outline-offset: 2px; }
.order-search-form .order-search-submit svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.admin-content .order-list-controls .order-clear-processed { border-color:#c75e66; background:linear-gradient(135deg,#e17d7d,#c75e66); color:#fff; box-shadow:0 4px 12px rgba(199,94,102,.16); }
.admin-content .order-list-controls .order-clear-processed:hover:not(:disabled) { border-color:#b94c55; background:linear-gradient(135deg,#e88989,#d66a73); color:#fff; box-shadow:0 6px 16px rgba(199,94,102,.22); }
.admin-content .order-list-controls .order-clear-processed:focus-visible { outline:2px solid #ef9298; outline-offset:2px; }
.admin-content .order-list-controls .order-clear-processed:disabled { border-color:#bd7379; background:#a65d64; color:#f4dfe0; cursor:not-allowed; opacity:.62; box-shadow:none; }
body:not(.day-mode) .admin-content .order-list-controls .order-search-form button.order-search-submit { border-color:#455861; background:#26343d; color:#dce5ea; box-shadow:none; }
body:not(.day-mode) .admin-content .order-list-controls .order-search-form button.order-search-submit:hover { border-color:#607783; background:#334650; color:#fff; }
body.day-mode .admin-content .order-list-controls .order-search-form button.order-search-submit { border-color:#bdcbd2; background:#eef2f4; color:#344650; box-shadow:none; }
body.day-mode .admin-content .order-list-controls .order-search-form button.order-search-submit:hover { border-color:#90a3ad; background:#e2e9ed; color:#1e2b34; }
.order-status-filters { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0 0 18px; }
.order-status-filter { min-height:35px; padding:7px 13px; border:1px solid #293943; border-radius:999px; background:#111b21; color:#e2e9ed; font:inherit; font-size:12px; font-weight:650; cursor:pointer; transition:background .16s ease,border-color .16s ease,color .16s ease; }
.order-status-filter:hover { border-color:#40545e; background:#17232a; }
.order-status-filter:focus-visible { outline:2px solid #8297a2; outline-offset:2px; }
.order-status-filter--approved { border-color:#315d49; background:#11231b; color:#63cf9a; }
.order-status-filter--approved.active { border-color:#4ec98c; background:#173225; color:#71dda8; }
.order-status-filter--pending { border-color:#66501f; background:#241e10; color:#f0b941; }
.order-status-filter--pending.active { border-color:#d9a52e; background:#30240f; color:#ffca58; }
.order-status-filter--rejected { border-color:#69313b; background:#27171b; color:#ed7884; }
.order-status-filter--rejected.active { border-color:#de5968; background:#32191f; color:#ff8590; }
.order-status-filter:not([class*="--"]).active { border-color:#3c515b; background:#1b2930; color:#f4f7f9; }
.order-status-filter.active { box-shadow:none; }
.partner-order-search-form + .partner-order-clear-actions { margin-left:auto; }
.orders-date-filter { display:flex; align-items:flex-end; gap:8px; margin:0 0 16px; }
.orders-date-filter label { display:flex; align-items:center; gap:8px; color:#9aabb5; font-size:11px; }
.orders-date-filter input { min-width:170px; min-height:38px; padding:7px 10px; border:1px solid rgba(145,169,184,.24); border-radius:6px; background:#111b21; color:#e4edf1; font:inherit; color-scheme:dark; }
.orders-date-filter .orders-date-today,.orders-date-filter .orders-date-any-time { min-height:38px; padding:7px 12px; border:1px solid #354852; border-radius:6px; background:#17232a; color:#e2e9ed; font:inherit; font-size:11px; cursor:pointer; }
.orders-date-filter .orders-date-today:hover { border-color:#607783; background:#22333b; }
.orders-date-filter .orders-date-any-time:hover { border-color:#607783; background:#22333b; }
.orders-date-filter input:focus-visible,.orders-date-filter .orders-date-today:focus-visible,.orders-date-filter .orders-date-any-time:focus-visible { outline:2px solid #8297a2; outline-offset:2px; }
.partner-refund-history-heading { margin:24px 0 12px; font-size:15px; }
.order-list-controls .order-clear-processed { border-color: rgba(195, 103, 111, 0.3); background: rgba(125, 54, 61, 0.14); color: #e3a2a5; }
.order-list-controls button:disabled { opacity: 0.55; cursor: wait; }
.order-page-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0; color:#9aabb5; font-size:11px; }
.order-page-controls > div { display:flex; align-items:center; gap:8px; }
.order-page-controls button { min-height:34px; padding:6px 11px; border:1px solid rgba(145,169,184,.24); border-radius:6px; background:rgba(37,61,77,.28); color:#dce5ea; font:inherit; cursor:pointer; }
.order-page-controls button:disabled { opacity:.5; cursor:not-allowed; }
.order-status-badge { display: inline-flex; align-items: center; gap: 0; min-height: 21px; padding: 2px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.order-status-badge::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.order-status-success { border-color: rgba(89, 171, 130, 0.22); background: rgba(52, 119, 84, 0.15); color: #8dcba8; }
.order-status-pending { border-color: rgba(201, 161, 91, 0.22); background: rgba(137, 99, 43, 0.15); color: #dbba7a; }
.order-status-processing { border-color: rgba(201, 161, 91, 0.22); background: rgba(137, 99, 43, 0.15); color: #dbba7a; }
.order-status-failed { border-color: rgba(195, 103, 111, 0.22); background: rgba(125, 54, 61, 0.16); color: #e39a9e; }
.order-status-cancelled { border-color: rgba(132, 144, 154, 0.2); background: rgba(87, 99, 108, 0.14); color: #aab4ba; }
.order-list-table .order-source-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 7px; border: 1px solid rgba(115, 153, 175, 0.18); border-radius: 999px; background: rgba(37, 61, 77, 0.18); color: #abc3d0; font-size: 9px; font-weight: 650; white-space: nowrap; }
.order-list-table .order-action-group { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.order-list-table .order-action-button { min-height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; border: 1px solid rgba(127, 157, 175, 0.2); border-radius: 6px; background: rgba(37, 61, 77, 0.28); color: #a9c5d4; font: inherit; font-size: 10px; font-weight: 650; text-decoration: none; cursor: pointer; box-shadow: none; transition: border-color 140ms ease, background 140ms ease, color 140ms ease; }
.order-list-table .order-action-button:hover { border-color: rgba(121, 180, 203, 0.4); background: rgba(43, 81, 101, 0.35); color: #e0f2f7; }
.order-list-table .order-action-button-danger { border-color: rgba(195, 103, 111, 0.22); background: rgba(125, 54, 61, 0.14); color: #d99599; }
.order-list-table .order-action-button-danger:hover { border-color: rgba(195, 103, 111, 0.4); background: rgba(125, 54, 61, 0.26); color: #f1b5b7; }
.order-list-table .order-muted { color: #788d99; }
.order-list-table .record-action-group { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.order-list-table .agent-link { flex-basis: 100%; overflow-wrap: anywhere; }

.agent-order-group { gap: 0; overflow: hidden; border: 1px solid rgba(145, 169, 184, 0.15); border-radius: 8px; background: rgba(11, 19, 28, 0.72); }
.agent-order-toggle { min-height: 42px; padding: 9px 13px; border: 0; border-radius: 0; border-bottom: 1px solid rgba(145, 169, 184, 0.12); background: rgba(19, 31, 43, 0.9); color: #d5e1e7; box-shadow: none; }
.agent-order-toggle:hover { background: rgba(27, 44, 59, 0.95); box-shadow: none; }
.agent-order-toggle > span:first-child { display: flex; align-items: center; gap: 12px; }
.agent-order-toggle > span:last-child { color: #8fa5b1; }
.agent-order-details { display: block; padding: 0; }
.agent-order-details .order-list-scroll { border: 0; border-radius: 0; }

.shared-order-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid rgba(145, 169, 184, 0.15); border-radius: 8px; background: rgba(11, 19, 28, 0.72); overflow: hidden; }
.shared-order-list .shared-order-row { display: grid; grid-template-columns: minmax(95px, 0.8fr) minmax(0, 1.5fr) minmax(120px, 1fr) auto; gap: 12px; align-items: center; min-width: 0; padding: 11px 13px; border: 0; border-bottom: 1px solid rgba(145, 169, 184, 0.11); border-radius: 0; background: transparent; color: #c8d4db; box-shadow: none; }
.shared-order-list .shared-order-row:last-child { border-bottom: 0; }
.shared-order-list .shared-order-row:hover { background: rgba(116, 155, 178, 0.055); }
.shared-order-list .shared-order-row strong { color: #e4edf1; font-size: 12px; font-weight: 650; }
.shared-order-list .shared-order-row small { display: block; margin-top: 3px; color: #8498a4; font-size: 10px; }
.shared-order-list .shared-order-status { justify-self: end; }
.shared-order-list[hidden] { display: none !important; }
.shared-order-list > li:not(.shared-order-row) { margin: 0; padding: 12px 13px; border: 0; border-bottom: 1px solid rgba(145, 169, 184, 0.11); border-radius: 0; background: transparent; color: #c8d4db; }

#apiPartnerDetails > div[style*="margin-top: 10px"] { max-width: 100%; overflow-x: auto; border: 1px solid rgba(145, 169, 184, 0.15); border-radius: 8px; background: rgba(11, 19, 28, 0.72); }
#apiPartnerDetails > div[style*="margin-top: 10px"] .order-row { display: grid; grid-template-columns: minmax(110px, 0.9fr) minmax(105px, 0.9fr) minmax(150px, 1.2fr) minmax(85px, 0.7fr) minmax(85px, 0.8fr) minmax(120px, 1fr); align-items: center; gap: 12px; min-width: 900px; padding: 11px 12px; border: 0; border-bottom: 1px solid rgba(145, 169, 184, 0.11); border-radius: 0; background: transparent; box-shadow: none; }
#apiPartnerDetails > div[style*="margin-top: 10px"] .order-row:hover { background: rgba(116, 155, 178, 0.055); }
#apiPartnerDetails > div[style*="margin-top: 10px"] .order-row:last-child { border-bottom: 0; }
#apiPartnerDetails > div[style*="margin-top: 10px"] .order-row strong { color: #e4edf1; font-size: 12px; font-weight: 650; }
#apiPartnerDetails > div[style*="margin-top: 10px"] .order-row small { color: #8498a4; font-size: 10px; }

body.day-mode .order-list-scroll,
body.day-mode .agent-order-group,
body.day-mode .shared-order-list,
body.day-mode #apiPartnerDetails > div[style*="margin-top: 10px"] { border-color:#d4dee5; background:#fff; scrollbar-color:#b8c7d1 #f1f4f6; }
body.day-mode .order-list-table { color:#273741; }
body.day-mode .order-list-table thead { background:#eaf0f3; }
body.day-mode .order-list-table th { border-bottom-color:#d4dee5; color:#40515b; }
body.day-mode .order-list-table td { border-bottom-color:#e0e7eb; color:#273741; }
body.day-mode .order-list-table td strong { color:#26343d; }
body.day-mode .order-list-table td small { color:#60717c; }
body.day-mode .order-list-table .order-customer-details strong { color:#176447; }
body.day-mode .order-list-table .order-customer-avatar::after { border-color:#fff; }
body.day-mode .order-list-table tbody tr:hover { background:#f4f7f8; }
body.day-mode .order-list-controls .order-search-form label { color:#40515b; }
body.day-mode .order-list-controls .order-search-form input { border-color:#c6d2da; background:#fff; color:#1e2b34; }
body.day-mode .order-list-controls button { border-color:#c9d6de; background:#f5f8fa; color:#344650; }
body.day-mode .order-search-form .order-search-submit { border-color:#bdcbd2; background:#eef2f4; color:#344650; }
body.day-mode .order-search-form .order-search-submit:hover { border-color:#90a3ad; background:#e2e9ed; color:#1e2b34; }
body.day-mode .order-status-filter { border-color:#cbd6dc; background:#f4f7f8; color:#344650; }
body.day-mode .order-status-filter--approved { border-color:#acd8bf; background:#edf8f1; color:#176447; }
body.day-mode .order-status-filter--approved.active { border-color:#4caa7b; background:#e2f4ea; color:#176447; }
body.day-mode .order-status-filter--pending { border-color:#e6d19b; background:#fff8e5; color:#805900; }
body.day-mode .order-status-filter--pending.active { border-color:#c7972e; background:#fff1c9; color:#765100; }
body.day-mode .order-status-filter--rejected { border-color:#e5b9bd; background:#fff0f0; color:#8d2530; }
body.day-mode .order-status-filter--rejected.active { border-color:#c45c65; background:#ffe5e7; color:#8d2530; }
body.day-mode .order-status-filter:not([class*="--"]).active { border-color:#8ea2ac; background:#e5ecef; color:#273741; }
body.day-mode .orders-date-filter label { color:#40515b; }
body.day-mode .orders-date-filter input { border-color:#c6d2da; background:#fff; color:#1e2b34; color-scheme:light; }
body.day-mode .orders-date-filter .orders-date-today,body.day-mode .orders-date-filter .orders-date-any-time { border-color:#c9d6de; background:#f5f8fa; color:#344650; }
body.day-mode .orders-date-filter .orders-date-today:hover { border-color:#9aabb5; background:#eaf0f3; }
body.day-mode .orders-date-filter .orders-date-any-time:hover { border-color:#9aabb5; background:#eaf0f3; }
body.day-mode .order-list-controls .order-clear-processed { border-color:#e7b9bd; background:#fff0f0; color:#8d2530; }
body.day-mode .order-page-controls { color:#40515b; }
body.day-mode .order-page-controls button { border-color:#c9d6de; background:#f5f8fa; color:#344650; }
body.day-mode .order-list-table .order-status-success { border-color:#b8dfc9; background:#edf8f1; color:#176447; }
body.day-mode .order-list-table .order-status-pending { border-color:#ead7a8; background:#fff8e5; color:#805900; }
body.day-mode .order-list-table .order-status-processing { border-color:#ead7a8; background:#fff8e5; color:#805900; }
body.day-mode .order-list-table .order-status-failed,
body.day-mode .order-list-table .order-status-cancelled { border-color:#e7b9bd; background:#fff0f0; color:#8d2530; }
body.day-mode .order-list-table .order-source-badge { border-color:#d3dfe5; background:#f2f6f8; color:#40545f; }
body.day-mode .order-list-table .order-action-button { border-color:#c9d6de; background:#f5f8fa; color:#344650; }
body.day-mode .order-list-table .order-action-button:hover { border-color:#aebfc9; background:#edf3f6; color:#1d303b; }
body.day-mode .order-list-table .order-action-button-danger { border-color:#e7b9bd; background:#fff0f0; color:#8d2530; }
body.day-mode .order-list-table .order-muted { color:#60717c; }
body.day-mode .agent-order-toggle { border-bottom-color:#d4dee5; background:#edf2f5; color:#26343d; }
body.day-mode .agent-order-toggle:hover { background:#e5edf1; }
body.day-mode .agent-order-toggle small,
body.day-mode .agent-order-toggle > span:last-child { color:#60717c; }
body.day-mode .shared-order-list .shared-order-row,
body.day-mode .shared-order-list > li:not(.shared-order-row) { border-bottom-color:#e0e7eb; color:#273741; }
body.day-mode .shared-order-list .shared-order-row:hover { background:#f4f7f8; }
body.day-mode .shared-order-list .shared-order-row strong { color:#26343d; }
body.day-mode .shared-order-list .shared-order-row small { color:#60717c; }
body.day-mode #apiPartnerDetails > div[style*="margin-top: 10px"] .order-row { border-bottom-color:#e0e7eb; }
body.day-mode #apiPartnerDetails > div[style*="margin-top: 10px"] .order-row strong { color:#26343d; }
body.day-mode #apiPartnerDetails > div[style*="margin-top: 10px"] .order-row small { color:#60717c; }

/* Approval registry layout applies in both themes. */
.approval-info-callout {
  margin:0 0 18px;
  padding:12px 15px;
  border:1px solid;
  border-left-width:3px;
  border-radius:7px;
  font-size:12px;
}
.approval-registry-tools {
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin:0 0 14px;
  flex-wrap:wrap;
}
.approval-registry-tools label {
  display:grid;
  min-width:150px;
  gap:5px;
  font-size:11px;
}
.approval-registry-tools label:first-child { flex:1 1 260px; }
.approval-registry-tools input,
.approval-registry-tools select {
  min-width:0;
  min-height:38px;
  padding:8px 10px;
  border:1px solid;
  border-radius:6px;
  font:inherit;
}
.approval-registry-tools input:focus,
.approval-registry-tools select:focus {
  outline:0;
  box-shadow:0 0 0 3px rgba(57,156,243,.14);
}
.approval-registry-count {
  flex:1 1 100%;
  margin:0;
  font-size:11px;
  text-align:right;
  white-space:nowrap;
}
.approval-registry-actions {
  display:flex;
  justify-content:flex-end;
  margin:0 0 12px;
}
.approval-clear-button {
  min-height:36px;
  padding:8px 14px;
  border:1px solid #c94b54;
  border-radius:7px;
  background:#b83240;
  color:#fff;
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.approval-clear-button:hover:not(:disabled) {
  border-color:#e0525e;
  background:#c43c49;
}
.approval-clear-button:disabled {
  border-color:#8d4650;
  background:#63343a;
  color:#c5a6a9;
  cursor:not-allowed;
  opacity:.65;
}
.approval-clear-button.admin-action-button--danger {
  min-height:42px;
  padding:9px 15px;
  border:1px solid #c75e66;
  border-radius:9px;
  background:linear-gradient(135deg,#e17d7d,#c75e66);
  color:#fff;
  font-size:13px;
  font-weight:650;
  letter-spacing:.01em;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
  transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.approval-clear-button.admin-action-button--danger:hover:not(:disabled) {
  border-color:#b94c55;
  background:linear-gradient(135deg,#e88989,#d66a73);
  color:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.16);
}
.approval-clear-button.admin-action-button--danger:focus-visible {
  outline:2px solid #ef818a;
  outline-offset:2px;
}
.approval-clear-button.admin-action-button--danger:disabled {
  border-color:rgba(239,129,138,.2);
  background:#392d30;
  color:#bd9da0;
  opacity:.62;
  box-shadow:none;
}
body.day-mode .approval-clear-button.admin-action-button--danger {
  border-color:#c75e66;
  background:linear-gradient(135deg,#e17d7d,#c75e66);
  color:#fff;
  box-shadow:0 2px 7px rgba(77,38,42,.08);
}
body.day-mode .approval-clear-button.admin-action-button--danger:hover:not(:disabled) {
  border-color:#b94c55;
  background:linear-gradient(135deg,#e88989,#d66a73);
  color:#fff;
}
body.day-mode .approval-clear-button.admin-action-button--danger:focus-visible {
  outline-color:#a33f49;
}
body.day-mode .approval-clear-button.admin-action-button--danger:disabled {
  border-color:#d3a5a8;
  background:#f3dfe0;
  color:#8f686b;
  opacity:.65;
}
.approval-registry-table { min-width:760px; }
.approval-registry-table .approval-phone {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-variant-numeric:tabular-nums;
  letter-spacing:.025em;
}
.approval-registry-table td:nth-child(4) {
  width:110px;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
.approval-source-badge {
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin:2px 4px 2px 0;
  padding:2px 7px;
  border:1px solid rgba(137,160,201,.2);
  border-radius:4px;
  background:rgba(137,160,201,.07);
  color:#9aa9c4;
  font-size:9px;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
  white-space:nowrap;
}

body:not(.day-mode) .approval-info-callout {
  border:1px solid rgba(57,156,243,.36);
  border-left:3px solid #399cf3;
  background:rgba(57,156,243,.08);
  color:#c5d8f7;
}
body:not(.day-mode) .approval-registry-tools label {
  color:#9aa9c4;
}
body:not(.day-mode) .approval-registry-tools label:first-child {
  min-width:260px;
}
body:not(.day-mode) .approval-registry-tools input,
body:not(.day-mode) .approval-registry-tools select {
  border-color:rgba(137,160,201,.28);
  background:#0a1429;
  color:#f1f5ff;
}
body:not(.day-mode) .approval-registry-tools input:focus,
body:not(.day-mode) .approval-registry-tools select:focus {
  border-color:#399cf3;
}
body:not(.day-mode) .approval-registry-count {
  color:#9aa9c4;
}
body:not(.day-mode) .order-list-scroll {
  border-color:rgba(134,155,166,.2);
  border-radius:7px;
  background:#111a20;
  box-shadow:none;
}
body:not(.day-mode) .order-list-table { color:#dce5e8; }
body:not(.day-mode) .order-list-table thead { background:#1a252b; }
body:not(.day-mode) .order-list-table th {
  border-bottom-color:rgba(134,155,166,.2);
  color:#91a5ad;
}
body:not(.day-mode) .order-list-table td {
  border-bottom-color:rgba(134,155,166,.13);
  color:#c8d4db;
}
body:not(.day-mode) .order-list-table td strong { color:#f1f5f7; }
body:not(.day-mode) .order-list-table tbody tr:hover { background:rgba(118,215,176,.055); }
body.day-mode .approval-info-callout {
  border-color:#b9d9f4;
  border-left-color:#399cf3;
  background:#eff7fd;
  color:#31536e;
}
body.day-mode .approval-registry-tools label { color:#53656f; }
body.day-mode .approval-registry-count { color:#60717c; }
body.day-mode .approval-clear-button:disabled {
  border-color:#d3a5a8;
  background:#f3dfe0;
  color:#8f686b;
}
body.day-mode .approval-source-badge {
  border-color:#d5dee5;
  background:#f2f6f8;
  color:#53656f;
}
body.day-mode .approval-registry-tools input,
body.day-mode .approval-registry-tools select {
  border-color:#c7d2d9;
  background:#fff;
  color:#26343d;
}
body.day-mode .approval-registry-tools input:focus,
body.day-mode .approval-registry-tools select:focus {
  border-color:#369cf3;
  box-shadow:0 0 0 3px rgba(54,156,243,.16);
}

@media (max-width: 760px) {
  .approval-registry-tools { align-items:stretch; }
  .approval-registry-tools label,
  .approval-registry-tools label:first-child { flex:1 1 100%; min-width:0; }
  .approval-registry-count { flex-basis:100%; margin:0; text-align:left; }
  body:not(.day-mode) .approval-registry-tools { align-items:stretch; }
  body:not(.day-mode) .approval-registry-tools label,
  body:not(.day-mode) .approval-registry-tools label:first-child { flex:1 1 100%; min-width:0; }
  body:not(.day-mode) .approval-registry-count { margin:0; }
  .order-list-scroll { border-radius: 7px; }
  .order-list-table { min-width: 760px; font-size: 11px; }
  .order-list-table--wide { min-width: 1000px; }
  .order-list-table--agent { min-width: 1030px; }
  .order-list-table--partner { min-width: 1000px; }
  .order-list-table--records { min-width: 760px; }
  .order-list-table--applications { min-width: 900px; }
  .order-list-table th,.order-list-table td { padding: 9px 10px; }
  .order-list-controls { align-items: flex-start; flex-wrap: wrap; }
  .order-search-form { flex: 1 1 100%; flex-wrap: wrap; }
  .order-search-form label { flex: 1 1 100%; max-width: none; }
  .admin-order-search-form,.partner-order-search-form { flex: 1 1 100%; max-width: 100%; flex-wrap: nowrap; align-items: flex-end; }
  .orders-date-filter { flex-wrap:wrap; }
  .admin-order-search-form label { flex: 1 1 auto; min-width: 0; }
  .order-list-controls > .order-clear-processed { align-self: flex-start; }
  .order-page-controls { align-items: flex-start; flex-direction: column; }
  .order-page-controls > div { width: 100%; justify-content: space-between; }
  .shared-order-list .shared-order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .shared-order-list .shared-order-status { justify-self: end; }
}

.admin-order-search-form button.admin-action-button--icon,
.order-list-controls .order-search-form button.admin-action-button--icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  margin-left: 0;
  padding: 8px;
  border: 1px solid #239b68;
  border-radius: 8px;
  background: linear-gradient(180deg, #22b96c, #159653);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(18, 154, 82, 0.22);
}
.admin-order-search-form button.admin-action-button--icon:hover,
.order-list-controls .order-search-form button.admin-action-button--icon:hover {
  border-color: #32bf79;
  background: linear-gradient(180deg, #2cc978, #19a65f);
  color: #ffffff;
}
.admin-order-search-form button.admin-action-button--icon:focus-visible,
.order-list-controls .order-search-form button.admin-action-button--icon:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #76d7b0;
  outline-offset: 2px;
}
body.day-mode .admin-order-search-form button.admin-action-button--icon,
body.day-mode .order-list-controls .order-search-form button.admin-action-button--icon {
  border-color: #239b68;
  background: linear-gradient(180deg, #22b96c, #159653);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(18, 154, 82, 0.18);
}
body.day-mode .admin-order-search-form button.admin-action-button--icon:hover,
body.day-mode .order-list-controls .order-search-form button.admin-action-button--icon:hover {
  border-color: #32bf79;
  background: linear-gradient(180deg, #2cc978, #19a65f);
  color: #ffffff;
}
body.day-mode .admin-order-search-form button.admin-action-button--icon:focus-visible,
body.day-mode .order-list-controls .order-search-form button.admin-action-button--icon:focus-visible {
  outline-color: #23805b;
}
body:not(.day-mode) .admin-content .admin-order-search-form button.admin-action-button--icon,
body:not(.day-mode) .admin-content .order-list-controls .order-search-form button.admin-action-button--icon {
  border-color: #239b68;
  background: linear-gradient(180deg, #22b96c, #159653);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(18, 154, 82, 0.22);
}
body:not(.day-mode) .admin-content .admin-order-search-form button.admin-action-button--icon:hover,
body:not(.day-mode) .admin-content .order-list-controls .order-search-form button.admin-action-button--icon:hover {
  border-color: #32bf79;
  background: linear-gradient(180deg, #2cc978, #19a65f);
  color: #ffffff;
}
