* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

:root {
  --bg-soft: #edf4ef;
  --bg-panel: #17382e;
  --bg-panel-2: #215343;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: #f7faf8;
  --text-main: #18342a;
  --text-muted: #6c7d74;
  --line: rgba(24, 52, 42, 0.1);
  --brand: #0f8d70;
  --brand-strong: #15493d;
  --accent: #e65b43;
  --accent-strong: #cc422f;
  --action-blue: #2487c8;
  --action-blue-strong: #165f97;
  --action-blue-deep: #0f4f82;
  --action-blue-soft: #eef7ff;
  --action-blue-line: rgba(36, 135, 200, 0.18);
  --danger: #cf3f3f;
  --shadow: 0 24px 60px rgba(15, 35, 29, 0.12);
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-numeric: "Space Grotesk", "Outfit", "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 85% 14%, rgba(15, 141, 112, 0.08), transparent 18%),
    linear-gradient(140deg, #edf4ef 0%, #e8f0eb 48%, #f9f6ef 100%);
  min-height: 100vh;
  color: var(--text-main);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-soft: #09131d;
    --bg-panel: #0f2436;
    --bg-panel-2: #153852;
    --surface: rgba(10, 21, 31, 0.9);
    --surface-soft: #112332;
    --text-main: #ecf5fb;
    --text-muted: #99aec0;
    --line: rgba(191, 221, 242, 0.12);
    --brand: #38c6ff;
    --brand-strong: #d9f3ff;
    --accent: #ff7c63;
    --accent-strong: #ff9b87;
    --action-blue: #38a6ec;
    --action-blue-strong: #1f7fca;
    --action-blue-deep: #0f5f97;
    --action-blue-soft: rgba(56, 166, 236, 0.12);
    --action-blue-line: rgba(56, 166, 236, 0.22);
    --danger: #ff726a;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(42, 96, 134, 0.22), transparent 28%),
      radial-gradient(circle at 85% 14%, rgba(56, 198, 255, 0.14), transparent 18%),
      linear-gradient(145deg, #071018 0%, #0a1823 52%, #0d2030 100%);
    color: var(--text-main);
  }

  .container,
  .card,
  .section,
  .dashboard-soft-panel,
  .dashboard-activity-card,
  .dashboard-list-button,
  .managed-user-form,
  .editor-preview-wrap,
  .editor-stock-summary,
  .stock-entry-card,
  .stock-template-card,
  .auth-card,
  .auth-form,
  .cart-drawer,
  .cart-item,
  .cart-drawer-summary,
  .alert-modal,
  .user-modal {
    background: linear-gradient(180deg, rgba(11, 24, 35, 0.96), rgba(14, 29, 41, 0.92));
    border-color: rgba(153, 174, 192, 0.14);
    color: var(--text-main);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  }

  .header,
  .dashboard-topbar,
  .sidebar-shell,
  .dashboard-layout .sidebar-shell,
  .sidebar-top {
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.96), rgba(13, 31, 46, 0.92));
    border-color: rgba(153, 174, 192, 0.12);
  }

  .sidebar-item,
  .header-home-btn,
  .sidebar-toggle-btn,
  .copy-id-button,
  .status-pill,
  .account-stock-pill,
  .btn-secondary {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92));
    border-color: rgba(95, 155, 201, 0.2);
    color: #eaf6ff;
  }

  input,
  select,
  textarea,
  .user-create-form select,
  .user-create-form input,
  .stock-entry-field,
  .managed-user-readonly {
    background: rgba(9, 22, 33, 0.92);
    border-color: rgba(153, 174, 192, 0.16);
    color: var(--text-main);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  input::placeholder,
  textarea::placeholder {
    color: #7f96a8;
  }

  .muted,
  .dashboard-list-meta,
  .dashboard-list-caption,
  .card .muted,
  .auth-message,
  .user-modal-copy,
  .delivery-template-text,
  .account-duration {
    color: var(--text-muted);
  }

  .account-box,
  .account-media-frame,
  .account-cover,
  .account-cover-has-image {
    background: linear-gradient(180deg, rgba(10, 21, 31, 0.98), rgba(14, 29, 41, 0.94));
    border-color: rgba(153, 174, 192, 0.12);
  }

  .account-title,
  .card-title,
  .delivery-account-title,
  .dashboard-banner h2,
  .section-head h2,
  h1,
  h2,
  h3,
  h4,
  strong,
  label {
    color: var(--text-main);
  }

  .price,
  .wallet-summary-amount,
  .wallet-summary-earnings-value,
  .brand-name-next {
    color: #ffffff;
  }

  .old-price {
    color: #7f96a8;
  }

  .feedback.error,
  .stock-entry-status.is-delivered,
  .account-stock-pill.out-of-stock {
    background: rgba(255, 114, 106, 0.12);
    border-color: rgba(255, 114, 106, 0.2);
    color: #ff9b87;
  }

  .feedback.success,
  .stock-entry-status,
  .account-stock-pill {
    background: rgba(56, 198, 255, 0.12);
    border-color: rgba(56, 198, 255, 0.2);
    color: #8edfff;
  }
}

body.app-booting #loginScreen,
body.app-booting #appScreen {
  visibility: hidden;
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
}

.hidden {
  display: none !important;
}

.alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 10, 13, 0.5);
  backdrop-filter: blur(10px);
}

.alert-modal {
  width: min(460px, 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 241, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 30px 28px 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.alert-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #f13b30 0%, #c92d24 100%);
  box-shadow: 0 14px 28px rgba(201, 45, 36, 0.24);
}

.alert-modal h3 {
  margin-bottom: 10px;
  font-size: 30px;
  color: #1f2f29;
}

.alert-modal p {
  color: #56685f;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.alert-close-btn {
  width: 100%;
  background: linear-gradient(135deg, #f13b30 0%, #c92d24 100%);
  color: white;
}

.alert-overlay.success .alert-badge {
  background: linear-gradient(135deg, var(--action-blue) 0%, var(--action-blue-strong) 100%);
}

.alert-overlay.success .alert-close-btn {
  background: linear-gradient(135deg, var(--action-blue) 0%, var(--action-blue-strong) 100%);
}

.alert-overlay.error .alert-badge {
  background: linear-gradient(135deg, #f13b30 0%, #c92d24 100%);
}

.user-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  background: rgba(7, 10, 13, 0.56);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.user-modal {
  width: min(620px, 100%);
  margin: auto 0;
  padding: 30px 28px 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.26);
}

.user-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.user-modal-kicker {
  color: #6a7a71;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.user-modal-head h3 {
  font-size: 34px;
  color: #183127;
  letter-spacing: -0.05em;
}

.user-modal-copy {
  color: #5f6f67;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.user-modal-close {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--action-blue-strong) 0%, var(--action-blue-deep) 100%);
  color: white;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 14px 26px rgba(22, 95, 151, 0.22);
}

.user-modal-close:hover {
  transform: none;
  box-shadow: none;
}

.user-create-form {
  display: grid;
}

.user-create-form select,
.user-create-form input {
  width: 100%;
  padding: 17px 18px;
  border-radius: 18px;
  border: 1px solid rgba(21, 59, 49, 0.12);
  background: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 24px rgba(22, 46, 36, 0.04);
}

.user-create-form label {
  font-size: 15px;
  margin-bottom: 8px;
}

.user-modal-meta {
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f4f8f5;
  border: 1px solid #e0e9e2;
  color: #4f6058;
  display: grid;
  gap: 8px;
}

.recharge-confirm-summary p {
  margin: 0;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(145, 180, 214, 0.28);
}

.recharge-confirm-summary span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7c87;
}

.recharge-confirm-summary strong {
  font-size: 16px;
  color: #183127;
}

.direct-purchase-confirm-summary {
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.92), rgba(231, 242, 252, 0.88));
  border: 1px solid rgba(64, 129, 181, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.direct-purchase-confirm-summary p {
  gap: 5px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 253, 0.94));
  border: 1px solid rgba(83, 140, 186, 0.16);
  box-shadow: 0 10px 24px rgba(20, 62, 98, 0.08);
}

.direct-purchase-confirm-summary span {
  color: #6d7f8f;
  letter-spacing: 0.1em;
}

.direct-purchase-confirm-summary strong {
  color: #17382d;
  font-size: 17px;
}

.user-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.delivery-modal {
  width: min(780px, 100%);
}

.delivery-accounts-list {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.delivery-account-card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(245, 250, 247, 0.96), rgba(239, 246, 242, 0.92));
  border: 1px solid rgba(18, 61, 49, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.delivery-account-title {
  font-size: 22px;
  color: #17382d;
  margin-bottom: 14px;
}

.delivery-template-block {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 61, 49, 0.08);
}

.delivery-template-block + .delivery-template-block {
  margin-top: 12px;
}

.delivery-template-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f756b;
  margin-bottom: 10px;
}

.delivery-template-copy {
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: #1d3930;
  margin: 0 0 14px;
}

.delivery-copy-btn {
  min-width: 180px;
}

.delivery-stock-note {
  color: #60766c;
  font-size: 14px;
  margin-top: 14px;
}

.delivery-modal-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 36px;
}

.card {
  background: var(--surface);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
}

.auth-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 16px;
  overflow: hidden;
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 12, 0.55), rgba(8, 12, 12, 0.38)),
    url("./assets/portada-next-stream.png") center center / cover no-repeat;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.02);
}

.auth-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 52%),
    linear-gradient(135deg, rgba(8, 70, 62, 0.18), rgba(255, 102, 72, 0.12));
  pointer-events: none;
}

.brand-mark,
.mini-logo,
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-mark {
  width: min(100%, 380px);
  height: auto;
  max-width: 380px;
  max-height: none;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  margin: 0 auto 8px;
  padding: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.brand-name {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 68px);
  line-height: 0.95;
  margin-bottom: 14px;
  letter-spacing: -0.05em;
}

.brand-name-next,
.brand-name-stream {
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name-next {
  color: var(--accent);
  text-shadow: 0 8px 24px rgba(230, 91, 67, 0.18);
}

.brand-name-stream {
  color: #fffdf9;
  text-shadow: 0 8px 26px rgba(15, 35, 29, 0.24);
}

.brand-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 0;
  transform: none;
  transform-origin: center;
}

.auth-brand-top .brand-name {
  display: none;
}

