/* Christmas village: all decoration is passive; content stays above snow. */
:root {
  --ui-font: Arial, "Helvetica Neue", sans-serif;
  --bg: #0a1624;
  --ink: #f3f5f5;
  --muted: #a5b8c7;
  --line: #304354;
  --green: #e7c58c;
}
body {
  font-family: var(--ui-font);
  background:
    radial-gradient(ellipse at 90% 0, #37516b55, transparent 52%),
    radial-gradient(ellipse at 0 80%, #253b4e40, transparent 60%), #0a1624;
}
.sidebar {
  background: linear-gradient(170deg, #122b32, #0b1b29 70%);
  border-color: #405460;
  padding-top: 52px;
  scrollbar-color: #486270 #0b1b29;
  overflow-x: hidden;
}
.site-logo {
  gap: 9px;
  max-width: 100%;
  letter-spacing: 0;
}
.brand-wordmark {
  display: block;
  min-width: 0;
}
.brand-name {
  position: relative;
  display: inline-block;
  font: 700 16px/1.5 var(--ui-font);
  letter-spacing: 0;
  color: #f1f4f6;
  white-space: nowrap;
  text-transform: none;
  text-shadow: none;
}
.brand-name::before {
  content: none;
}
.sidebar-logo small,
.brand-wordmark .domain {
  display: block;
  margin-top: 3px;
  color: #a3bdc5;
  font: 400 11px/1.5 var(--ui-font);
  letter-spacing: 0;
}
.logo-mark {
  width: 33px;
  height: 37px;
  background: linear-gradient(135deg, #efd4a3, #bb935a);
  border: 1px solid #edc584;
  color: #19363b;
}
.logo-mark::before {
  height: 6px;
  top: -3px;
  background: #f1f9ff;
}
.workspace {
  background: #19343b;
  border-color: #39505b;
}
.workspace-icon {
  background: #32534d;
  color: #f1d6a2;
}
.nav-label {
  color: #9fb3ba;
}
.nav-item {
  color: #b4c7cf;
}
.nav-item.active {
  background: linear-gradient(100deg, #30514f, #1b353e);
  color: #ffe4b6;
  border-color: #af976444;
  box-shadow: inset 3px 0 #e6bf7f;
}
.nav-item:hover {
  background: #243e49;
}
.sidebar .help-card {
  background: #142d38;
  border-color: #3d5662;
}
.help-card strong,
.home-note strong {
  color: #e3e9e7;
}
.help-card p,
.home-note p {
  color: #aac0c7;
}
.topbar {
  height: 88px;
  padding-top: 16px;
  background: #0c1c2bf2;
  border-color: #3a4c59;
}
.topbar strong {
  color: #f5e1bb;
}
.breadcrumb {
  color: #a5bac8;
}
.topbar-right {
  gap: 10px;
}
.festive-lights {
  top: 0;
  height: 36px;
  background: url("christmas-garland.svg") top center / 340px 40px repeat-x;
  overflow: visible;
  border: 0;
  opacity: 0.8;
  filter: none;
}
.festive-lights i {
  display: none;
}
.header-wallet-button {
  background: linear-gradient(115deg, #314745, #1b3038);
  border-color: #bba16b80;
}
.header-wallet-button small {
  color: #c2cfc8;
}
.header-wallet-button strong {
  color: #ffe1a7;
}
.header-wallet-button:hover {
  background: #365152;
}
.snow-toggle {
  background: #18313e;
  border-color: #476271;
  color: #d2e9f0;
}
.logout-button {
  border-color: #425c69;
  color: #c1d2dc;
}
.avatar {
  background: #345052;
  color: #f3d7a7;
}
.content {
  padding-top: 32px;
}
.page-heading h1 {
  color: #f2f4f6;
  letter-spacing: 0;
}
.page-heading p {
  color: #a4bac9;
}
.eyebrow {
  color: #d9b781;
}
.panel,
.stat-card {
  background: linear-gradient(125deg, #142c39, #102430);
  border-color: #3b5363;
}
.panel-heading h2 {
  color: #e8f0f3;
}
/* Soft snow rests on decorative cards, clear of text and form controls. */
.panel,
.quick-card,
.home-note,
.welcome-hero {
  position: relative;
}
.quick-card::before,
.welcome-hero::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 10px;
  right: 10px;
  height: 22px;
  background: url("snow-roof.svg") top center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 2px #06101b20);
}
.panel::before,
.home-note::before {
  content: none;
}
.panel {
  padding-top: 26px;
  overflow: visible;
}
.panel .table-scroll {
  border-radius: 0 0 12px 12px;
}
.panel + .panel {
  margin-top: 30px;
}
.quick-card {
  padding-top: 28px;
  background: linear-gradient(135deg, #193743, #102632);
  border-color: #476270;
  box-shadow: 0 12px 30px #020d191f;
}
.quick-card::before {
  left: auto;
  right: 18px;
  width: 110px;
  height: 13px;
  top: -5px;
  opacity: 0.8;
}
.quick-card:hover {
  background: #203f4a;
  border-color: #d5b783;
}
.quick-card h3 {
  color: #f5ede0;
}
.quick-card p {
  color: #afc3ce;
}
.quick-icon.green {
  background: #2c504b;
  color: #e5d5a4;
}
.quick-link {
  color: #efd1a0;
}
.home-note {
  padding-top: 30px;
  background: #142e38;
  border-color: #435b67;
}
.welcome-hero {
  display: block;
  min-height: 420px;
  margin-top: 18px;
  margin-bottom: 38px;
  background: #102335;
  border: 1px solid #3d576d;
  border-radius: 18px;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 24px 64px #02091455,
    0 0 45px #9dc6df0a;
}
.welcome-hero::before {
  height: 24px;
  top: -8px;
}
.welcome-hero::after {
  content: none;
}
.christmas-art {
  position: absolute;
  inset: 0;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}
.christmas-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: none;
}
.christmas-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0b1c2a 0%,
    #0c1e2df5 29%,
    #0c1e2d92 46%,
    transparent 65%
  );
}
.christmas-art-label {
  display: none;
}
.hero-copy {
  width: 58%;
  padding: 42px 0 42px 36px;
}
.hero-badge {
  color: #f2d29d;
  background: #dab8760d;
  border-color: #cfb27e66;
  font-size: 10px;
  letter-spacing: 0.8px;
  padding: 8px 11px;
  border-radius: 50px;
}
.hero-copy h2 {
  font: 700 clamp(28px, 2.5vw, 38px) / 1.35 var(--ui-font);
  letter-spacing: 0;
  color: #f1f5f8;
  margin: 20px 0 18px;
  overflow-wrap: normal;
  text-shadow: none;
}
.hero-greeting {
  display: block;
  font: 400 14px/1.6 var(--ui-font);
  letter-spacing: 0;
  color: #c7d9e5;
  margin-bottom: 13px;
  overflow-wrap: anywhere;
}
.hero-copy h2 em {
  color: #e6c58e;
  font-style: normal;
}
.hero-copy p {
  color: #c1d0da;
  font-size: 14px;
  line-height: 1.9;
}
.hero-actions {
  gap: 18px;
  margin-top: 24px;
}
.hero-actions .primary {
  padding: 13px 19px;
}
.hero-secondary {
  color: #e0e8ee;
}
.hero-meta {
  color: #b0c4d0;
  font-size: 11px;
  flex-wrap: wrap;
}
.hero-meta i {
  background: #e1c38a;
}
.button.primary {
  background: linear-gradient(120deg, #f4d8a4, #d4ab6e);
  border-color: #e8ca98;
  color: #182c36;
  box-shadow: 0 5px 24px #e9bb6820;
}
.button.white {
  background: #1d3743;
  border-color: #46616f;
  color: #dae5ec;
}
.button.white:hover {
  background: #2c4956;
}
.live-select,
form input,
textarea {
  background: #0d2330;
  border-color: #425b6c;
  color: #e0edf3;
}
.live-select:focus-visible,
form input:focus-visible,
textarea:focus-visible {
  outline-color: #e9c78a;
}
.status.neutral {
  background: #29424a;
  color: #c1d7dc;
}
.step {
  background: #29484a;
  border-color: #6e7966;
  color: #e3cda5;
}
.admin-hint {
  color: #a9bfcd;
}
.support-admin-config,
.guide-admin-editor,
.notification-settings {
  background: #132d3a;
  border-color: #3f5a6b;
}
.auth-story {
  background: linear-gradient(180deg, #112f3a, #0b1d2d);
  border-color: #385464;
}
.auth-story .site-logo {
  margin-top: 15px;
}
.auth-story .brand-name {
  font-size: 22px;
}
.auth-story .brand-wordmark .domain {
  font-size: 12px;
}
.auth-form-side {
  background: #0c1d2b;
}
.auth-form-card {
  padding-top: 30px;
}
.auth-story h1 em {
  color: #edce96;
}
.auth-art.christmas-auth-art {
  max-width: 580px;
  height: 280px;
  margin-top: 24px;
}
.christmas-auth-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  top: 0;
  border-radius: 16px;
}
.auth-tabs {
  background: #142e3b;
  border-color: #3d5666;
}
.auth-tabs button.selected {
  background: #365452;
  color: #f6dfb9;
}
.auth-story-content > p,
.auth-perks {
  color: #bbcfda;
}
.auth-disclaimer {
  border-color: #354d5a;
}
.auth-disclaimer strong {
  color: #d3e4ed;
}
.auth-disclaimer p {
  color: #9fb7c8;
}
.winter-ground {
  height: 65px;
  bottom: -45px;
  opacity: 0.18;
  filter: none;
}
/* A quiet layer: small soft flakes, no stars or opaque dots over the page. */
#winter-snow {
  z-index: 3;
  opacity: 0.55;
}
.catalog-toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 22px 0 8px;
}
.catalog-search-field {
  flex: 1;
  min-width: 0;
}
.catalog-toolbar label {
  display: block;
  font-size: 10px;
  color: #bdceda;
  margin-bottom: 9px;
}
.catalog-search-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b2230;
  border: 1px solid #496675;
  border-radius: 8px;
  padding: 0 12px;
  min-height: 44px;
}
.catalog-search-control:focus-within {
  outline: 2px solid #e9c78a;
  outline-offset: 2px;
}
.catalog-search-control > span {
  font: 26px/1 var(--ui-font);
  color: #eacb95;
}
#catalog-search {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #edf5fa;
  padding: 12px 0;
  font-size: 12px;
  text-transform: none;
}
#catalog-search::placeholder {
  color: #9db4c4;
}
#catalog-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
#catalog-search-clear {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 0;
  border-radius: 5px;
  background: #2a4350;
  color: #deebf1;
  font-size: 19px;
}
.catalog-group-field {
  width: 270px;
}
.catalog-group-field #catalog-filter {
  width: 100%;
  max-width: none;
  margin: 0;
}
#catalog-search-status {
  min-height: 18px;
  margin: 9px 0 16px;
}
/* One local font stack throughout the interface, including Vietnamese accents. */
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
.hero-greeting {
  font-family: var(--ui-font);
}
h1,
h2,
h3,
h4,
.auth-story h1,
.auth-form-card h2,
.help-winter-hero h2,
.contact-hero h2,
.deposit-info h2 {
  font-style: normal;
  letter-spacing: 0;
}
.auth-story h1 {
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.3;
  font-weight: 700;
}
.auth-story-content {
  padding-top: 38px;
}
.auth-story h1 em {
  font-style: normal;
}
.auth-form-card h2 {
  font-size: 28px;
  line-height: 1.4;
}
.auth-story-content > p,
.auth-form-card > p {
  font-size: 14px;
  line-height: 1.8;
}
.auth-perks {
  font-size: 12px;
  margin-top: 16px;
}
.auth-story-footer,
.auth-footnote {
  font-size: 11px;
  line-height: 1.6;
}
.auth-disclaimer p {
  font-size: 12px;
  line-height: 1.75;
}
.auth-kicker,
.auth-story-content > .eyebrow {
  font-size: 11px;
  letter-spacing: 0.8px;
}
.auth-tabs button,
.button,
form input,
.live-select,
textarea {
  font-size: 13px;
}
form label,
.catalog-toolbar label,
.admin-hint,
.page-heading p {
  font-size: 13px;
  line-height: 1.65;
}
.panel-heading h2,
.quick-card h3 {
  font-size: 16px;
  line-height: 1.5;
}
.quick-card p,
.quick-link,
.hero-secondary {
  font-size: 13px;
  line-height: 1.75;
}
.topbar,
.breadcrumb,
.logout-button {
  font-size: 12px;
}
.header-wallet-button small {
  font-size: 11px;
}
.header-wallet-button strong {
  font-size: 17px;
}
.header-wallet-button > span:nth-child(2) {
  gap: 2px;
}
.snow-toggle,
.demo-badge {
  font-size: 11px;
}
.admin-catalog th {
  font-size: 11px;
  line-height: 1.5;
}
.admin-catalog td {
  font-size: 13px;
  line-height: 1.6;
}
.admin-catalog .order-service-name {
  font-size: 12px;
}
.sidebar .brand-wordmark {
  flex: 1;
}
.sidebar .help-card p,
.sidebar .help-card button,
.profile small {
  font-size: 11px;
  line-height: 1.6;
}
@media (min-width: 901px) {
  .nav-item {
    font-size: 14px;
  }
  .workspace {
    font-size: 12px;
  }
  .nav-label {
    font-size: 10px;
  }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .sidebar-logo .brand-name {
    font-size: 15px;
  }
  .sidebar-logo small {
    font-size: 10px;
  }
}
@media (min-width: 1500px) {
  .welcome-hero {
    min-height: 430px;
  }
  .hero-copy {
    padding: 44px 0 42px 40px;
  }
  .hero-copy h2 {
    font-size: 40px;
  }
}
@media (max-width: 1100px) {
  .hero-copy {
    width: 66%;
    padding-left: 28px;
  }
  .hero-copy h2 {
    font-size: 30px;
  }
  .christmas-art::after {
    background: linear-gradient(
      90deg,
      #0c1e2dfc,
      #0c1e2dde 35%,
      #0c1e2d55 63%,
      transparent
    );
  }
}
@media (max-width: 850px) {
  .sidebar {
    padding-top: 52px;
  }
  .sidebar-logo .brand-wordmark {
    display: none;
  }
  .hero-copy {
    width: 68%;
  }
  .welcome-hero {
    min-height: 410px;
  }
}
@media (max-width: 650px) {
  .auth-story h1 {
    font-size: 32px;
  }
  .auth-form-card h2 {
    font-size: 26px;
  }
  .auth-story-content {
    padding-top: 24px;
  }
  .auth-story-content > p,
  .auth-form-card > p {
    font-size: 13px;
  }
  .auth-story-content > .eyebrow {
    font-size: 10px;
  }
  .sidebar-logo small {
    display: block;
    margin-left: 0;
  }
  .nav-item {
    font-size: 10px;
  }
  .header-wallet-button small {
    font-size: 10px;
  }
  .header-wallet-button strong {
    font-size: 15px;
  }
  .sidebar {
    padding-top: 39px;
  }
  .sidebar-logo .brand-wordmark {
    display: block;
  }
  .sidebar-logo .brand-name {
    font-size: 18px;
  }
  .topbar {
    height: 74px;
    padding-top: 0;
  }
  .festive-lights {
    height: 28px;
    background-size: 260px 31px;
  }
  .content {
    padding-top: 25px;
  }
  .welcome-hero {
    min-height: 620px;
    margin-top: 25px;
  }
  .welcome-hero::before {
    height: 17px;
    top: -5px;
  }
  .hero-copy {
    width: 100%;
    padding: 30px 22px 260px;
  }
  .hero-copy h2 {
    font-size: clamp(25px, 6vw, 32px);
    line-height: 1.4;
  }
  .hero-badge {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-meta {
    gap: 8px;
    font-size: 10px;
  }
  .christmas-art {
    height: auto;
    margin: 0;
  }
  .christmas-art img {
    position: absolute;
    top: auto;
    bottom: 0;
    height: 365px;
    width: 100%;
    object-fit: cover;
    object-position: right bottom;
  }
  .christmas-art::after {
    background: linear-gradient(
      180deg,
      #0b1c2a 0%,
      #0b1c2a 44%,
      #0b1c2ae6 49%,
      transparent 69%
    );
  }
  .quick-card::before {
    height: 11px;
    top: -4px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .catalog-group-field {
    width: 100%;
  }
  .auth-story .brand-name {
    font-size: 20px;
  }
  .auth-art.christmas-auth-art {
    display: block;
    height: 210px;
  }
  .winter-ground {
    opacity: 0.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  .festive-lights {
    filter: none;
  }
}
