:root{
  /* Core palette (dark UI like the provided references) */
  --app-bg: #070b12;
  --app-surface: rgba(255,255,255,.04);
  --app-surface-2: rgba(255,255,255,.06);
  --app-border: rgba(148,163,184,.18);
  --app-border-2: rgba(148,163,184,.24);
  --app-ink: #e5e7eb;
  --app-muted: rgba(226,232,240,.72);
  --app-muted-2: rgba(226,232,240,.52);

  --app-primary: #2f7dff;
  --app-primary-2: #1f5fe6;
  --app-accent: #12b7ff;
  --app-success: #22c55e;
  --app-warning: #f59e0b;
  --app-danger: #ef4444;

  --app-radius: 14px;
  --app-radius-sm: 12px;
  --app-shadow: 0 18px 40px rgba(0,0,0,.55);
  --app-shadow-sm: 0 12px 26px rgba(0,0,0,.45);

  /* Bootstrap color tokens (ensure contrast everywhere) */
  --bs-body-color: var(--app-ink);
  --bs-body-bg: transparent;
  --bs-secondary-color: var(--app-muted);
  --bs-tertiary-color: var(--app-muted-2);
  --bs-link-color: rgba(147,197,253,.92);
  --bs-link-hover-color: rgba(147,197,253,1);
}