.brand-copy {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 28px;
  text-align: center;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 62px 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(251, 252, 249, 0.48) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.auth-brand-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.auth-header {
  margin-bottom: 14px;
  text-align: center;
}

.auth-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.auth-header h2 {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.auth-message {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
  text-align: center;
  font-size: 18px;
}

.mini-logo-image,
.header-logo-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.feedback {
  margin-bottom: 16px;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.feedback.success {
  background: #ebfbf1;
  color: #0f6d47;
  border: 1px solid #b8ebcc;
}

.feedback.error {
  background: #fff0f0;
  color: #ad2f2f;
  border: 1px solid #f0c7c7;
}

.auth-form {
  display: grid;
  width: 100%;
  gap: 2px;
}

#loginForm {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(244, 249, 246, 0.44) 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
  border-radius: 32px;
  padding: 42px 40px 34px;
  backdrop-filter: blur(14px);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #26453a;
}

input,
select,
textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(21, 59, 49, 0.12);
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 24px rgba(22, 46, 36, 0.04);
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #8b9a93;
  font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(230, 91, 67, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(230, 91, 67, 0.12), 0 12px 30px rgba(22, 46, 36, 0.08);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--text-main);
  font-size: 19px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.form-note,
.demo {
  text-align: center;
  color: #7a8b82;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
}

#loginForm .demo {
  margin-top: 12px;
}

button {
  border: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 16px;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--action-blue) 0%, var(--action-blue-strong) 100%);
  color: white;
  width: 100%;
  box-shadow: 0 16px 30px rgba(22, 95, 151, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(15, 79, 130, 0.28);
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.auth-links-single {
  margin-top: 16px;
}

.text-link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--accent-strong);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  width: auto;
  border-radius: 0;
}

.text-link:hover {
  color: #f13b30;
  box-shadow: none;
  transform: none;
}

.btn-danger {
  background: #ef4444;
  color: white;
  width: 100%;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-buy {
  background: linear-gradient(135deg, var(--action-blue) 0%, var(--action-blue-strong) 100%);
  color: white;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 16px 30px rgba(22, 95, 151, 0.22);
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(15, 79, 130, 0.24);
}

header {
  position: relative;
  z-index: 30;
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 54, 44, 0.08);
  box-shadow: 0 10px 28px rgba(15, 37, 31, 0.06);
}

.dashboard-banner {
  position: relative;
  min-height: 244px;
  padding: 28px 30px;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 12% 18%, rgba(39, 201, 255, 0.26), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(241, 122, 48, 0.18), transparent 18%),
    linear-gradient(120deg, #083c65 0%, #0f5f90 45%, #1787c7 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 28px 64px rgba(18, 72, 111, 0.18);
  background-size: cover;
  background-position: center;
}

.header-banner-inline {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 176px;
  margin-top: 4px;
}

.dashboard-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(3, 17, 29, 0.1), rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(8, 34, 54, 0.14));
  pointer-events: none;
}

.dashboard-banner.has-custom-banner {
  background-size: cover;
  background-position: center;
}

.dashboard-banner-controls {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-banner-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 24, 41, 0.38);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(7, 24, 41, 0.18);
  backdrop-filter: blur(12px);
}

.dashboard-banner-btn:hover {
  transform: translateY(-1px);
  background: rgba(7, 24, 41, 0.52);
}

.dashboard-banner-btn-secondary {
  background: rgba(255, 255, 255, 0.16);
}

.dashboard-banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 142px;
  padding: 16px 28px 14px;
  gap: 24px;
}

.header-side {
  display: grid;
  justify-items: flex-start;
  align-items: flex-start;
  gap: 12px;
  padding-right: 0;
  flex: 0 0 260px;
}

.header-static-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 0;
  align-self: center;
  padding-top: 0;
  flex: 0 0 auto;
}

.header-branding {
  display: grid;
  justify-items: flex-start;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.header-branding .logo {
  width: 190px;
}

.header-branding .header-logo-image {
  filter: drop-shadow(0 14px 28px rgba(18, 72, 111, 0.12));
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.header-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  position: fixed !important;
  top: 18px;
  right: 28px;
  z-index: 46;
  padding-top: 0;
  pointer-events: auto;
}

.sidebar-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  transform: none;
  margin: 0;
  z-index: 90;
  pointer-events: auto;
}

.sidebar-toggle-wrap-in-sidebar {
  width: 100%;
  justify-content: flex-start;
  margin: 0 0 4px;
}

.sidebar-toggle-wrap-collapsed {
  width: auto;
  margin: 0;
}

.sidebar-toggle-wrap-in-sidebar .sidebar-toggle-btn {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 18px;
}

.sidebar-toggle-btn {
  width: 56px;
  min-width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(27, 92, 140, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(234, 244, 250, 0.92) 100%);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: 0 16px 34px rgba(17, 72, 112, 0.14);
}

.sidebar-toggle-btn span {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #1e5f90;
  display: block;
}

.sidebar-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(17, 72, 112, 0.18);
}

.header-branding:hover {
  transform: none;
  box-shadow: none;
}

.header-profile-chip {
  margin: 0;
  color: #718279;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.header-profile-chip span {
  color: #163b32;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-left: 6px;
}

.header-username-chip {
  margin: -4px 0 0;
  color: #6f8178;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.header-username-chip span {
  color: #0f5f90;
  font-weight: 800;
}

.header-home-btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 20px;
  border: 1px solid rgba(27, 92, 140, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 252, 0.94) 100%);
  color: #194e7d;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(17, 72, 112, 0.12);
}

.header-home-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(17, 72, 112, 0.16);
}

.header-cart-btn {
  position: relative;
  width: 62px;
  min-width: 62px;
  height: 62px;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(27, 92, 140, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 245, 251, 0.94) 100%);
  color: #1b5d8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(17, 72, 112, 0.14);
}

.header-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(17, 72, 112, 0.18);
}

.header-cart-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.header-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(21, 59, 49, 0.14);
  color: #18342a;
  font-size: 12px;
  font-weight: 900;
  line-height: 26px;
  text-align: center;
  box-shadow: 0 10px 18px rgba(17, 72, 112, 0.14);
}

.header-cart-count.has-items {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
}

.header-logout-btn {
  min-height: 62px;
  padding: 0 22px;
  border-radius: 22px;
  border: 1px solid rgba(36, 135, 200, 0.18);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98) 0%, rgba(235, 245, 252, 0.94) 100%);
  color: var(--action-blue-strong);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(22, 95, 151, 0.12);
}

.header-logout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(22, 95, 151, 0.16);
}

.theme-mode-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(27, 92, 140, 0.14);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98) 0%, rgba(235, 245, 252, 0.94) 100%);
  box-shadow: 0 16px 30px rgba(22, 95, 151, 0.1);
}

.theme-mode-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7690;
}

.theme-mode-select {
  min-height: 40px;
  padding: 0 36px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(27, 92, 140, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #11476d;
  font-weight: 700;
  cursor: pointer;
  appearance: auto;
}

.theme-mode-select option {
  background: #ffffff;
  color: #183127;
}

.main-content {
  padding-top: 24px;
  padding-bottom: 24px;
}

.dashboard-main {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 28px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 30px;
  padding-top: 28px;
  padding-bottom: 24px;
  align-items: start;
  position: relative;
}

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  padding: 22px 18px;
  background:
    radial-gradient(circle at top right, rgba(39, 201, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(233, 247, 255, 0.98) 0%, rgba(220, 239, 252, 0.94) 52%, rgba(238, 247, 255, 0.96) 100%);
  border: 1px solid rgba(30, 95, 144, 0.12);
  box-shadow: 0 28px 58px rgba(22, 74, 117, 0.16);
  transition: opacity 0.22s ease, transform 0.22s ease, width 0.22s ease, margin 0.22s ease, padding 0.22s ease;
  overflow: visible;
}

.dashboard-layout.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
  gap: 0;
}

.dashboard-layout.sidebar-collapsed .dashboard-sidebar {
  display: block;
  width: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dashboard-layout.sidebar-collapsed .sidebar-shell {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}

.sidebar-top {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(30, 95, 144, 0.14);
}

.sidebar-brand-logo {
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.sidebar-brand-image {
  width: min(100%, 210px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  padding: 0;
}

.sidebar-brand-logo:hover {
  transform: none;
  box-shadow: none;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #123e5f;
  text-align: center;
}

.sidebar-profile-label {
  font-size: 15px;
  font-weight: 700;
  color: #5d7690;
}

.sidebar-profile-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #11476d;
}

.sidebar-wallet {
  border-radius: 24px;
  padding: 18px 18px 16px;
  background: linear-gradient(145deg, rgba(8, 61, 102, 0.96), rgba(17, 102, 162, 0.94));
  border: 1px solid rgba(39, 201, 255, 0.18);
  color: #f4fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 34px rgba(21, 83, 128, 0.18);
}

.sidebar-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sidebar-wallet-label {
  font-size: 16px;
  font-weight: 700;
  color: rgba(233, 247, 255, 0.78);
}

.sidebar-wallet-amount {
  font-family: var(--font-numeric);
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums lining-nums;
}

.sidebar-wallet-id {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(233, 247, 255, 0.72);
  word-break: break-word;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-wallet-earnings {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(233, 247, 255, 0.16);
}

.sidebar-wallet-earnings-label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(233, 247, 255, 0.78);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-wallet-earnings-amount {
  font-family: var(--font-numeric);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #ffffff;
  font-variant-numeric: tabular-nums lining-nums;
}

.copy-id-button {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 57, 47, 0.11);
  background: linear-gradient(180deg, #ffffff, #f7faf8);
  color: #183127;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.22s ease, color 0.22s ease;
  box-shadow: 0 12px 24px rgba(20, 44, 36, 0.08);
  position: relative;
  overflow: hidden;
}

.copy-id-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(24, 49, 39, 0.12);
  border-color: #bfcfc6;
}

.copy-id-button:active {
  transform: translateY(0);
}

.copy-id-label {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7a71;
}

.copy-id-value {
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0f3b2d;
  word-break: break-all;
}

.copy-id-action {
  font-size: 12px;
  font-weight: 700;
  color: #0b7a63;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.copy-id-button.is-copying {
  border-color: rgba(30, 95, 144, 0.2);
  background: linear-gradient(180deg, #fafdff, #eef6fb);
  box-shadow: 0 16px 30px rgba(30, 95, 144, 0.12);
}

.copy-id-button.is-copying .copy-id-action {
  color: #1e5f90;
  transform: translateX(2px);
}

.copy-id-button.is-copied {
  border-color: rgba(11, 122, 99, 0.18);
  background: linear-gradient(180deg, #f4fffb, #ecfaf4);
  box-shadow: 0 18px 34px rgba(11, 122, 99, 0.14);
}

.copy-id-button.is-copied .copy-id-label,
.copy-id-button.is-copied .copy-id-value,
.copy-id-button.is-copied .copy-id-action {
  color: #0c7b64;
}

.copy-id-button.is-copied .copy-id-action {
  transform: translateX(3px);
}

.copy-id-button.has-copy-error {
  border-color: rgba(207, 63, 63, 0.18);
  background: linear-gradient(180deg, #fff8f8, #fff0f0);
  box-shadow: 0 18px 34px rgba(207, 63, 63, 0.1);
}

.copy-id-button.has-copy-error .copy-id-label,
.copy-id-button.has-copy-error .copy-id-value,
.copy-id-button.has-copy-error .copy-id-action {
  color: #b93737;
}

.copy-id-large .copy-id-value {
  font-family: var(--font-numeric);
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.copy-id-compact .copy-id-value {
  font-family: var(--font-numeric);
  font-size: 18px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
}

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

.sidebar-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(30, 95, 144, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #18456a;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(23, 86, 133, 0.06);
}

.sidebar-item:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.96));
  border-color: rgba(30, 95, 144, 0.18);
  box-shadow: 0 14px 26px rgba(23, 86, 133, 0.1);
  transform: translateY(-1px);
}

.sidebar-item.active {
  background: linear-gradient(135deg, rgba(39, 201, 255, 0.18), rgba(255, 255, 255, 0.98));
  border-color: rgba(30, 95, 144, 0.24);
  color: #0f5f90;
  box-shadow: 0 16px 30px rgba(23, 86, 133, 0.12);
}

.sidebar-item-danger {
  color: #b9251d;
}

.sidebar-item-danger:hover {
  background: rgba(241, 59, 48, 0.08);
}

.sidebar-item-legacy-logout {
  display: none !important;
}

.sidebar-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(237, 246, 252, 0.9) 58%, rgba(223, 238, 248, 0.94) 100%);
  border: 1px solid rgba(30, 95, 144, 0.14);
  color: inherit;
  text-align: center;
  flex: 0 0 38px;
  font-size: 0;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 18px rgba(22, 95, 151, 0.08);
  overflow: hidden;
}

.sidebar-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.sidebar-icon::before {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #174f7d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

[data-dashboard-view="home"] .sidebar-icon::before {
  content: "IN";
}

#openUserModalBtn .sidebar-icon::before {
  content: "+";
}

[data-dashboard-view="users"] .sidebar-icon::before {
  content: "US";
}

[data-dashboard-view="accounts"] .sidebar-icon::before {
  content: "CC";
}

[data-dashboard-view="editor"] .sidebar-icon::before {
  content: "ED";
}

[data-dashboard-view="orders"] .sidebar-icon::before {
  content: "PD";
}

[data-dashboard-view="management"] .sidebar-icon::before {
  content: "MG";
}

[data-dashboard-view="renewals"] .sidebar-icon::before {
  content: "RN";
}

[data-dashboard-view="transactions"] .sidebar-icon::before {
  content: "TR";
}

#openRechargeModalBtn .sidebar-icon::before {
  content: "$";
}

