:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-soft: #0b1118;
  --bg-glow: rgba(214, 174, 103, 0.18);
  --panel: rgba(13, 19, 29, 0.86);
  --panel-strong: rgba(16, 24, 36, 0.94);
  --panel-muted: rgba(25, 35, 49, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(214, 174, 103, 0.18);
  --text: #f5f7fb;
  --text-soft: #aab4c4;
  --text-dim: #788495;
  --accent: #d6ae67;
  --accent-soft: rgba(214, 174, 103, 0.12);
  --accent-alt: #8096ba;
  --accent-alt-soft: rgba(128, 150, 186, 0.12);
  --success: #83c3a3;
  --success-soft: rgba(131, 195, 163, 0.12);
  --error: #db7d8f;
  --error-soft: rgba(219, 125, 143, 0.12);
  --info: #88a9da;
  --info-soft: rgba(136, 169, 218, 0.12);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, var(--bg-glow), transparent 28%),
    radial-gradient(circle at bottom left, rgba(128, 150, 186, 0.12), transparent 24%),
    linear-gradient(180deg, #04060a 0%, #080d14 42%, #05070b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  opacity: 0.36;
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto 10% 10%;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 150, 186, 0.08), transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 24px 18px 40px;
}

.boot-stage,
.auth-stage {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
}

.auth-grid,
.admin-layout,
.module-grid,
.future-grid {
  display: grid;
}

.boot-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel-strong);
}

.boot-card h1 {
  margin: 0;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
}

.boot-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.boot-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(214, 174, 103, 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.auth-grid {
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.15fr);
  gap: 22px;
}

.surface-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-panel,
.brand-panel,
.admin-sidebar,
.admin-header,
.module-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel);
}

.auth-panel,
.brand-panel {
  padding: 32px;
}

.auth-panel::after,
.brand-panel::after,
.admin-header::after {
  content: "";
  position: absolute;
  inset: auto auto -90px -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 174, 103, 0.14), transparent 72%);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.panel-badge-soft {
  background: rgba(255, 255, 255, 0.05);
  color: #f2e0b8;
}

.auth-panel h1,
.brand-panel h2,
.admin-header h1,
.module-card h2,
.sidebar-brand h2 {
  margin: 18px 0 10px;
  font-family: "Noto Kufi Arabic", sans-serif;
  line-height: 1.35;
}

.auth-panel h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.brand-panel h2,
.admin-header h1 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.panel-text,
.panel-footnote,
.stage-note,
.sidebar-note,
.module-card p,
.field-label,
.account-label {
  color: var(--text-soft);
}