.support-message-body {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.error-body {
  min-height: 100vh;
}

.error-navbar {
  border-bottom: 1px solid var(--app-border);
  background: rgba(3, 8, 18, .82);
  backdrop-filter: blur(16px);
}

.error-main {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
}

.error-stage {
  width: 100%;
  padding-top: clamp(28px, 6vh, 72px);
  padding-bottom: clamp(28px, 6vh, 72px);
}

.error-panel {
  width: min(720px, 100%);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: linear-gradient(145deg, rgba(15, 23, 42, .88), rgba(8, 16, 30, .72));
  box-shadow: var(--app-shadow);
}

.error-code {
  color: rgba(147, 197, 253, .95);
  font-size: clamp(64px, 12vw, 128px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: 0;
  margin-bottom: 16px;
}

html, body{ height:100%; }
html{ overflow-x: hidden; }

body{
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(18,183,255,.20), rgba(7,11,18,0)),
    radial-gradient(1100px 680px at 85% 0%, rgba(47,125,255,.18), rgba(7,11,18,0)),
    linear-gradient(180deg, #060a10, #070b12);
  color: var(--app-ink);
  overflow-x: hidden;
}

/* Admin layout overrides (keep member area intact) */
.is-admin{
  /* Slightly stronger contrast than member area */
  --admin-surface: rgba(15,23,42,.52);
  --admin-surface-2: rgba(15,23,42,.66);
  --admin-border: rgba(148,163,184,.22);
  --admin-ink: rgba(241,245,249,.96);
  --admin-muted: rgba(226,232,240,.78);
  --admin-muted-2: rgba(226,232,240,.60);
}

.is-admin body{ color: var(--admin-ink); }
.is-admin .text-muted,
.is-admin .text-body-secondary,
.is-admin .text-secondary{ color: var(--admin-muted) !important; }

.is-admin .app-topbar-inner,
.is-admin .app-main{
  width: min(100%, 1520px);
  max-width: 1520px;
  margin-inline: auto;
}
.is-admin .app-topbar{
  padding-left: 22px;
  padding-right: 22px;
  background: rgba(2,6,23,.48);
  border-bottom-color: rgba(148,163,184,.18);
}
.is-admin .app-main{
  padding: 22px;
}
.is-admin .admin-form-page{
  width: min(100%, 1180px);
  margin-inline: auto;
}
.is-admin .admin-store-product-page{
  width: min(100%, 1240px);
}
.is-admin .app-content{
  background: transparent;
}
.is-admin .card{
  background: linear-gradient(180deg, var(--admin-surface-2), var(--admin-surface));
  border-color: var(--admin-border);
}
.is-admin .card-header{
  border-bottom-color: rgba(148,163,184,.14) !important;
  color: var(--admin-ink);
}
.is-admin .card-body{ color: var(--admin-ink); }
.is-admin .form-label{ color: rgba(241,245,249,.92); }
.is-admin .form-control,
.is-admin .form-select{
  background: rgba(2,6,23,.42);
  border-color: rgba(148,163,184,.22);
  color: rgba(241,245,249,.96);
}
.is-admin .form-select{
  color-scheme: dark;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.is-admin .form-select option,
.is-admin .form-select optgroup{
  background-color: #0f172a;
  color: rgba(241,245,249,.96);
}
.is-admin .form-control::placeholder{ color: rgba(226,232,240,.55); }

.is-admin .table thead th{
  color: rgba(241,245,249,.92);
}
.is-admin .table tbody td{
  color: rgba(241,245,249,.92);
}
.is-admin .table-striped>tbody>tr:nth-of-type(odd)>*{
  --bs-table-accent-bg: rgba(255,255,255,.03);
}

.is-admin .table-responsive{
  border-radius: calc(var(--app-radius) - 2px);
  overflow: hidden;
}

@media (max-width: 991.98px){
  .is-admin .app-topbar{ padding-left: 12px; padding-right: 12px; }
  .is-admin .app-main{ padding: 12px; }
}

/* Tables */
.table{ table-layout: auto; }

/* Only force aggressive truncation on tables that opt in. The admin UI needs natural column widths. */
.table.table-truncate td,
.table.table-truncate th{
  max-width: 1px;
}
.table.table-truncate td .text-truncate{
  max-width: 100%;
}

/* Modals (dark theme) */
.modal-backdrop.show{
  opacity: .78;
}
.modal-content{
  background: rgba(15,23,42,.94);
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: var(--app-shadow);
  color: rgba(226,232,240,.92);
}
.modal-header, .modal-footer{
  border-color: rgba(148,163,184,.14);
}
.modal-title{ color: rgba(226,232,240,.95); }
.modal .btn-close{
  filter: invert(1) opacity(.85);
}

a{ color: rgba(147,197,253,.92); }
a:hover{ color: rgba(147,197,253,1); }

/* Ensure common Bootstrap utility colors remain readable on dark bg */
.text-muted,
.text-body-secondary,
.text-secondary{
  color: var(--app-muted) !important;
}
.text-body{
  color: var(--app-ink) !important;
}
.text-dark{
  /* Keep Bootstrap semantic meaning: "dark text" should stay dark.
     This is important for badges like text-bg-warning text-dark. */
  color: rgba(15,23,42,.96) !important;
}
.text-black-50{
  color: var(--app-muted-2) !important;
}
.text-white{ color: rgba(255,255,255,.95) !important; }

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.country-flag-icon,
.svc-flag-icon{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-block;
  object-fit: cover;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.03);
  vertical-align: middle;
}

/* flag-with-text kept for other screens that might need it */
.flag-with-text{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Provider A flags sprite */
.f32{
  display: inline-flex;
  align-items: center;
}
.f32 .flag{
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.18);
  background-color: rgba(255,255,255,.03);
}

/* Bootstrap overrides */
.btn{ border-radius: 12px; }
.btn-sm{ border-radius: 12px; }
.btn-primary{
  --bs-btn-bg: var(--app-primary);
  --bs-btn-border-color: rgba(0,0,0,0);
  --bs-btn-hover-bg: var(--app-primary-2);
  --bs-btn-hover-border-color: rgba(0,0,0,0);
  --bs-btn-active-bg: var(--app-primary-2);
  --bs-btn-active-border-color: rgba(0,0,0,0);
  box-shadow: 0 10px 22px rgba(47,125,255,.22);
}
.btn-outline-secondary{
  --bs-btn-color: rgba(226,232,240,.88);
  --bs-btn-border-color: rgba(148,163,184,.28);
  --bs-btn-hover-bg: rgba(255,255,255,.06);
  --bs-btn-hover-border-color: rgba(148,163,184,.40);
  --bs-btn-hover-color: rgba(226,232,240,1);
}
.btn-outline-danger{
  --bs-btn-color: rgba(248,113,113,.95);
  --bs-btn-border-color: rgba(248,113,113,.35);
  --bs-btn-hover-bg: rgba(248,113,113,.10);
  --bs-btn-hover-border-color: rgba(248,113,113,.50);
  --bs-btn-hover-color: rgba(248,113,113,1);
}

.form-control, .form-select{
  background: rgba(255,255,255,.04);
  color: var(--app-ink);
  border-color: rgba(148,163,184,.22);
  border-radius: 12px;
}
.form-select{
  color-scheme: dark;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.form-select option,
.form-select optgroup{
  background-color: #0f172a;
  color: var(--app-ink);
}
.form-control::placeholder{ color: rgba(226,232,240,.45); }
.form-control:focus, .form-select:focus{
  background: rgba(255,255,255,.05);
  color: var(--app-ink);
  border-color: rgba(18,183,255,.55);
  box-shadow: 0 0 0 .25rem rgba(18,183,255,.16);
}
.form-check-input{
  background-color: rgba(255,255,255,.08);
  border-color: rgba(148,163,184,.30);
}
.form-check-input:checked{
  background-color: var(--app-primary);
  border-color: var(--app-primary);
}

.alert{
  border-radius: var(--app-radius);
  border-color: rgba(148,163,184,.22);
}
.alert-danger{
  background: rgba(239,68,68,.10);
  color: rgba(254,202,202,.95);
}
.alert-success{
  background: rgba(34,197,94,.10);
  color: rgba(187,247,208,.95);
}

.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border-radius: 999px;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.text-bg-light{
  background: rgba(255,255,255,.06) !important;
  color: rgba(226,232,240,.88) !important;
  border: 1px solid rgba(148,163,184,.20);
}
.table{
  --bs-table-bg: transparent;
  --bs-table-color: rgba(226,232,240,.90);
  --bs-table-hover-bg: rgba(255,255,255,.04);
  --bs-table-border-color: rgba(148,163,184,.16);
}
.is-admin .table{
  --bs-table-border-color: rgba(148,163,184,.18);
}
.table-light{
  --bs-table-bg: rgba(255,255,255,.03);
  --bs-table-color: rgba(226,232,240,.80);
}
.table thead th{
  color: rgba(226,232,240,.78);
  font-weight: 600;
}

.dropdown-menu{
  background: rgba(15,23,42,.92);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: var(--app-shadow-sm);
}
.dropdown-item{
  color: rgba(226,232,240,.88);
}
.dropdown-item:hover,
.dropdown-item:focus{
  background: rgba(255,255,255,.06);
  color: rgba(226,232,240,1);
}

.navbar .navbar-toggler-icon{
  filter: invert(1) opacity(.9);
}
.nav-pills .nav-link{
  color: rgba(226,232,240,.82);
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(255,255,255,.02);
}
.nav-pills .nav-link:hover{
  background: rgba(255,255,255,.04);
}
.nav-pills .nav-link.active{
  background: rgba(47,125,255,.16);
  border-color: rgba(47,125,255,.22);
  color: rgba(226,232,240,1);
}

/* Pagination (dark theme) */
.pagination{
  --bs-pagination-bg: rgba(255,255,255,.03);
  --bs-pagination-border-color: rgba(148,163,184,.22);
  --bs-pagination-hover-bg: rgba(255,255,255,.05);
  --bs-pagination-hover-border-color: rgba(148,163,184,.30);
  --bs-pagination-color: rgba(226,232,240,.88);
  --bs-pagination-hover-color: rgba(226,232,240,1);
  --bs-pagination-focus-color: rgba(226,232,240,1);
  --bs-pagination-focus-bg: rgba(255,255,255,.05);
  --bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(18,183,255,.14);
  --bs-pagination-disabled-bg: rgba(255,255,255,.03);
  --bs-pagination-disabled-border-color: rgba(148,163,184,.18);
  --bs-pagination-disabled-color: rgba(226,232,240,.45);
}
.pagination .page-item{ margin-left: 0 !important; }
.pagination .page-link{
  background: var(--bs-pagination-bg);
  border-color: var(--bs-pagination-border-color);
  color: var(--bs-pagination-color);
  border-radius: 10px;
  padding: .25rem .6rem;
}
.page-link{
  /* Force dark theme pagination even if Bootstrap variables fail to inherit for any reason */
  background-color: rgba(255,255,255,.03) !important;
  border-color: rgba(148,163,184,.22) !important;
  color: rgba(226,232,240,.88) !important;
}
.page-link:hover{
  background-color: rgba(255,255,255,.05) !important;
  border-color: rgba(148,163,184,.30) !important;
  color: rgba(226,232,240,1) !important;
}
.page-item.disabled .page-link{
  background-color: rgba(255,255,255,.03) !important;
  border-color: rgba(148,163,184,.18) !important;
  color: rgba(226,232,240,.45) !important;
}
.pagination .page-link:hover{
  background: var(--bs-pagination-hover-bg);
  border-color: var(--bs-pagination-hover-border-color);
  color: var(--bs-pagination-hover-color);
}
.pagination .page-link:focus{
  box-shadow: var(--bs-pagination-focus-box-shadow);
}

/* Make "light" backgrounds dark-friendly */
.bg-light,
.bg-white,
.bg-body-tertiary{
  background: transparent !important;
}
.border,
.border-top,
.border-end,
.border-start,
.border-bottom{
  border-color: rgba(148,163,184,.16) !important;
}

/* Inputs inside light table headers etc */
.table .form-control,
.table .form-select{
  background: rgba(255,255,255,.04);
}

.card{
  border-radius: var(--app-radius);
  border-color: rgba(148,163,184,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: var(--app-shadow-sm);
}
.shadow-sm{ box-shadow: var(--app-shadow-sm) !important; }
.border-bottom{ border-color: rgba(148,163,184,.16) !important; }

.pill{
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 999px;
  padding: .25rem .6rem;
  background: rgba(255,255,255,.04);
}

/* App shell */
.app-shell{
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}
.app-sidebar{
  width: 280px;
  padding: 18px 14px;
  border-right: 1px solid rgba(148,163,184,.14);
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}
.app-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px 10px;
  border-radius: 16px;
  text-decoration: none;
  color: rgba(226,232,240,.95);
}
.app-brand:hover{ color: rgba(226,232,240,1); background: rgba(255,255,255,.03); }
.app-brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(47,125,255,.10);
  border: 1px solid rgba(47,125,255,.18);
  box-shadow: 0 10px 22px rgba(47,125,255,.10);
}
.app-brand-dot{
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--app-accent), var(--app-primary));
}
.app-sidebar-nav{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 6px;
}
.app-nav-link{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(226,232,240,.82);
  border: 1px solid transparent;
}
.app-nav-link:hover{
  color: rgba(226,232,240,.95);
  background: rgba(255,255,255,.03);
  border-color: rgba(148,163,184,.12);
}
.app-nav-link.active{
  background: rgba(47,125,255,.10);
  border-color: rgba(47,125,255,.18);
  color: rgba(226,232,240,1);
}
.app-sidebar-footer{
  margin-top: auto;
  padding-top: 12px;
}