#logoutBtn .sidebar-icon::before {
  content: "X";
}

.sidebar-item.active .sidebar-icon {
  background: radial-gradient(circle at top left, rgba(143, 211, 255, 0.95), rgba(79, 171, 230, 0.92) 58%, rgba(31, 115, 176, 0.94) 100%);
  border-color: rgba(30, 95, 144, 0.22);
  color: #0f5f90;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 22px rgba(20, 92, 147, 0.22);
}

.sidebar-item.active .sidebar-icon::before {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(15, 95, 144, 0.32);
}

.sidebar-item-danger .sidebar-icon {
  color: #b9251d;
  border-color: rgba(241, 59, 48, 0.14);
  background: radial-gradient(circle at top left, rgba(255, 242, 241, 0.96), rgba(255, 233, 231, 0.92) 58%, rgba(255, 220, 216, 0.94) 100%);
}

.sidebar-item-danger .sidebar-icon::before {
  color: #c43d32;
}

.sidebar-item span:last-child {
  flex: 1;
  min-width: 0;
}

.sidebar-arrow {
  display: none;
  margin-left: auto;
  font-size: 24px;
  line-height: 1;
  color: #6a7a71;
}

.dashboard-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wallet-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.wallet-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-soft-panel {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 249, 0.92), rgba(242, 247, 244, 0.88));
  border: 1px solid rgba(21, 59, 49, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dashboard-soft-panel h3 {
  margin: 0 0 12px 0;
  font-family: var(--font-display);
  font-size: 24px;
  color: #183127;
}

.wallet-summary-panel {
  display: flex;
  flex-direction: column;
}

.wallet-summary-amount {
  font-family: var(--font-numeric);
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand-strong);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums lining-nums;
}

.wallet-summary-earnings {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 141, 112, 0.08), rgba(8, 199, 232, 0.08));
  border: 1px solid rgba(15, 141, 112, 0.14);
}

.wallet-summary-earnings-head,
.commission-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wallet-summary-earnings-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f8d70;
}

.wallet-summary-earnings-value {
  font-family: var(--font-numeric);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #08c7e8;
  font-variant-numeric: tabular-nums lining-nums;
}

.commission-move-btn {
  width: auto;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

.sidebar-commission-move-btn {
  width: 100%;
  margin-top: 10px;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.commission-saldo {
  margin-top: 6px;
}

.wallet-action-stack {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.dashboard-form-stack {
  display: grid;
  gap: 10px;
}

.dashboard-form-stack input,
.dashboard-form-stack select,
.dashboard-form-stack textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(21, 59, 49, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #183127;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.dashboard-stack-list {
  display: grid;
  gap: 12px;
}

.dashboard-empty-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed #cad8d0;
  background: #ffffff;
  color: #5b6d64;
}

.dashboard-list-button,
.dashboard-activity-card {
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(21, 59, 49, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92));
  color: #183127;
  text-align: left;
  box-shadow: 0 12px 24px rgba(18, 36, 30, 0.06);
}

.dashboard-list-button {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-list-button.active {
  border-color: rgba(21, 97, 78, 0.3);
  background: linear-gradient(135deg, rgba(21, 97, 78, 0.08), rgba(255, 255, 255, 0.98));
}

.dashboard-list-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(18, 36, 30, 0.09);
}

.dashboard-list-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.dashboard-list-side {
  text-align: right;
}

.dashboard-list-id {
  margin-top: 10px;
}

.dashboard-list-meta {
  margin-top: 4px;
  color: #64756c;
  font-size: 13px;
}

.dashboard-list-caption,
.dashboard-list-status {
  color: #6a7a71;
  font-size: 13px;
}

.dashboard-activity-title {
  font-weight: 700;
}

.transaction-copy-btn {
  min-width: 150px;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 91, 67, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(230, 91, 67, 0.16);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}

#dashboardSummarySection > .card {
  position: relative;
  overflow: hidden;
}

#dashboardSummarySection > .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(19, 102, 82, 0.92), rgba(230, 91, 67, 0.88));
}

.section {
  margin-bottom: 0;
}

.section h2 {
  color: var(--brand-strong);
  font-size: clamp(30px, 2.7vw, 42px);
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

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

.shopping-layout {
  display: block;
}

.shopping-cart-total {
  font-family: var(--font-numeric);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums lining-nums;
}

.cart-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-item {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(21, 59, 49, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92));
  box-shadow: 0 14px 28px rgba(18, 36, 30, 0.06);
}

.cart-item-head,
.cart-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-item-foot {
  margin-top: 14px;
}

.cart-item-title {
  display: block;
  font-size: 17px;
}

.cart-item-price {
  font-family: var(--font-numeric);
  font-size: 24px;
  line-height: 1;
  color: var(--accent-strong);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(21, 59, 49, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.cart-qty-btn,
.cart-remove-btn {
  width: auto;
  min-width: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1;
}

.cart-qty-btn {
  background: linear-gradient(135deg, var(--action-blue-strong) 0%, var(--action-blue-deep) 100%);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(15, 79, 130, 0.18);
}

.cart-remove-btn {
  background: rgba(230, 91, 67, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(230, 91, 67, 0.14);
  box-shadow: none;
}

.cart-qty-value {
  min-width: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.shopping-cart-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.shopping-layout .accounts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  justify-content: flex-end;
  background: rgba(7, 10, 13, 0.42);
  backdrop-filter: blur(8px);
}

.cart-drawer {
  width: min(430px, calc(100vw - 24px));
  height: 100%;
  padding: 26px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 247, 0.96));
  border-left: 1px solid rgba(21, 59, 49, 0.08);
  box-shadow: -24px 0 48px rgba(14, 34, 29, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer-head h3 {
  font-size: 32px;
  line-height: 1.04;
}

.cart-drawer-close {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--action-blue-strong) 0%, var(--action-blue-deep) 100%);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.cart-drawer-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cart-drawer-summary-block {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.92));
  border: 1px solid rgba(21, 59, 49, 0.08);
  box-shadow: 0 12px 24px rgba(18, 36, 30, 0.06);
}

.cart-drawer-label {
  color: #6b7b73;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-drawer-summary-block strong {
  font-family: var(--font-numeric);
  font-size: 24px;
  line-height: 1.1;
  color: #17382e;
  font-variant-numeric: tabular-nums lining-nums;
}

.cart-drawer .cart-list {
  flex: 1 1 auto;
  align-content: start;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-drawer .empty {
  margin-bottom: 0;
}

.account-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 248, 0.92));
  border: 1px solid rgba(20, 47, 38, 0.08);
  border-radius: 28px;
  padding: 12px 12px 12px;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: auto;
  box-shadow: 0 18px 38px rgba(18, 36, 30, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.account-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(16, 34, 28, 0.12);
  border-color: rgba(230, 91, 67, 0.18);
}

.account-actions {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.account-actions .btn-buy,
.account-actions .btn-secondary {
  width: 100%;
  margin-top: 0;
}

.account-buy-now-primary {
  min-height: 48px;
  padding: 13px 18px;
  font-size: 17px;
  box-shadow: 0 14px 26px rgba(214, 62, 45, 0.18);
}

.account-cart-secondary {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98), rgba(234, 244, 251, 0.94));
  color: var(--action-blue-strong);
  border: 1px solid var(--action-blue-line);
  box-shadow: none;
}

.account-cart-secondary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.98), rgba(226, 239, 249, 0.94));
}

.account-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.account-box-preview {
  max-width: 320px;
  width: 100%;
}

.account-media-frame {
  background: linear-gradient(180deg, #ffffff, #f7faf8);
  border: 1px solid #edf1ef;
  border-radius: 24px;
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.account-cover {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  isolation: isolate;
  background: #ffffff;
}

.account-cover-has-image {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: unset;
  aspect-ratio: auto;
}

.account-cover-has-image::before,
.account-cover-has-image::after {
  display: none;
}

.account-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 250, 250, 0.9) 58%, rgba(255, 255, 255, 0) 58.2%),
    linear-gradient(135deg, rgba(241, 59, 48, 0) 0%, rgba(241, 59, 48, 0) 55%, rgba(241, 59, 48, 0.92) 55.2%, rgba(201, 45, 36, 0.96) 100%);
  z-index: 0;
}

.account-cover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 54px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 0 0 999px 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 -2px 4px rgba(22, 28, 27, 0.08);
  z-index: 2;
}

.account-cover-backdrop,
.account-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.account-cover-backdrop {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.68), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(16, 22, 21, 0.08));
  z-index: 0;
}