.panel-text {
  margin: 0;
  line-height: 1.95;
  max-width: 56ch;
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.field-input::placeholder {
  color: var(--text-dim);
}

.field-input:focus {
  border-color: rgba(214, 174, 103, 0.34);
  box-shadow: 0 0 0 4px rgba(214, 174, 103, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.field-input:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.field-input-ltr {
  direction: ltr;
  text-align: left;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  width: 100%;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid rgba(214, 174, 103, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #b78d48 0%, #d6ae67 100%);
  color: #101418;
  font-weight: 800;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.button-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(16, 20, 24, 0.24);
  border-top-color: #101418;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form-message {
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
  line-height: 1.7;
}

.form-message.is-info {
  background: var(--info-soft);
  border-color: rgba(136, 169, 218, 0.2);
  color: var(--info);
}

.form-message.is-success {
  background: var(--success-soft);
  border-color: rgba(131, 195, 163, 0.2);
  color: var(--success);
}

.form-message.is-error {
  background: var(--error-soft);
  border-color: rgba(219, 125, 143, 0.2);
  color: var(--error);
}

.panel-footnote {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.future-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.future-card,
.nav-item {
  border-radius: 18px;
}

.future-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.future-label,
.module-kicker,
.sidebar-kicker {
  display: block;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.future-card strong {
  display: block;
  margin-top: 10px;
  line-height: 1.8;
}

.stage-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-stage {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
}

.admin-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.admin-sidebar {
  padding: 24px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c59b57 0%, #7b5d2d 100%);
  color: #12161d;
  font-family: "Roboto Mono", monospace;
  font-size: 1.2rem;
  font-weight: 700;
}

.sidebar-kicker {
  margin: 0 0 4px;
}

.sidebar-brand h2 {
  margin: 0;
  font-size: 1.1rem;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.nav-item {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: right;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-item:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 174, 103, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.is-active {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent);
}

#dashboardSection,
#ordersSection,
#accountsSection,
#settingsSection {
  scroll-margin-top: 20px;
}

.sidebar-note {
  margin: 18px 0 0;
  line-height: 1.85;
}

.admin-main {
  display: grid;
  gap: 18px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}

.admin-actions {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

.admin-account {
  min-width: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.account-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
}

.account-value {
  display: block;
  margin-top: 10px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.96rem;
  line-height: 1.8;
  word-break: break-word;
}

.logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.logout-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.logout-button .button-spinner {
  border-color: rgba(255, 255, 255, 0.18);
  border-top-color: var(--text);
}

.logout-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.shell-message {
  margin: 0;
}

.module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  padding: 24px;
}

.module-card p {
  margin: 10px 0 0;
  line-height: 1.85;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel);
}

.summary-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.summary-value {
  display: block;
  margin-top: 14px;
  font-family: "Roboto Mono", monospace;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.summary-note {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.88rem;
}

.orders-toolbar,
.orders-panel,
.accounts-toolbar,
.accounts-panel {
  padding: 24px;
}

.orders-toolbar,
.accounts-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
}

.orders-toolbar-copy h2 {
  margin: 14px 0 8px;
  font-family: "Noto Kufi Arabic", sans-serif;
  line-height: 1.4;
}

.orders-toolbar-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.orders-toolbar-fields,
.accounts-toolbar-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.85fr);
  gap: 14px;
}

.select-input {
  appearance: none;
}

.orders-panel-head,
.modal-head,
.modal-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.orders-panel-head h2,
.modal-head h3,
.modal-section h4 {
  margin: 14px 0 8px;
  font-family: "Noto Kufi Arabic", sans-serif;
  line-height: 1.4;
}

.orders-panel-head h2,
.modal-head h3 {
  font-size: 1.25rem;
}

.orders-panel-meta {
  min-width: 126px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  text-align: center;
  font-weight: 700;
}

.orders-state,
.accounts-state {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 42px 18px;
  margin-top: 18px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.orders-state h3,
.accounts-state h3,
.detail-card p,
.detail-card h4 {
  margin: 0;
}

.orders-state p,
.accounts-state p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 52ch;
}

.state-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(214, 174, 103, 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.orders-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.orders-table th {
  position: sticky;
  top: 0;
  background: var(--panel-muted);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
  z-index: 1;
}

.orders-table tbody tr {
  transition: background-color 180ms ease;
}

.orders-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.cell-primary {
  display: grid;
  gap: 6px;
}

.cell-title {
  color: var(--text);
  font-weight: 700;
}

.cell-subtitle {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.mono {
  direction: ltr;
  unicode-bidi: plaintext;
  font-family: "Roboto Mono", monospace;
}

.status-cell {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-new {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-processing {
  background: var(--info-soft);
  color: var(--info);
}

.status-done {
  background: var(--success-soft);
  color: var(--success);
}

.status-cancelled {
  background: var(--error-soft);
  color: var(--error);
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.badge-admin {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-team {
  background: var(--info-soft);
  color: var(--info);
}

.badge-customer {
  background: var(--success-soft);
  color: var(--success);
}

.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-select,
.modal-status-select {
  min-height: 44px;
}

.actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 112px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.action-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.action-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.action-button-primary {
  border-color: rgba(255, 255, 255, 0.08);
}

.action-button-whatsapp {
  border-color: rgba(131, 195, 163, 0.18);
  background: var(--success-soft);
  color: var(--success);
}

.action-button-warning {
  border-color: rgba(136, 169, 218, 0.2);
  background: var(--info-soft);
  color: var(--info);
}

.action-button-danger {
  border-color: rgba(219, 125, 143, 0.2);
  background: var(--error-soft);
  color: var(--error);
}

.secondary-grid {
  margin-top: 2px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 10, 0.74);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(980px, calc(100% - 28px));
  max-height: calc(100vh - 34px);
  margin: 17px auto;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel-strong);
  overflow: auto;
}

.modal-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.3rem;
}

.modal-close-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.detail-card strong {
  font-size: 1rem;
}

.detail-label {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.modal-section {
  margin-top: 18px;
}

.status-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.items-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.item-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.item-title {
  margin: 0;
  font-size: 1rem;
}

.item-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.item-meta-block {
  display: grid;
  gap: 6px;
}

.item-meta-label {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.notes-empty-card {
  grid-column: 1 / -1;
}

.empty-items {
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-note {
  margin: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--error-soft);
  color: var(--error);
  text-align: center;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .auth-grid,
  .admin-layout,
  .module-grid,
  .summary-grid,
  .orders-toolbar,
  .accounts-toolbar,
  .orders-toolbar-fields,
  .accounts-toolbar-fields {
    grid-template-columns: 1fr;
  }

  .modal-info-grid,
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-inline: 12px;
  }

  .auth-panel,
  .brand-panel,
  .admin-sidebar,
  .admin-header,
  .module-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .admin-header {
    flex-direction: column;
  }

  .admin-actions,
  .admin-account {
    width: 100%;
    min-width: 0;
  }

  .future-grid {
    grid-template-columns: 1fr;
  }

  .orders-panel,
  .orders-toolbar,
  .accounts-toolbar,
  .summary-card,
  .modal-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .orders-panel-head,
  .modal-head,
  .modal-section-head,
  .status-control-group {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-info-grid,
  .item-meta,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .orders-table {
    min-width: 0;
  }

  .orders-table thead {
    display: none;
  }

  .orders-table,
  .orders-table tbody,
  .orders-table tr,
  .orders-table td {
    display: block;
    width: 100%;
  }

  .orders-table tbody {
    display: grid;
    gap: 12px;
  }

  .orders-table tr {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
  }

  .orders-table td {
    position: relative;
    padding: 14px;
    padding-top: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .orders-table td:last-child {
    border-bottom: 0;
  }

  .orders-table td::before {
    content: attr(data-label);
    position: absolute;
    top: 10px;
    right: 14px;
    color: var(--text-dim);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .actions-cell {
    justify-content: stretch;
  }

  .action-button {
    flex: 1 1 100%;
    width: 100%;
  }
}