.app-content{
  flex: 1;
  min-width: 0;
}
.app-topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148,163,184,.14);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.app-topbar-inner{
  max-width: 1180px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.app-main{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
}

/* Mobile layout: hide fixed sidebar and rely on offcanvas menu */
@media (max-width: 991.98px){
  .app-shell{
    display: block;
  }
  .app-sidebar{
    display: none;
  }
  .app-content{
    width: 100%;
  }
  .app-topbar{
    padding: 12px 12px;
  }
  .app-topbar-inner{
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .app-main{
    padding: 12px;
  }
}

/* Public navbar */
.navbar-public{
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(148,163,184,.14);
  backdrop-filter: blur(12px);
}
.navbar-public .navbar-brand, .navbar-public .nav-link{
  color: rgba(226,232,240,.88);
}
.navbar-public .nav-link:hover{ color: rgba(226,232,240,1); }
.navbar-public .navbar-toggler{ border-color: rgba(148,163,184,.25); }
.navbar-public .public-brand{
  min-width: 0;
  max-width: calc(100vw - 82px);
  padding-block: 4px;
  gap: 0;
}
.navbar-public .public-brand-mark{
  width: clamp(102px, 10vw, 132px);
  height: clamp(58px, 6vw, 84px);
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.navbar-public .public-brand-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}
.navbar-public .public-brand-slogan{
  display: inline-block;
  max-width: 170px;
  margin-left: -2px;
  color: rgba(226,232,240,.72);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}
.navbar-public .public-brand-slogan-virtual,
.navbar-public .public-brand-slogan-sms{
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
}
.navbar-public .public-brand-slogan-virtual{
  color: rgba(18,183,255,.92);
}
.navbar-public .public-brand-slogan-sms{
  color: rgba(255,255,255,.96);
  text-shadow: 0 0 8px rgba(255,255,255,.12);
}
.navbar-public .public-brand-name{
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
@media (max-width: 575.98px){
  .navbar-public .container{
    gap: 8px;
  }
  .navbar-public .public-brand{
    max-width: calc(100vw - 68px);
    gap: 0;
  }
  .navbar-public .public-brand-mark{
    width: 82px;
    height: 54px;
    border-radius: 0;
  }
  .navbar-public .public-brand-slogan{
    max-width: min(118px, calc(100vw - 150px));
    margin-left: -1px;
    font-size: .72rem;
  }
  .navbar-public .public-brand-slogan-virtual,
  .navbar-public .public-brand-slogan-sms{
    font-size: .82rem;
  }
}

/* Hero section */
.hero{
  background:
    radial-gradient(1000px 520px at 20% 20%, rgba(18,183,255,.18), rgba(0,0,0,0)),
    radial-gradient(900px 520px at 85% 35%, rgba(47,125,255,.16), rgba(0,0,0,0));
}

.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: var(--app-shadow-sm);
  border-radius: var(--app-radius);
}

.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.04);
  color: rgba(226,232,240,.85);
  font-size: .875rem;
}
.hero-chip-dot{
  width: 10px;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--app-accent), var(--app-primary));
  box-shadow: 0 0 0 6px rgba(18,183,255,.10);
}