.account-cover-image {
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.account-cover-image-full {
  opacity: 1;
  mix-blend-mode: normal;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: none;
  transform-origin: center;
  border-radius: 0;
  filter: none;
  position: static;
  display: block;
  margin: 0 auto;
}

.account-card-notch {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 84px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  z-index: 1;
}

.account-cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 42px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.account-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(29, 35, 34, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-cover-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.account-cover-brand {
  max-width: 65%;
  font-size: 18px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b3131e;
}

.account-cover-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f13b30, #c92d24);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.account-cover-copy {
  max-width: 64%;
  color: #293330;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.account-cover-front {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 82px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 251, 251, 0.94) 64%, rgba(255, 255, 255, 0) 64.2%),
    linear-gradient(135deg, rgba(241, 59, 48, 0) 0%, rgba(241, 59, 48, 0) 58%, rgba(241, 59, 48, 0.9) 58.2%, rgba(201, 45, 36, 0.95) 100%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(22, 24, 26, 0.12);
}

.account-front-brand {
  display: block;
  color: #173847;
  font-size: 17px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  max-width: 100%;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.72);
}

.account-cover-netflix {
  background: linear-gradient(180deg, #f7f5f2 0%, #eee8e1 100%);
}

.account-cover-disney {
  background: linear-gradient(180deg, #edf5ff 0%, #d9e9ff 100%);
}

.account-cover-spotify {
  background: linear-gradient(180deg, #f0fff4 0%, #dff7e8 100%);
}

.account-cover-crunchy {
  background: linear-gradient(180deg, #fff5ec 0%, #ffe7d2 100%);
}

.account-cover-max {
  background: linear-gradient(180deg, #eef0ff 0%, #dde2ff 100%);
}

.account-info {
  padding: 10px 8px 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  justify-content: flex-start;
}

.account-stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.account-stock-pill.in-stock {
  background: rgba(25, 146, 101, 0.12);
  color: #157c57;
  border: 1px solid rgba(25, 146, 101, 0.16);
}

.account-stock-pill.out-of-stock {
  background: rgba(218, 69, 50, 0.11);
  color: #c63f2f;
  border: 1px solid rgba(218, 69, 50, 0.16);
}

.account-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #1c2a25;
}

.account-duration {
  color: #6e7c74;
  font-size: 14px;
  margin-bottom: 4px;
}

.account-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
  padding-top: 0;
}

.price {
  color: var(--accent-strong);
  font-family: var(--font-numeric);
  font-size: 28px;
  font-weight: 800;
  margin-top: 0;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.account-stock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.commissions-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.commission-sidebar-panel {
  display: grid;
  gap: 14px;
}

.commission-products-list {
  display: grid;
  gap: 14px;
  margin-bottom: 10px;
}

.commission-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(20, 47, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 249, 0.92));
  box-shadow: 0 14px 28px rgba(18, 36, 30, 0.06);
}

.commission-product-main {
  display: grid;
  gap: 6px;
}

.commission-product-main strong {
  font-size: 18px;
}

.commission-input-wrap {
  display: grid;
  gap: 8px;
}

.commission-input-wrap span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7c87;
}

.commission-input-wrap input {
  width: 100%;
}

.account-editor-form {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 249, 0.92), rgba(242, 247, 244, 0.88));
  border: 1px solid rgba(21, 59, 49, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.editor-top-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.account-editor-form label {
  font-size: 16px;
  margin-bottom: 8px;
}

.account-editor-form input,
.account-editor-form select,
.account-editor-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(21, 59, 49, 0.12);
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  font-size: 16px;
}

.account-editor-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
  font-family: var(--font-body);
}

.editor-stock-help {
  margin: -2px 0 12px;
  color: #61746b;
  font-size: 14px;
  line-height: 1.6;
}

.editor-stock-summary {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(17, 96, 160, 0.08);
  border: 1px solid rgba(17, 96, 160, 0.14);
  color: #164067;
}

.editor-stock-summary strong {
  font-size: 16px;
  font-weight: 800;
}

.editor-stock-summary span {
  font-size: 14px;
  line-height: 1.55;
}

.stock-template-card {
  width: 100%;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 64, 101, 0.1);
}

.stock-template-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #1c3549;
}

.stock-list-wrap {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 60, 49, 0.08);
}

.section-head.compact {
  margin-bottom: 18px;
}

.account-stock-list {
  display: grid;
  gap: 14px;
}

.stock-entry-empty {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(247, 251, 249, 0.94);
  border: 1px dashed rgba(18, 61, 49, 0.16);
  color: #5c7168;
}

.stock-entry-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(248, 251, 249, 0.96);
  border: 1px solid rgba(18, 61, 49, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.stock-entry-card-compact {
  padding: 14px 16px;
}

.stock-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.stock-entry-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stock-entry-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.stock-entry-status.is-available {
  background: rgba(25, 146, 101, 0.12);
  color: #157c57;
}

.stock-entry-status.is-delivered {
  background: rgba(214, 62, 45, 0.12);
  color: #c63f2f;
}

.stock-entry-remove {
  border: 1px solid rgba(214, 62, 45, 0.16);
  background: rgba(214, 62, 45, 0.08);
  color: #c63f2f;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 13px;
}

.stock-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stock-entry-grid label {
  display: grid;
  gap: 8px;
}

.stock-entry-grid span {
  font-size: 14px;
  font-weight: 700;
  color: #355247;
}

.stock-entry-grid input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(21, 59, 49, 0.12);
  background: rgba(255, 255, 255, 0.94);
  font-size: 15px;
}

.stock-entry-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stock-entry-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 59, 49, 0.1);
  color: #29453b;
  font-size: 13px;
  line-height: 1.3;
}

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

.editor-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98), rgba(234, 244, 251, 0.94));
  color: var(--action-blue-strong);
  border: 1px solid var(--action-blue-line);
  width: auto;
  box-shadow: 0 16px 28px rgba(22, 95, 151, 0.12);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(22, 95, 151, 0.16);
  border-color: rgba(22, 95, 151, 0.28);
}

.editor-preview-wrap {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 249, 0.92), rgba(242, 247, 244, 0.88));
  border: 1px solid rgba(21, 59, 49, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.editor-preview-label {
  margin-bottom: 14px;
  color: #596860;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.saldo {
  color: var(--brand);
  font-family: var(--font-numeric);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 800;
  margin-top: 10px;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums lining-nums;
}

.client-id {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-top: 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #c92d24;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #e5e7eb;
}

th {
  font-weight: bold;
}

.table-wrap {
  overflow-x: auto;
}

.badge {
  background: #d1fae5;
  color: var(--brand-strong);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.empty {
  background: linear-gradient(180deg, rgba(250, 251, 249, 0.96), rgba(244, 247, 245, 0.92));
  border: 1px dashed rgba(21, 59, 49, 0.14);
  border-radius: 18px;
  padding: 16px;
  color: var(--text-muted);
}

.card-title {
  color: var(--brand-strong);
  font-size: clamp(28px, 2.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.managed-users-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.managed-users-intro .muted {
  margin-top: 8px;
}

.managed-users-search {
  width: min(100%, 320px);
}

.managed-users-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 1fr);
  gap: 18px;
}

.managed-users-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.managed-user-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 249, 0.92), rgba(242, 247, 244, 0.88));
  border: 1px solid rgba(21, 59, 49, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.managed-user-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.managed-user-field {
  min-width: 0;
}

.managed-user-form input,
.managed-user-form select {
  margin-bottom: 0;
}

.managed-user-readonly {
  background: rgba(237, 244, 240, 0.92);
  color: #6a7a71;
}

.managed-user-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-danger-soft {
  background: linear-gradient(180deg, rgba(255, 242, 240, 0.98), rgba(255, 232, 228, 0.94));
  border-color: rgba(214, 62, 45, 0.18);
  color: #c63f2f;
}

.btn-danger-soft:hover {
  background: linear-gradient(180deg, rgba(255, 236, 232, 0.98), rgba(255, 225, 220, 0.94));
  border-color: rgba(214, 62, 45, 0.24);
  color: #b8382a;
}

@media (max-width: 1320px) {
  .shopping-layout .accounts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wallet-grid,
  .wallet-detail-grid {
    grid-template-columns: 1fr;
  }
}

.danger-title {
  color: #dc2626;
}

.muted {
  color: var(--text-muted);
}

.top-gap {
  margin-top: 8px;
}

.bottom-gap {
  margin-bottom: 16px;
}

.mini-logo,
.logo {
  width: 164px;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: white;
  overflow: visible;
  padding: 0;
  box-shadow: none;
}

@media (max-width: 920px) {
  .container {
    padding: 20px;
  }

  .header-inner {
    position: relative;
    min-height: auto;
    padding: 16px 20px 18px;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .header-side {
    width: auto;
    flex: 0 0 220px;
    gap: 10px;
    padding-right: 0;
  }

  .header-banner-inline {
    order: 2;
    flex: 1 1 100%;
    min-height: 210px;
    padding: 22px 22px 24px;
    border-radius: 28px;
    margin-top: 0;
  }

  .dashboard-banner-controls {
    right: 18px;
    bottom: 18px;
  }

  .header-branding .logo {
    width: 128px;
  }

  .header-profile-chip {
    max-width: calc(100vw - 168px);
    font-size: 13px;
    line-height: 1.35;
  }

  .header-profile-chip span {
    font-size: 18px;
    margin-left: 4px;
  }

  .header-controls {
    margin-top: 0;
    flex-wrap: wrap;
  }

  .header-static-actions {
    position: static;
    margin-left: auto;
    align-self: flex-start;
    padding-top: 0;
    z-index: 3;
  }

  .header-utility {
    position: fixed !important;
    top: 16px;
    right: 20px;
    z-index: 60;
  }

  .header-home-btn,
  .sidebar-toggle-btn,
  .header-logout-btn {
    min-height: 50px;
    height: 50px;
    border-radius: 18px;
  }

  .header-home-btn {
    padding: 0 18px;
    font-size: 15px;
  }

  .header-logout-btn {
    padding: 0 16px;
    font-size: 14px;
  }

  .theme-mode-control {
    padding: 8px 12px;
    border-radius: 16px;
  }

  .theme-mode-select {
    min-height: 38px;
    padding-right: 32px;
    font-size: 14px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
    padding-top: 18px;
    gap: 18px;
  }

  .dashboard-sidebar {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    z-index: 2;
    transform: none;
    opacity: 1;
    transition: opacity 0.2s ease, max-height 0.2s ease, padding 0.2s ease, margin 0.2s ease;
  }

  .sidebar-top {
    gap: 12px;
  }

  .sidebar-toggle-wrap-in-sidebar {
    width: 100%;
    justify-content: flex-start;
    margin: 0 0 2px;
  }

  .sidebar-toggle-wrap-in-sidebar .sidebar-toggle-btn {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .dashboard-layout:not(.sidebar-collapsed)::before {
    display: none;
  }

  .dashboard-layout.sidebar-collapsed {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-layout.sidebar-collapsed .dashboard-sidebar {
    display: block;
    width: 100%;
    left: auto;
    top: auto;
    max-height: 62px;
    padding: 0;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
    margin: 0;
    background: transparent;
  }

  .dashboard-layout.sidebar-collapsed .sidebar-shell {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 100%;
    overflow: hidden;
  }

  .dashboard-layout.sidebar-collapsed .sidebar-toggle-wrap-collapsed {
    display: flex;
    justify-content: flex-start;
    padding: 0 0 6px;
  }

  .dashboard-main {
    position: relative;
    z-index: 1;
  }

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

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

  .shopping-layout .accounts-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-tool-grid {
    grid-template-columns: 1fr;
  }

  .wallet-grid,
  .wallet-detail-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-list-row {
    flex-direction: column;
  }

  .dashboard-list-side {
    text-align: left;
  }

  .editor-layout {
    grid-template-columns: 1fr;
  }

  .account-stock-layout {
    grid-template-columns: 1fr;
  }

  .commissions-layout {
    grid-template-columns: 1fr;
  }

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

  .managed-users-layout,
  .managed-user-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 96px;
    height: 96px;
    max-width: 96px;
    max-height: 96px;
    flex-basis: 96px;
  }

  .auth-card {
    max-width: 620px;
    padding: 36px 30px 30px;
  }

  .auth-header h2 {
    font-size: 42px;
  }
}

@media (min-width: 1200px) {
  .auth-shell {
    padding: 24px;
  }

  .auth-card {
    max-width: 1080px;
    padding: 70px 84px 60px;
  }

  .auth-brand-top {
    margin-bottom: 20px;
  }

  .brand-mark {
    width: min(100%, 430px);
    height: auto;
    max-width: 430px;
    max-height: none;
    flex-basis: auto;
    margin-bottom: 24px;
  }

  .brand-name {
    font-size: 82px;
    gap: 14px;
  }

  .auth-header h2 {
    font-size: 62px;
  }

  #loginForm {
    border-radius: 36px;
    padding: 62px 58px 50px;
  }

  label {
    font-size: 16px;
    margin-bottom: 12px;
  }

  input {
    padding: 20px 22px;
    font-size: 17px;
    margin-bottom: 24px;
    border-radius: 22px;
  }

  .checkbox-row {
    font-size: 19px;
    margin-bottom: 34px;
  }

  .checkbox-row input {
    width: 22px;
    height: 22px;
  }

  button {
    font-size: 18px;
    padding: 20px 24px;
    border-radius: 18px;
  }

  .text-link {
    font-size: 16px;
  }

  .demo,
  .form-note {
    font-size: 16px;
    margin-top: 18px;
  }

  .dashboard-layout {
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 38px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .accounts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shopping-layout .accounts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .auth-shell {
    padding: 18px;
  }

  .auth-card,
  .brand-panel,
  .card {
    border-radius: 24px;
  }

  .auth-card {
    max-width: 100%;
    padding: 28px 22px 24px;
  }

  .brand-mark {
    width: min(100%, 280px);
    height: auto;
    max-width: 280px;
    max-height: none;
    flex-basis: auto;
    border-radius: 0;
    padding: 0;
  }

  .logo {
    width: 148px;
    height: auto;
    padding: 0;
  }

  .sidebar-brand-image {
    width: min(100%, 180px);
    height: auto;
  }

  .brand-name {
    gap: 6px;
    font-size: 34px;
  }

  .auth-header h2 {
    font-size: 34px;
  }

  .header-inner {
    min-height: auto;
    padding: 16px 18px 18px;
    gap: 12px;
  }

  .header-side {
    flex: 1 1 100%;
    width: 100%;
    padding-right: 0;
  }

  .header-static-actions {
    width: auto;
    margin-left: 0;
  }

  .header-utility {
    position: fixed !important;
    top: 14px;
    right: 16px;
    z-index: 60;
    background: transparent;
    border: 0;
    box-shadow: none;
    isolation: isolate;
  }

  .user-modal-overlay {
    padding: 14px;
  }

  .user-modal {
    width: 100%;
    margin: 0;
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .header-branding .logo {
    width: 112px;
  }

  .header-controls {
    gap: 10px;
    margin-top: 0;
  }

  .sidebar-top {
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }

  .sidebar-toggle-wrap-in-sidebar {
    margin: 0;
  }

  .sidebar-toggle-wrap-in-sidebar .sidebar-toggle-btn {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .sidebar-toggle-btn {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 18px;
  }

  .header-home-btn {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 15px;
  }

  .header-cart-btn {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 20px;
    box-shadow: 0 10px 18px rgba(17, 72, 112, 0.12);
    overflow: visible;
  }

  .header-cart-count {
    min-width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 11px;
    top: -4px;
    right: -4px;
  }

  .header-logout-btn {
    min-height: 54px;
    padding: 0 16px;
    border-radius: 18px;
    font-size: 14px;
  }

  .theme-mode-control {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .header-profile-chip {
    max-width: calc(100vw - 148px);
    font-size: 12px;
  }

  .header-profile-chip span {
    display: block;
    margin-left: 0;
    font-size: 17px;
  }

  .header-banner-inline {
    min-height: 176px;
    padding: 18px 18px 56px;
    border-radius: 24px;
    align-items: flex-start;
  }

  .dashboard-banner-controls {
    left: 18px;
    right: 18px;
    bottom: 14px;
    justify-content: flex-start;
  }

  .dashboard-banner-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 12px;
  }

  .cart-drawer {
    width: min(410px, calc(100vw - 18px));
    padding: 24px 18px 18px;
  }

  .cart-drawer-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    top: auto;
    left: auto;
    width: 100%;
    max-height: none;
    padding: 18px 16px;
  }

  .dashboard-layout.sidebar-collapsed .dashboard-sidebar {
    top: auto;
    left: auto;
    width: 100%;
    max-height: 58px;
    padding: 0;
  }

  .account-box {
      padding: 8px 8px 10px;
      border-radius: 22px;
      height: auto;
    }

  .account-media-frame {
    padding: 6px;
    border-radius: 18px;
  }

  .account-cover {
    min-height: 208px;
    border-radius: 16px;
  }

  .account-cover-has-image {
    min-height: unset;
  }

  .account-cover-has-image .account-cover-image-full {
    max-height: 208px;
  }

  .account-cover-inner {
    padding: 28px 12px 10px;
  }

  .account-cover-front {
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 54px;
  }

  .account-title {
      font-size: 16px;
      margin-bottom: 2px;
    }

  .price {
    font-size: 22px;
  }

  .account-buy-now-primary {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .account-cart-secondary {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .account-info {
      padding: 8px 5px 0;
      flex: 0 0 auto;
    }

  .account-stock-pill {
      margin-bottom: 6px;
      padding: 5px 10px;
      font-size: 12px;
    }

  .account-duration {
      font-size: 13px;
      margin-bottom: 2px;
    }

  .account-actions {
      gap: 6px;
      margin-top: 6px;
    }

  .commission-product-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-utility::before,
  .header-utility::after,
  .header-cart-btn::before,
  .header-cart-btn::after {
    content: none !important;
    display: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    color-scheme: dark;
  }

  body .login-shell,
  body .auth-shell,
  body .auth-layout,
  body .login-screen,
  body .auth-screen,
  body #loginScreen {
    background:
      radial-gradient(circle at top, rgba(60, 126, 181, 0.2), transparent 38%),
      linear-gradient(180deg, #06111b 0%, #0b1823 55%, #10212f 100%) !important;
  }

  body .auth-card,
  body #loginForm,
  body #registerForm,
  body #recoverForm,
  body .alert-modal,
  body .user-modal,
  body .managed-user-form,
  body .dashboard-soft-panel,
  body .card,
  body .section,
  body .dashboard-activity-card,
  body .editor-preview-wrap,
  body .stock-entry-card,
  body .stock-template-card,
  body .cart-drawer,
  body .cart-item,
  body .cart-drawer-summary {
    background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 29, 41, 0.96)) !important;
    border-color: rgba(153, 174, 192, 0.16) !important;
    color: var(--text-main) !important;
  }

  body h1,
  body h2,
  body h3,
  body h4,
  body p,
  body label,
  body .auth-header h2,
  body .user-modal-head h3,
  body .alert-modal h3,
  body .alert-modal p,
  body .user-modal-copy,
  body .user-modal-kicker,
  body .user-modal-meta,
  body .auth-message,
  body .checkbox-row,
  body .checkbox-row label,
  body .form-note,
  body .demo,
  body .muted,
  body .dashboard-list-meta,
  body .dashboard-list-caption,
  body .delivery-template-label,
  body .delivery-template-text,
  body .sidebar-profile-label,
  body .copy-id-label {
    color: var(--text-main) !important;
  }

  body .muted,
  body .dashboard-list-meta,
  body .dashboard-list-caption,
  body .auth-message,
  body .form-note,
  body .demo,
  body .user-modal-copy,
  body .user-modal-kicker,
  body .delivery-template-label,
  body .delivery-template-text,
  body .copy-id-label,
  body .sidebar-profile-label {
    color: var(--text-muted) !important;
  }

  body input,
  body select,
  body textarea,
  body .user-create-form input,
  body .user-create-form select,
  body .account-editor-form input,
  body .account-editor-form select,
  body .account-editor-form textarea,
  body .stock-entry-field {
    background: rgba(9, 22, 33, 0.95) !important;
    border-color: rgba(153, 174, 192, 0.2) !important;
    color: #eef7ff !important;
    caret-color: #eef7ff !important;
  }

  body input::placeholder,
  body textarea::placeholder {
    color: #8ea6b8 !important;
  }

  body input:-webkit-autofill,
  body input:-webkit-autofill:hover,
  body input:-webkit-autofill:focus,
  body textarea:-webkit-autofill,
  body select:-webkit-autofill {
    -webkit-text-fill-color: #eef7ff !important;
    box-shadow: 0 0 0 1000px rgba(9, 22, 33, 0.95) inset !important;
    transition: background-color 5000s ease-in-out 0s;
  }

  body .checkbox-row input {
    accent-color: var(--action-blue);
  }

  body .auth-view-link,
  body .btn-link,
  body .sidebar-item,
  body .header-home-btn,
  body .copy-id-button,
  body .status-pill,
  body .account-stock-pill,
  body .btn-secondary {
    color: #eef7ff !important;
  }

  body .sidebar-item-danger,
  body .stock-entry-remove,
  body .alert-overlay.error .alert-close-btn {
    color: #ffb0a3 !important;
  }

  body .recharge-confirm-summary,
  body .walletConfirmSummary,
  body .user-modal-meta,
  body .editor-stock-summary {
    background: rgba(16, 35, 51, 0.92) !important;
    border-color: rgba(95, 155, 201, 0.18) !important;
    color: var(--text-main) !important;
  }

  body .direct-purchase-confirm-summary {
    background: linear-gradient(180deg, rgba(11, 28, 42, 0.98), rgba(14, 34, 51, 0.94)) !important;
    border-color: rgba(95, 155, 201, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  }

  body .direct-purchase-confirm-summary p {
    background: linear-gradient(180deg, rgba(237, 246, 255, 0.16), rgba(165, 204, 238, 0.08)) !important;
    border-color: rgba(95, 155, 201, 0.18) !important;
    box-shadow: none !important;
  }

  body .brand-panel,
  body .auth-hero,
  body .auth-side,
  body .auth-card::before,
  body .auth-card::after {
    filter: none !important;
  }

  body .brand-copy,
  body .brand-name-stream,
  body .brand-name-next,
  body .auth-subtitle,
  body .auth-title,
  body .auth-tabs,
  body .auth-links,
  body .auth-links-single,
  body .text-link,
  body .auth-view-link {
    color: #eef7ff !important;
  }

  body .text-link,
  body .auth-view-link {
    text-decoration-color: rgba(143, 211, 255, 0.45);
  }

  body .text-link:hover,
  body .auth-view-link:hover {
    color: #8edfff !important;
  }

  body .feedback.success {
    background: rgba(25, 146, 101, 0.14) !important;
    border-color: rgba(25, 146, 101, 0.28) !important;
    color: #8ef0c7 !important;
  }

  body .feedback.error {
    background: rgba(218, 69, 50, 0.14) !important;
    border-color: rgba(218, 69, 50, 0.28) !important;
    color: #ffb0a3 !important;
  }

  body .btn-primary,
  body .account-buy-now-primary,
  body .sidebar-toggle-btn,
  body .header-home-btn,
  body .header-logout-btn {
    color: #ffffff !important;
  }

  body .btn-secondary,
  body .account-cart-secondary,
  body .copy-id-button,
  body .sidebar-item,
  body .status-pill,
  body .account-stock-pill,
  body .text-link {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
    border-color: rgba(95, 155, 201, 0.2) !important;
    color: #eef7ff !important;
  }

  body .sidebar-item:hover,
  body .copy-id-button:hover,
  body .btn-secondary:hover,
  body .account-cart-secondary:hover {
    background: linear-gradient(180deg, rgba(20, 44, 63, 0.98), rgba(24, 52, 73, 0.94)) !important;
    border-color: rgba(143, 211, 255, 0.28) !important;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28) !important;
  }

  body .sidebar-item.active {
    background: linear-gradient(135deg, rgba(25, 109, 167, 0.44), rgba(16, 35, 51, 0.96)) !important;
    border-color: rgba(143, 211, 255, 0.3) !important;
    color: #ffffff !important;
  }

  body .sidebar-item.active .sidebar-icon,
  body .sidebar-item .sidebar-icon {
    color: #eef7ff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(143, 211, 255, 0.2) !important;
  }

  body .copy-id-button.is-copying,
  body .copy-id-button.is-copied,
  body .copy-id-button.has-copy-error {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
  }

  body .copy-id-button.is-copied .copy-id-label,
  body .copy-id-button.is-copied .copy-id-value,
  body .copy-id-button.is-copied .copy-id-action {
    color: #8ef0c7 !important;
  }

  body .copy-id-button.has-copy-error .copy-id-label,
  body .copy-id-button.has-copy-error .copy-id-value,
  body .copy-id-button.has-copy-error .copy-id-action {
    color: #ffb0a3 !important;
  }

  body .account-title,
  body .delivery-account-title,
  body .price,
  body .wallet-summary-amount,
  body .wallet-summary-earnings-value {
    color: #f6fbff !important;
  }

  body .old-price,
  body .account-duration,
  body .brand-copy,
  body .auth-copy,
  body .auth-helper,
  body .wallet-summary-note {
    color: #99aebf !important;
  }

  body .alert-overlay::before,
  body .user-modal-overlay::before,
  body .cart-drawer-overlay {
    background: rgba(3, 10, 16, 0.7) !important;
  }

  body .main-content,
  body .dashboard-main,
  body .dashboard-layout,
  body .dashboard-home,
  body .accounts-section,
  body .wallet-section,
  body .orders-section,
  body .editor-section,
  body .inventory-section,
  body .users-section,
  body .transactions-section,
  body .renewals-section {
    background: transparent !important;
  }

  body header,
  body .header-inner,
  body .header-side,
  body .header-controls,
  body .header-static-actions,
  body .header-utility {
    background: transparent !important;
    box-shadow: none !important;
  }

  body .dashboard-sidebar,
  body .sidebar-shell,
  body .dashboard-layout .sidebar-shell,
  body .sidebar-top,
  body .sidebar-wallet,
  body .sidebar-wallet-card,
  body .dashboard-list-button,
  body .dashboard-activity-card,
  body .managed-user-form,
  body .managed-user-readonly,
  body .commission-product-row,
  body .commission-sidebar-panel,
  body .delivery-account-card,
  body .delivery-template-block,
  body .stock-template-card,
  body .stock-entry-card,
  body .stock-entry-empty,
  body .dashboard-empty-card,
  body .empty,
  body .table-wrap {
    background:
      radial-gradient(circle at top right, rgba(44, 164, 235, 0.16), transparent 28%),
      linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 31, 45, 0.96) 55%, rgba(10, 22, 33, 0.98) 100%) !important;
    border-color: rgba(122, 172, 214, 0.16) !important;
    color: #edf7ff !important;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.24) !important;
  }

  body .sidebar-profile,
  body .sidebar-profile-label,
  body .sidebar-profile-value,
  body .sidebar-wallet-label,
  body .sidebar-wallet-amount,
  body .sidebar-wallet-earnings-label,
  body .sidebar-wallet-earnings-amount,
  body .sidebar-wallet-id,
  body #sidebarClientId,
  body #sidebarBalance,
  body #sidebarCommissionBalance {
    color: #eef7ff !important;
  }

  body .sidebar-wallet-earnings {
    background: linear-gradient(135deg, rgba(24, 123, 176, 0.22), rgba(20, 68, 103, 0.18)) !important;
    border-color: rgba(122, 172, 214, 0.2) !important;
  }

  body .card,
  body .dashboard-soft-panel,
  body .wallet-summary-panel,
  body .dashboard-activity-card,
  body .dashboard-banner,
  body .shopping-layout,
  body .accounts-grid {
    color: #eef7ff !important;
  }

  body .dashboard-banner:not(.has-custom-banner) {
    background:
      linear-gradient(135deg, rgba(6, 26, 43, 0.9), rgba(22, 95, 151, 0.55)),
      linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 29, 41, 0.96)) !important;
    border-color: rgba(122, 172, 214, 0.22) !important;
  }

  body .dashboard-banner::before {
    background:
      linear-gradient(115deg, rgba(93, 188, 255, 0.06), rgba(255, 255, 255, 0) 50%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 34, 54, 0.12)) !important;
  }

  body .account-box,
  body .account-media-frame,
  body .account-cover,
  body .account-cover-has-image,
  body .account-info {
    background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(15, 30, 43, 0.96)) !important;
    border-color: rgba(122, 172, 214, 0.14) !important;
    color: #eef7ff !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2) !important;
  }

  body .account-media-frame {
    padding: 8px !important;
  }

  body .account-cover-has-image .account-cover-image-full {
    background: #091722 !important;
  }

  body .account-title,
  body .account-duration,
  body .price,
  body .old-price,
  body .account-prices,
  body .dashboard-list-row,
  body .dashboard-list-status,
  body .managed-users-head,
  body .commission-product-main,
  body .commission-product-main strong,
  body .delivery-account-title,
  body .recharge-confirm-summary strong,
  body .stock-entry-grid span,
  body table,
  body th,
  body td,
  body .badge,
  body .card-title,
  body .muted,
  body .client-id,
  body .saldo,
  body .commission-saldo,
  body #clientId,
  body #balance,
  body #commissionBalanceInline,
  body #clientName,
  body #userDisplay,
  body #activePanelLabel {
    color: #eef7ff !important;
  }

  body .muted,
  body .account-duration,
  body .sidebar-wallet-id,
  body .copy-id-label,
  body .wallet-summary-note,
  body .dashboard-list-meta,
  body .dashboard-list-caption,
  body .managed-user-readonly,
  body .commission-input-wrap span,
  body .delivery-template-label,
  body .delivery-template-text,
  body .delivery-stock-note,
  body .stock-template-pre,
  body .stock-entry-chip,
  body .stock-entry-empty,
  body .dashboard-empty-card,
  body .empty,
  body .recharge-confirm-summary span,
  body .editor-stock-help,
  body .editor-preview-label,
  body #accountStockSection .muted {
    color: #9ab0c2 !important;
  }

  body .direct-purchase-confirm-summary span {
    color: #98aec0 !important;
  }

  body .direct-purchase-confirm-summary strong {
    color: #eef7ff !important;
  }

  body .commission-input-wrap input {
    background: rgba(9, 22, 33, 0.95) !important;
    border-color: rgba(153, 174, 192, 0.2) !important;
    color: #eef7ff !important;
  }

  body #accountStockSection label,
  body #accountStockSection strong,
  body #accountStockSection h2,
  body #accountStockSection p,
  body #accountStockSection span,
  body #stockCredentialsSummary strong,
  body #stockCredentialsSummary span,
  body .stock-entry-title-wrap strong,
  body .stock-entry-remove {
    color: #eef7ff !important;
  }

  body #stockCredentialsSummary {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
    border-color: rgba(122, 172, 214, 0.18) !important;
  }

  body #accountStockSection {
    background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 31, 45, 0.96) 55%, rgba(10, 22, 33, 0.98)) !important;
    border-color: rgba(122, 172, 214, 0.16) !important;
  }

  body #accountStockSection .card,
  body #accountStockSection .editor-preview-wrap,
  body #accountStockSection .account-stock-layout,
  body #accountStockSection .account-stock-list {
    background: transparent !important;
    box-shadow: none !important;
  }

  body #accountStockSection .stock-entry-chip {
    background: rgba(16, 35, 51, 0.96) !important;
    border: 1px solid rgba(122, 172, 214, 0.18) !important;
    color: #eef7ff !important;
  }

  body #accountStockSection .stock-entry-chip span,
  body #accountStockSection .stock-entry-chip strong,
  body #accountStockSection .stock-entry-chip small {
    color: #eef7ff !important;
  }

  body #accountStockSection .stock-entry-remove {
    background: rgba(218, 69, 50, 0.12) !important;
    border-color: rgba(218, 69, 50, 0.22) !important;
    color: #ffb0a3 !important;
  }

  body .stock-entry-status.is-available {
    background: rgba(24, 160, 116, 0.16) !important;
    color: #8fe7c5 !important;
    border-color: rgba(24, 160, 116, 0.22) !important;
  }

  body .stock-entry-status.is-delivered {
    background: rgba(218, 69, 50, 0.14) !important;
    color: #ffb0a3 !important;
    border-color: rgba(218, 69, 50, 0.22) !important;
  }

  body .price,
  body .saldo,
  body .wallet-summary-amount,
  body .wallet-summary-earnings-value,
  body .sidebar-wallet-amount,
  body .sidebar-wallet-earnings-amount {
    color: #ffffff !important;
  }

  body .old-price {
    color: #7590a5 !important;
  }

  body .copy-id-button {
    background: linear-gradient(180deg, rgba(13, 31, 46, 0.98), rgba(16, 38, 56, 0.94)) !important;
    border-color: rgba(122, 172, 214, 0.18) !important;
  }

  body .copy-id-value,
  body .copy-id-action,
  body .sidebar-profile-value {
    color: #8fe0ff !important;
  }

  body .section-head h2,
  body .dashboard-banner h2,
  body .card-title,
  body .sidebar-item,
  body .header-home-btn,
  body .header-logout-btn {
    color: #f6fbff !important;
  }

  body .header-home-btn {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
    border-color: rgba(122, 172, 214, 0.2) !important;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22) !important;
  }

  body .account-stock-pill.in-stock {
    background: rgba(24, 160, 116, 0.16) !important;
    color: #8fe7c5 !important;
    border-color: rgba(24, 160, 116, 0.22) !important;
  }

  body .account-stock-pill.out-of-stock {
    background: rgba(218, 69, 50, 0.14) !important;
    color: #ffb0a3 !important;
    border-color: rgba(218, 69, 50, 0.22) !important;
  }

  body .header-logout-btn {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
    border-color: rgba(122, 172, 214, 0.2) !important;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22) !important;
  }

  body .header-logout-btn:hover,
  body .dashboard-banner-btn:hover {
    background: linear-gradient(180deg, rgba(24, 52, 73, 0.98), rgba(28, 61, 85, 0.94)) !important;
  }

  body .dashboard-banner-btn,
  body .dashboard-banner-btn-secondary {
    border-color: rgba(143, 211, 255, 0.22) !important;
    color: #ffffff !important;
  }

  body .theme-mode-control {
    background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
    border-color: rgba(122, 172, 214, 0.18) !important;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22) !important;
  }

  body .theme-mode-label,
  body .theme-mode-select {
    color: #eef7ff !important;
  }

  body .theme-mode-select {
    background: rgba(12, 28, 41, 0.92) !important;
    border-color: rgba(122, 172, 214, 0.16) !important;
    color-scheme: dark;
  }

  body .theme-mode-select option {
    background: #10212f !important;
    color: #eef7ff !important;
  }
}