.hero-title{
  letter-spacing: 0;
  line-height: 1.05;
}
.hero-title .accent{
  background: linear-gradient(135deg, rgba(18,183,255,1), rgba(47,125,255,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-strip{
  margin-top: 26px;
  padding: 14px;
  border-radius: var(--app-radius);
  border: 1px solid rgba(148,163,184,.16);
  background: rgba(255,255,255,.03);
}
.stat-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}
.stat-icon{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(47,125,255,.10);
  border: 1px solid rgba(47,125,255,.18);
  color: rgba(226,232,240,.95);
}
.stat-value{ font-weight: 700; font-size: 1.15rem; }
.stat-label{ color: rgba(226,232,240,.62); font-size: .85rem; }

.hero-visual{
  position: relative;
  min-height: 380px;
}
.hero-visual .logo-wrap{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-visual .logo-glow{
  position:absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(40px);
  background: radial-gradient(circle at 40% 40%, rgba(18,183,255,.25), rgba(47,125,255,.12), rgba(0,0,0,0));
}
.hero-visual img{
  width: min(420px, 92%);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  border: 1px solid rgba(148,163,184,.14);
}

/* Service sprite icon */
.svc-icon{
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(148,163,184,.18);
  background-image: url('/assets/sprites/services.png');
  background-repeat: no-repeat;
  background-size: 457px 456px;
  display: inline-block;
}
.services{
  width: 24px;
  height: 24px;
  background-image: url('/assets/sprites/services.png');
  background-repeat: no-repeat;
  background-size: 457px 456px;
  display: inline-block;
}
.services-other{ background-position: -432px 0px; }
.services-whatsapp{ background-position: -432px 0px; }
.services-telegram{ background-position: -288px -24px; }
.services-google{ background-position: -240px 0px; }
.services-facebook{ background-position: 0px -192px; }

/* Digital store */
.store-head{
  border-bottom: 1px solid rgba(148,163,184,.14);
  background:
    radial-gradient(900px 360px at 15% 20%, rgba(18,183,255,.16), transparent 60%),
    rgba(255,255,255,.02);
}
.store-card,
.store-product-media,
.store-description{
  border: 1px solid rgba(148,163,184,.16);
  border-radius: var(--app-radius);
  background: rgba(8,18,35,.74);
  box-shadow: 0 20px 48px rgba(0,0,0,.18);
}
.store-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.store-category-nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.store-card-media,
.store-product-media{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(47,125,255,.18), rgba(18,183,255,.06)),
    rgba(255,255,255,.03);
}
.store-card-media{
  aspect-ratio: 16 / 10;
  border:0;
  border-radius:0;
}
.store-card-media img,
.store-product-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.store-card-body{
  min-height: 250px;
  display:flex;
  flex-direction:column;
  padding: 18px;
}
.store-card h2 a{ color: var(--app-fg); }
.store-summary{ min-height: 42px; }
.store-price,
.store-product-price{
  color: rgba(240,249,255,.98);
  font-weight: 700;
}
.store-price{ font-size: 1.08rem; }
.store-product-price{ font-size: clamp(1.45rem, 2vw, 2rem); }
.store-product-media{ aspect-ratio: 1 / 1; }
.store-buy-panel,
.store-order-summary,
.store-delivery-panel{
  border:1px solid rgba(148,163,184,.18);
  border-radius:var(--app-radius);
  background:rgba(8,18,35,.78);
  box-shadow:0 20px 48px rgba(0,0,0,.18);
}
.store-buy-panel{ padding:clamp(16px, 2vw, 24px); }
.store-payment-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap:12px;
}
.store-payment-option{
  min-width:0;
  padding:14px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}
.store-order-shell{
  display:grid;
  grid-template-columns:minmax(260px, .8fr) minmax(0, 1.2fr);
  gap:16px;
}
.store-order-summary,
.store-delivery-panel{ padding:clamp(16px, 2vw, 24px); }
.store-order-meta{
  display:grid;
  gap:12px;
}
.store-order-meta div{
  display:grid;
  gap:3px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.14);
}
.store-order-meta span{ color:var(--app-muted); font-size:.84rem; }
.store-quill-editor{ min-height:320px; }
.ql-toolbar.ql-snow,
.ql-container.ql-snow{ border-color:rgba(148,163,184,.35); }
.ql-toolbar.ql-snow{
  border-radius:10px 10px 0 0;
  background:rgba(255,255,255,.08);
}
.ql-container.ql-snow{
  border-radius:0 0 10px 10px;
  background:#fff;
  color:#172033;
  font-size:1rem;
}
.ql-editor{ min-height:320px; }
.store-description{
  padding: clamp(18px, 3vw, 30px);
  color: rgba(226,232,240,.9);
  line-height: 1.6;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.store-description *,
.store-description *::before,
.store-description *::after{
  box-sizing: border-box;
  max-width: 100%;
}
.store-description img,
.store-description svg,
.store-description canvas,
.store-description video,
.store-description iframe{
  max-width: 100% !important;
}
.store-description img,
.store-description video{
  height: auto !important;
}
.store-description iframe{
  display: block;
}
.store-description pre{
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
}
.store-description table{
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.store-description a{
  overflow-wrap: anywhere;
}
.store-content-image{
  display:block;
  width:100%;
  max-height:560px;
  object-fit:cover;
  border-radius: calc(var(--app-radius) - 2px);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.store-admin-media-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.22);
  border-radius:10px;
  background:rgba(255,255,255,.03);
}
.store-admin-media-preview img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.store-description :last-child{ margin-bottom:0; }
.store-placeholder{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 104px;
  min-height: 104px;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.2);
  background: rgba(0,0,0,.18);
  color: rgba(240,249,255,.92);
  font-weight:700;
  letter-spacing:0;
}
.store-pay-select{ min-width: min(220px, 100%); }
.store-delivery{
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 16px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  color: rgba(240,249,255,.96);
}