body.force-dark {
  color-scheme: dark;
}

body.force-dark .login-shell,
body.force-dark .auth-shell,
body.force-dark .auth-layout,
body.force-dark .login-screen,
body.force-dark .auth-screen,
body.force-dark #loginScreen {
  background:
    radial-gradient(circle at top, rgba(60, 126, 181, 0.2), transparent 38%),
    linear-gradient(180deg, #06111b 0%, #0b1823 55%, #10212f 100%) !important;
}

body.force-dark .auth-card,
body.force-dark #loginForm,
body.force-dark #registerForm,
body.force-dark #recoverForm,
body.force-dark .alert-modal,
body.force-dark .user-modal,
body.force-dark .managed-user-form,
body.force-dark .dashboard-soft-panel,
body.force-dark .card,
body.force-dark .section,
body.force-dark .dashboard-activity-card,
body.force-dark .editor-preview-wrap,
body.force-dark .stock-entry-card,
body.force-dark .stock-template-card,
body.force-dark .cart-drawer,
body.force-dark .cart-item,
body.force-dark .cart-drawer-summary,
body.force-dark .dashboard-sidebar,
body.force-dark .sidebar-shell,
body.force-dark .sidebar-top,
body.force-dark .sidebar-wallet,
body.force-dark .sidebar-wallet-card,
body.force-dark .dashboard-list-button,
body.force-dark .dashboard-activity-card,
body.force-dark .managed-user-form,
body.force-dark .managed-user-readonly,
body.force-dark .commission-product-row,
body.force-dark .commission-sidebar-panel,
body.force-dark .delivery-account-card,
body.force-dark .delivery-template-block,
body.force-dark .stock-template-card,
body.force-dark .stock-entry-card,
body.force-dark .stock-entry-empty,
body.force-dark .dashboard-empty-card,
body.force-dark .empty,
body.force-dark .table-wrap,
body.force-dark .account-box,
body.force-dark .account-media-frame,
body.force-dark .account-cover,
body.force-dark .account-cover-has-image,
body.force-dark .account-info,
body.force-dark .theme-mode-control,
body.force-dark .header-logout-btn,
body.force-dark .btn-secondary,
body.force-dark .account-cart-secondary,
body.force-dark .copy-id-button,
body.force-dark .sidebar-item,
body.force-dark .status-pill,
body.force-dark .account-stock-pill,
body.force-dark .theme-mode-select {
  background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 29, 41, 0.96)) !important;
  border-color: rgba(122, 172, 214, 0.16) !important;
  color: #eef7ff !important;
  color-scheme: dark;
}

body.force-dark .theme-mode-select option {
  background: #10212f !important;
  color: #eef7ff !important;
}

body.force-dark .dashboard-banner:not(.has-custom-banner) {
  background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 29, 41, 0.96)) !important;
  border-color: rgba(122, 172, 214, 0.16) !important;
  color: #eef7ff !important;
}

body.force-dark .direct-purchase-confirm-summary {
  background: linear-gradient(180deg, rgba(10, 27, 39, 0.98), rgba(13, 32, 48, 0.96)) !important;
  border-color: rgba(122, 172, 214, 0.2) !important;
}

body.force-dark .direct-purchase-confirm-summary p {
  background: linear-gradient(180deg, rgba(15, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
  border-color: rgba(122, 172, 214, 0.18) !important;
}

body.force-dark header,
body.force-dark .header-inner,
body.force-dark .header-side,
body.force-dark .header-controls,
body.force-dark .header-static-actions,
body.force-dark .header-utility {
  background: transparent !important;
  box-shadow: none !important;
}

body.force-dark h1,
body.force-dark h2,
body.force-dark h3,
body.force-dark h4,
body.force-dark p,
body.force-dark label,
body.force-dark strong,
body.force-dark .account-title,
body.force-dark .price,
body.force-dark .wallet-summary-amount,
body.force-dark .wallet-summary-earnings-value,
body.force-dark .sidebar-profile,
body.force-dark .sidebar-profile-label,
body.force-dark .sidebar-profile-value,
body.force-dark .sidebar-wallet-label,
body.force-dark .sidebar-wallet-amount,
body.force-dark .sidebar-wallet-earnings-label,
body.force-dark .sidebar-wallet-earnings-amount,
body.force-dark .sidebar-wallet-id,
body.force-dark .copy-id-value,
body.force-dark .copy-id-action,
body.force-dark .dashboard-list-row,
body.force-dark .dashboard-list-status,
body.force-dark .commission-product-main,
body.force-dark .commission-product-main strong,
body.force-dark .delivery-account-title,
body.force-dark .recharge-confirm-summary strong,
body.force-dark .stock-entry-grid span,
body.force-dark table,
body.force-dark th,
body.force-dark td,
body.force-dark .badge,
body.force-dark .card-title,
body.force-dark .section-head h2,
body.force-dark .header-home-btn,
body.force-dark .header-logout-btn,
body.force-dark .theme-mode-label,
body.force-dark .theme-mode-select,
body.force-dark .muted,
body.force-dark .account-duration,
body.force-dark .copy-id-label,
body.force-dark .wallet-summary-note,
body.force-dark .dashboard-list-meta,
body.force-dark .dashboard-list-caption,
body.force-dark .managed-user-readonly,
body.force-dark .commission-input-wrap span,
body.force-dark .delivery-template-label,
body.force-dark .delivery-template-text,
body.force-dark .delivery-stock-note,
body.force-dark .stock-template-pre,
body.force-dark .stock-entry-chip,
body.force-dark .stock-entry-empty,
body.force-dark .dashboard-empty-card,
body.force-dark .empty,
body.force-dark .recharge-confirm-summary span,
body.force-dark .editor-stock-help,
body.force-dark .editor-preview-label,
body.force-dark #accountStockSection .muted {
  color: #eef7ff !important;
}

body.force-dark #accountStockSection label,
body.force-dark #accountStockSection strong,
body.force-dark #accountStockSection h2,
body.force-dark #accountStockSection p,
body.force-dark #accountStockSection span,
body.force-dark #stockCredentialsSummary strong,
body.force-dark #stockCredentialsSummary span,
body.force-dark .stock-entry-title-wrap strong,
body.force-dark .stock-entry-remove {
  color: #eef7ff !important;
}

body.force-dark #stockCredentialsSummary {
  background: linear-gradient(180deg, rgba(16, 35, 51, 0.96), rgba(18, 42, 61, 0.92)) !important;
  border-color: rgba(122, 172, 214, 0.18) !important;
}

body.force-dark #accountStockSection {
  background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(14, 31, 45, 0.96) 55%, rgba(10, 22, 33, 0.98)) !important;
  border-color: rgba(122, 172, 214, 0.16) !important;
}

body.force-dark #accountStockSection .card,
body.force-dark #accountStockSection .editor-preview-wrap,
body.force-dark #accountStockSection .account-stock-layout,
body.force-dark #accountStockSection .account-stock-list {
  background: transparent !important;
  box-shadow: none !important;
}

body.force-dark #accountStockSection .stock-entry-chip {
  background: rgba(16, 35, 51, 0.96) !important;
  border: 1px solid rgba(122, 172, 214, 0.18) !important;
  color: #eef7ff !important;
}

body.force-dark #accountStockSection .stock-entry-chip span,
body.force-dark #accountStockSection .stock-entry-chip strong,
body.force-dark #accountStockSection .stock-entry-chip small {
  color: #eef7ff !important;
}

body.force-dark #accountStockSection .stock-entry-remove {
  background: rgba(218, 69, 50, 0.12) !important;
  border-color: rgba(218, 69, 50, 0.22) !important;
  color: #ffb0a3 !important;
}

body.force-dark .stock-entry-status.is-available {
  background: rgba(24, 160, 116, 0.16) !important;
  color: #8fe7c5 !important;
  border-color: rgba(24, 160, 116, 0.22) !important;
}

body.force-dark .stock-entry-status.is-delivered {
  background: rgba(218, 69, 50, 0.14) !important;
  color: #ffb0a3 !important;
  border-color: rgba(218, 69, 50, 0.22) !important;
}