.site-footer{
  margin-top: clamp(30px, 5vw, 72px);
  padding-block: clamp(28px, 4vw, 52px);
  border-top: 1px solid rgba(148,163,184,.16);
  background: rgba(0,0,0,.18);
}
.site-footer-brand{
  display: inline-flex;
  width: min(220px, 100%);
  min-height: 58px;
  margin-bottom: 14px;
}
.site-footer-brand img{
  display: block;
  width: 100%;
  max-height: 84px;
  object-fit: contain;
  object-position: left center;
}
.site-footer-summary{
  max-width: 560px;
  color: var(--app-muted);
}
.site-footer-title{
  margin-bottom: 12px;
  color: rgba(241,245,249,.96);
  font-weight: 600;
}
.site-footer-links{
  display: grid;
  gap: 8px;
}
.site-footer-links a{
  width: fit-content;
  color: var(--app-muted);
  text-decoration: none;
}
.site-footer-links a:hover{ color: rgba(226,232,240,1); }
.site-footer-meta,
.site-footer-copy{
  color: var(--app-muted);
  overflow-wrap: anywhere;
}
.site-footer-copy{ font-size: .875rem; }
.site-logo-preview{
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 16px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--app-radius-sm);
  background: rgba(0,0,0,.2);
}
.site-logo-preview img{
  display: block;
  width: min(100%, 280px);
  max-height: 150px;
  object-fit: contain;
}

/* Utilities */
.text-secondary{ color: var(--app-muted) !important; }
.bg-white{ background: transparent !important; }
.bg-body-tertiary{ background: transparent !important; }

@media (max-width: 991.98px){
  .app-sidebar{ display:none; }
  .app-main{ padding: 14px; }
  .store-order-shell{ grid-template-columns:1fr; }
}