body.force-dark input,
body.force-dark select,
body.force-dark textarea {
  background: rgba(9, 22, 33, 0.95) !important;
  border-color: rgba(153, 174, 192, 0.2) !important;
  color: #eef7ff !important;
}

body.force-light {
  color-scheme: light;
}

body.force-light .auth-card,
body.force-light .card,
body.force-light .section,
body.force-light .dashboard-soft-panel,
body.force-light .dashboard-sidebar,
body.force-light .sidebar-shell,
body.force-light .sidebar-top,
body.force-light .sidebar-wallet,
body.force-light .dashboard-banner,
body.force-light .dashboard-list-button,
body.force-light .dashboard-activity-card,
body.force-light .managed-user-form,
body.force-light .managed-user-readonly,
body.force-light .commission-product-row,
body.force-light .commission-sidebar-panel,
body.force-light .delivery-account-card,
body.force-light .delivery-template-block,
body.force-light .stock-template-card,
body.force-light .stock-entry-card,
body.force-light .stock-entry-empty,
body.force-light .dashboard-empty-card,
body.force-light .empty,
body.force-light .table-wrap,
body.force-light .account-box,
body.force-light .account-info,
body.force-light .account-media-frame,
body.force-light .account-cover,
body.force-light .account-cover-has-image,
body.force-light .theme-mode-control,
body.force-light .header-logout-btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.94)) !important;
  color: #183127 !important;
}

body.force-light h1,
body.force-light h2,
body.force-light h3,
body.force-light h4,
body.force-light p,
body.force-light label,
body.force-light strong,
body.force-light .account-title,
body.force-light .price,
body.force-light .sidebar-profile,
body.force-light .sidebar-profile-value,
body.force-light .sidebar-wallet-amount,
body.force-light .sidebar-wallet-earnings-amount,
body.force-light .copy-id-value,
body.force-light .copy-id-action,
body.force-light .dashboard-list-row,
body.force-light .dashboard-list-status,
body.force-light .commission-product-main,
body.force-light .commission-product-main strong,
body.force-light .delivery-account-title,
body.force-light .recharge-confirm-summary strong,
body.force-light .stock-entry-grid span,
body.force-light table,
body.force-light th,
body.force-light td,
body.force-light .badge,
body.force-light .header-home-btn,
body.force-light .header-logout-btn,
body.force-light .theme-mode-select {
  color: #183127 !important;
}

body.force-light .login-shell,
body.force-light .auth-shell,
body.force-light .auth-layout,
body.force-light .login-screen,
body.force-light .auth-screen,
body.force-light #loginScreen,
body.force-light .main-content,
body.force-light .dashboard-main,
body.force-light .dashboard-layout,
body.force-light .dashboard-home,
body.force-light .accounts-section,
body.force-light .wallet-section,
body.force-light .orders-section,
body.force-light .editor-section,
body.force-light .inventory-section,
body.force-light .users-section,
body.force-light .transactions-section,
body.force-light .renewals-section {
  background: transparent !important;
}

body.force-light .dashboard-sidebar,
body.force-light .sidebar-shell,
body.force-light .sidebar-top,
body.force-light .sidebar-wallet,
body.force-light .sidebar-wallet-card {
  background:
    radial-gradient(circle at top right, rgba(39, 201, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(233, 247, 255, 0.98) 0%, rgba(220, 239, 252, 0.94) 52%, rgba(238, 247, 255, 0.96) 100%) !important;
  border-color: rgba(30, 95, 144, 0.12) !important;
  color: #123e5f !important;
  box-shadow: 0 20px 34px rgba(18, 74, 112, 0.1) !important;
}

body.force-light .sidebar-profile,
body.force-light .sidebar-profile-label,
body.force-light .sidebar-profile-value,
body.force-light .sidebar-wallet-label,
body.force-light .sidebar-wallet-amount,
body.force-light .sidebar-wallet-earnings-label,
body.force-light .sidebar-wallet-earnings-amount,
body.force-light .sidebar-wallet-id,
body.force-light #sidebarClientId,
body.force-light #sidebarBalance,
body.force-light #sidebarCommissionBalance {
  color: #11476d !important;
}

body.force-light .sidebar-wallet-earnings {
  background: linear-gradient(135deg, rgba(15, 141, 112, 0.08), rgba(8, 199, 232, 0.08)) !important;
  border-color: rgba(15, 141, 112, 0.14) !important;
}

body.force-light .dashboard-banner:not(.has-custom-banner) {
  background:
    linear-gradient(135deg, rgba(239, 246, 252, 0.96), rgba(223, 238, 249, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.94)) !important;
  border-color: rgba(30, 95, 144, 0.12) !important;
}

body.force-light .direct-purchase-confirm-summary {
  background: linear-gradient(180deg, rgba(239, 246, 252, 0.96), rgba(223, 238, 249, 0.92)) !important;
  border-color: rgba(30, 95, 144, 0.14) !important;
}

body.force-light .direct-purchase-confirm-summary p {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 253, 0.96)) !important;
  border-color: rgba(30, 95, 144, 0.12) !important;
  box-shadow: 0 10px 20px rgba(21, 65, 100, 0.06) !important;
}

body.force-light .dashboard-banner::before {
  background:
    linear-gradient(115deg, rgba(3, 17, 29, 0.06), rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(8, 34, 54, 0.08)) !important;
}

body.force-light .dashboard-banner-btn {
  background: rgba(7, 24, 41, 0.38) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body.force-light .dashboard-banner-btn-secondary {
  background: rgba(255, 255, 255, 0.72) !important;
  color: #11476d !important;
  border-color: rgba(36, 135, 200, 0.16) !important;
}

body.force-light .account-box,
body.force-light .account-media-frame,
body.force-light .account-cover,
body.force-light .account-cover-has-image,
body.force-light .account-info {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 248, 0.94)) !important;
  border-color: rgba(20, 47, 38, 0.08) !important;
  color: #1c2a25 !important;
  box-shadow: 0 18px 34px rgba(16, 34, 28, 0.1) !important;
}

body.force-light .account-title,
body.force-light .price,
body.force-light .card-title,
body.force-light .section-head h2,
body.force-light .client-id,
body.force-light .saldo,
body.force-light .commission-saldo,
body.force-light #clientId,
body.force-light #balance,
body.force-light #commissionBalanceInline,
body.force-light #clientName,
body.force-light #userDisplay,
body.force-light #activePanelLabel,
body.force-light .copy-id-value,
body.force-light .copy-id-action {
  color: #183127 !important;
}

body.force-light .muted,
body.force-light .account-duration,
body.force-light .copy-id-label,
body.force-light .wallet-summary-note,
body.force-light .sidebar-wallet-id,
body.force-light .dashboard-list-meta,
body.force-light .dashboard-list-caption,
body.force-light .managed-user-readonly,
body.force-light .commission-input-wrap span,
body.force-light .delivery-template-label,
body.force-light .delivery-template-text,
body.force-light .delivery-stock-note,
body.force-light .stock-template-pre,
body.force-light .stock-entry-chip,
body.force-light .stock-entry-empty,
body.force-light .dashboard-empty-card,
body.force-light .empty,
body.force-light .recharge-confirm-summary span,
body.force-light .editor-stock-help,
body.force-light .editor-preview-label,
body.force-light #accountStockSection .muted,
body.force-light .brand-copy,
body.force-light .auth-copy,
body.force-light .auth-helper {
  color: #6e7c74 !important;
}

body.force-light .commission-input-wrap input {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(27, 92, 140, 0.14) !important;
  color: #183127 !important;
}

body.force-light #accountStockSection label,
body.force-light #accountStockSection strong,
body.force-light #accountStockSection h2,
body.force-light #accountStockSection p,
body.force-light #accountStockSection span,
body.force-light #stockCredentialsSummary strong,
body.force-light #stockCredentialsSummary span,
body.force-light .stock-entry-title-wrap strong,
body.force-light .stock-entry-remove {
  color: #183127 !important;
}

body.force-light #stockCredentialsSummary {
  background: rgba(17, 96, 160, 0.08) !important;
  border-color: rgba(20, 64, 101, 0.1) !important;
}

body.force-light #accountStockSection {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.94)) !important;
  border-color: rgba(20, 64, 101, 0.1) !important;
}

body.force-light #accountStockSection .card,
body.force-light #accountStockSection .editor-preview-wrap,
body.force-light #accountStockSection .account-stock-layout,
body.force-light #accountStockSection .account-stock-list {
  background: transparent !important;
  box-shadow: none !important;
}

body.force-light #accountStockSection .stock-entry-chip {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(20, 64, 101, 0.12) !important;
  color: #183127 !important;
}

body.force-light #accountStockSection .stock-entry-chip span,
body.force-light #accountStockSection .stock-entry-chip strong,
body.force-light #accountStockSection .stock-entry-chip small {
  color: #183127 !important;
}

body.force-light .price,
body.force-light .wallet-summary-amount,
body.force-light .wallet-summary-earnings-value,
body.force-light .sidebar-wallet-amount,
body.force-light .sidebar-wallet-earnings-amount {
  color: #183127 !important;
}

body.force-light .old-price {
  color: #7f96a8 !important;
}

body.force-light input,
body.force-light select,
body.force-light textarea,
body.force-light .theme-mode-select {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(27, 92, 140, 0.14) !important;
  color: #183127 !important;
}

body.force-light .theme-mode-select option {
  background: #ffffff !important;
  color: #183127 !important;
}

body.force-light input::placeholder,
body.force-light textarea::placeholder {
  color: #7f96a8 !important;
}

body.force-light .btn-secondary,
body.force-light .account-cart-secondary,
body.force-light .copy-id-button,
body.force-light .sidebar-item,
body.force-light .status-pill,
body.force-light .account-stock-pill,
body.force-light .text-link,
body.force-light .theme-mode-control {
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98), rgba(234, 244, 251, 0.94)) !important;
  border-color: rgba(27, 92, 140, 0.14) !important;
  color: #11476d !important;
}

body.force-light .sidebar-item.active {
  background: linear-gradient(135deg, rgba(39, 201, 255, 0.18), rgba(255, 255, 255, 0.98)) !important;
  border-color: rgba(30, 95, 144, 0.24) !important;
  color: #0f5f90 !important;
}

body.force-light .sidebar-item.active .sidebar-icon,
body.force-light .sidebar-item .sidebar-icon {
  color: #0f5f90 !important;
  background: linear-gradient(180deg, rgba(226, 247, 255, 0.98), rgba(201, 238, 255, 0.94)) !important;
  border-color: rgba(30, 95, 144, 0.18) !important;
}

body.force-light .header-home-btn,
body.force-light .header-logout-btn,
body.force-light .theme-mode-label,
body.force-light .theme-mode-select {
  color: #11476d !important;
}
