/* Shared theme for every astrologer dashboard-family page (home, orders, consultations,
   wallet, profile + edit steps, notifications). Imported by app/astrologer/layout.tsx.
   Extracted from the dashboard page so all pages get the same background, panels,
   switches and sidebar spacing. */

:root {
  --astro-bg: #0b0a09;
  --astro-panel: #211b18;
  --astro-panel-2: #2b211c;
  --astro-border: rgba(155, 127, 107, 0.25);
  --astro-muted: #a99c93;
  --astro-text: #f7f0e9;
  --astro-gold: #ffd800;
  --astro-green: #00dca6;
}

body:has(.astrologer-dashboard-shell),
body:has(.astro-page-bg) {
  background: var(--astro-bg);
}

.astrologer-dashboard-shell {
  min-height: 100vh;
  display: flex;
  color: var(--astro-text);
  background:
    radial-gradient(ellipse at 48% -12%, rgba(132, 83, 54, .28), transparent 48%),
    radial-gradient(circle at 12% 88%, rgba(255, 216, 0, .035) 0 1px, transparent 1.8px),
    #0b0a09;
  background-size: auto, 24px 24px, auto;
  overflow-x: clip;
}





.astrologer-dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.astrologer-dashboard-greeting {
  color: var(--astro-muted);
  font-size: 13px;
  margin-bottom: 3px;
}

.astrologer-dashboard-name {
  color: #fffaf5;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 750;
  letter-spacing: -.55px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.astrologer-dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.astrologer-dashboard-avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--astro-gold);
  background: #30251f;
}

.astrologer-dashboard-shell .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.astrologer-online-card,
.astrologer-panel,
.astrologer-stat-card {
  border: 1px solid var(--astro-border) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, rgba(43, 33, 28, .97), rgba(31, 25, 22, .97)) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  color: var(--astro-text);
}

.astrologer-online-card {
  min-height: 80px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.astrologer-online-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--astro-gold);
  color: #16120a;
  font-size: 23px;
  font-weight: 700;
}

.astrologer-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 17px;
}

.astrologer-stat-card {
  min-width: 0;
  min-height: 96px;
  padding: 17px 18px;
}

.astrologer-stat-label {
  color: var(--astro-muted);
  font-size: 12px;
  margin-bottom: 11px;
}

.astrologer-stat-value {
  color: #fffaf5;
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.15;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.astrologer-panel {
  padding: 19px 20px;
  margin-bottom: 17px;
  min-width: 0;
}

.astrologer-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.astrologer-panel-title {
  color: #fffaf5;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.1px;
}

.astrologer-panel-link {
  color: var(--astro-muted) !important;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  transition: color .18s ease;
}

.astrologer-panel-link:hover { color: var(--astro-gold) !important; }

.astrologer-empty-hint {
  color: var(--astro-muted);
  font-size: 12px;
  padding: 10px 0 12px;
}

.astrologer-avail-row,
.astrologer-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.astrologer-avail-row:first-of-type { padding-top: 4px; }
.astrologer-avail-row:last-child,
.astrologer-offer-row:last-child { border-bottom: 0; padding-bottom: 2px; }

.astrologer-avail-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: rgba(255,216,0,.09);
  color: var(--astro-gold);
  font-size: 15px;
}

.astrologer-avail-title {
  color: #f6eee8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.astrologer-avail-sub {
  margin-top: 3px;
  color: var(--astro-muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.astrologer-wallet-amount {
  margin-top: 7px;
  color: var(--astro-gold);
  font-size: clamp(25px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -.5px;
}

/* High-contrast, premium ON/OFF control */
.astrologer-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 34px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

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

.astrologer-switch-track {
  position: relative;
  display: block;
  width: 58px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: linear-gradient(135deg, #4c433e, #352d29);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.025);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.astrologer-switch-track::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e5ded8);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 5px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background .22s ease, box-shadow .22s ease;
}

.astrologer-switch-label {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  color: #e5d8cf;
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .35px;
  pointer-events: none;
  transition: color .18s ease, left .18s ease, right .18s ease;
}

.astrologer-switch input:checked + .astrologer-switch-track {
  border-color: rgba(255,216,0,.9);
  background: linear-gradient(135deg, #ffe94d, #ffd000);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.35), 0 0 0 3px rgba(255,216,0,.07), 0 3px 12px rgba(255,196,0,.12);
}

.astrologer-switch input:checked + .astrologer-switch-track::after {
  transform: translateX(28px);
  background: linear-gradient(145deg, #2b2412, #100e09);
  border-color: rgba(0,0,0,.2);
  box-shadow: 0 2px 5px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.08);
}

.astrologer-switch input:checked + .astrologer-switch-track .astrologer-switch-label {
  left: 8px;
  right: auto;
  color: #2b2200;
}

.astrologer-switch:hover input:not(:disabled) + .astrologer-switch-track {
  border-color: rgba(255,216,0,.55);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.2), 0 0 0 3px rgba(255,216,0,.055);
}

.astrologer-switch input:focus-visible + .astrologer-switch-track {
  outline: 2px solid #fff4b3;
  outline-offset: 3px;
}

.astrologer-switch input:disabled + .astrologer-switch-track {
  opacity: .48;
  cursor: not-allowed;
  filter: saturate(.6);
}

.astrologer-switch:has(input:disabled) {
  cursor: not-allowed;
}

.waiting-request-count {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--astro-gold);
  color: #17120a;
  font-size: 11px;
  font-weight: 800;
}

.waiting-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--astro-muted);
  font-size: 12px;
  padding: 18px 0;
}

.waiting-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,216,0,.2);
  border-top-color: var(--astro-gold);
  border-radius: 50%;
  animation: astro-spin .7s linear infinite;
}

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

.waiting-request-list { display: grid; gap: 11px; }
.waiting-request-card {
  padding: 14px;
  border: 1px solid rgba(155,127,107,.22);
  border-radius: 12px;
  background: rgba(0,0,0,.13);
}

.waiting-request-top { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.waiting-user-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; overflow: hidden; }
.waiting-request-info { flex: 1; min-width: 0; }
.waiting-user-name { color: #fffaf5; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.waiting-request-topic, .waiting-request-time { color: var(--astro-muted); font-size: 11px; margin-top: 4px; }
.waiting-request-topic span { margin-right: 5px; color: var(--astro-gold); }
.waiting-expiry { padding: 5px 7px; border-radius: 7px; background: rgba(255,216,0,.1); color: var(--astro-gold); font-size: 11px; font-weight: 750; }
.waiting-expiry.danger { color: #ff737b; background: rgba(255,80,90,.1); }
.waiting-request-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 12px 0; color: #c4b8af; font-size: 11px; }
.waiting-free-badge { color: var(--astro-green); border: 1px solid rgba(0,220,166,.25); background: rgba(0,220,166,.07); border-radius: 5px; padding: 3px 6px; }
.waiting-request-actions { display: flex; gap: 8px; }
.waiting-request-actions button {
  flex: 1;
  min-height: 36px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .15s, filter .15s;
}
.waiting-request-actions button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.waiting-request-actions button:disabled { opacity: .55; cursor: wait; }
.waiting-decline-btn { border: 1px solid rgba(255,255,255,.13); color: #e2d7cf; background: rgba(255,255,255,.045); }
.waiting-accept-btn { border: 1px solid var(--astro-gold); color: #1a1508; background: var(--astro-gold); }

.astrologer-mobile-nav-toggle { display: none; }

@media (max-width: 1199.98px) {
  .astrologer-dashboard-main {
    width: calc(100% - 195px);
    margin-left: 195px;
    padding: 22px 18px 30px;
  }
}

@media (max-width: 991.98px) {
  .astrologer-dashboard-main {
    width: calc(100% - 195px);
    margin-left: 195px;
    padding: 20px 15px 28px;
  }
  .astrologer-dashboard-shell .row { --bs-gutter-x: .9rem; --bs-gutter-y: .9rem; }
  .astrologer-stat-row { gap: 9px; }
  .astrologer-stat-card { padding: 15px 13px; }
  .astrologer-panel { padding: 16px; }
}

@media (max-width: 767.98px) {
  .astrologer-sidebar { display: none !important; }
  .astrologer-dashboard-main {
    width: 100%;
    margin-left: 0;
    padding: 68px 14px 26px;
  }
  .astrologer-mobile-nav-toggle {
    position: fixed !important;
    z-index: 1200;
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    display: grid !important;
    place-items: center;
    border: 1px solid rgba(255,216,0,.3);
    border-radius: 12px;
    color: var(--astro-gold);
    background: rgba(31,25,22,.96);
    box-shadow: 0 8px 22px rgba(0,0,0,.3);
    font-size: 21px;
  }
  .astrologer-dashboard-topbar { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .astrologer-dashboard-topbar > div:first-child { padding-left: 48px; min-width: 0; }
  .astrologer-dashboard-name { font-size: 22px; }
  .astrologer-dashboard-actions { gap: 7px; }
  .astrologer-dashboard-avatar { width: 36px; height: 36px; }
  .astrologer-online-card { padding: 14px; min-height: 72px; }
  .astrologer-online-icon { width: 37px; height: 37px; flex-basis: 37px; }
  .astrologer-stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .astrologer-stat-card { min-height: 86px; padding: 13px 10px; }
  .astrologer-stat-label { font-size: 10px; line-height: 1.35; }
  .astrologer-stat-value { font-size: 21px; }
  .astrologer-panel { padding: 15px; border-radius: 13px !important; }
  .astrologer-avail-row, .astrologer-offer-row { gap: 10px; }
  .astrologer-modal-backdrop {
    position: fixed !important;
    inset: 0;
    z-index: 1300;
    display: flex;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(4px);
  }
  .astrologer-sidebar-drawer {
    width: min(285px, 86vw);
    height: 100dvh;
    overflow-y: auto;
    background: #0d0b0a !important;
    border-right: 1px solid rgba(255,216,0,.16);
    box-shadow: 18px 0 50px rgba(0,0,0,.35);
  }
  .astrologer-sidebar-drawer .astrologer-sidebar-brand { min-height: 82px; }
}

@media (max-width: 480px) {
  .astrologer-dashboard-main { padding: 66px 11px 22px; }
  .astrologer-dashboard-topbar { flex-wrap: wrap; }
  .astrologer-dashboard-topbar > div:first-child { width: 100%; }
  .astrologer-dashboard-actions { margin-left: auto; }
  .astrologer-dashboard-actions > * { max-width: 100%; }
  .astrologer-stat-row { grid-template-columns: 1fr; }
  .astrologer-stat-card { min-height: auto; padding: 13px 14px; }
  .astrologer-stat-label { margin-bottom: 7px; font-size: 11px; }
  .astrologer-stat-value { font-size: 23px; }
  .astrologer-online-card { align-items: center; }
  .astrologer-online-card .text-white { font-size: 13px; }
  .astrologer-online-card .terms-text-color { font-size: 11px; }
  .astrologer-panel { padding: 14px 12px; }
  .waiting-request-card { padding: 12px; }
  .waiting-request-actions button { font-size: 11px; }
  .astrologer-avail-sub { max-width: 225px; }
}

@media (prefers-reduced-motion: reduce) {
  .astrologer-dashboard-shell *, .astrologer-dashboard-shell *::before, .astrologer-dashboard-shell *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Pages with their own layout CSS (wallet family, consultations) share the same
   backdrop as the home page. */
.astro-page-bg {
  color: var(--astro-text);
  background:
    radial-gradient(ellipse at 48% -12%, rgba(132, 83, 54, .28), transparent 48%),
    radial-gradient(circle at 12% 88%, rgba(255, 216, 0, .035) 0 1px, transparent 1.8px),
    #0b0a09 !important;
  background-size: auto, 24px 24px, auto !important;
  overflow-x: clip;
}

.astro-page-bg > main {
  background-image: none !important;
}

/* =====================================================
   FIXED HEADER + RESPONSIVE NAV (all dashboard-family pages)
   One fixed header (components/astrologer/AstrologerTopbar.tsx, mounted in
   app/astrologer/layout.tsx) + a breadcrumb/title row inside each page.
   Loaded last, so this is the single source of truth.
===================================================== */

:root {
  --astro-bar-bg: rgba(11, 10, 9, 0.94);
  --astro-bar-h: 64px;
  --astro-sidebar-w: 220px;
}

/* ---- Fixed header ---- */
.astro-topbar {
  position: fixed;
  top: 0;
  left: var(--astro-sidebar-w);
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: var(--astro-bar-h);
  padding: 0 28px;
  background: var(--astro-bar-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.astro-topbar-id {
  min-width: 0;
}

.astro-topbar-greeting {
  color: var(--astro-muted);
  font-size: 12px;
  line-height: 1.2;
}

.astro-topbar-name {
  overflow: hidden;
  color: #fffaf5;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.astro-topbar-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.astro-topbar-avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--astro-gold);
  border-radius: 50%;
  background: #30251f;
}

.astro-topbar-profile {
  display: inline-flex;
  border-radius: 50%;
  line-height: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.astro-topbar-profile:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.25);
}

.astro-topbar-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--astro-gold);
  color: #1a1000;
  font-weight: 700;
}

/* Leave room for the fixed header on every page. */
.astro-with-topbar .astrologer-dashboard-shell > .astrologer-dashboard-main,
.astro-with-topbar .astrologer-dashboard-main {
  padding-top: calc(var(--astro-bar-h) + 24px) !important;
}

.astro-with-topbar .astro-page-bg > main {
  padding-top: calc(var(--astro-bar-h) + 24px) !important;
}

/* ---- Page head: breadcrumb + title, the same on every page ---- */
.astro-page-head {
  margin-bottom: 22px;
}

.astro-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.astro-breadcrumb a {
  color: #ffd800;
  text-decoration: none;
}

.astro-breadcrumb a:hover {
  text-decoration: underline;
}

.astro-breadcrumb strong {
  color: #fffaf5;
  font-weight: 600;
}

.astro-breadcrumb-sep {
  color: #6f675f;
}

.astro-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.astro-page-title {
  margin: 0;
  color: #fffaf5;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 750;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

/* Pages' own header blocks are plain content rows now (not pinned). */
.wallet-page-header,
.cons-page-header,
.cons-detail-header,
.astro-page-bg .page-header {
  position: static;
}

/* ---- Mobile menu button + drawer ---- */
.astrologer-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.astrologer-drawer-backdrop .astrologer-sidebar-drawer {
  position: relative;
  width: min(300px, 86vw);
  height: 100dvh;
  padding: 18px 16px 24px;
  overflow-y: auto;
  background: #0d0b0a !important;
  border-right: 1px solid rgba(255, 216, 0, 0.16);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.45);
}

.astrologer-drawer-close {
  position: absolute;
  top: 14px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f1ece6;
}

.astrologer-drawer-backdrop .astrologer-sidebar-brand {
  min-height: 0;
  margin-bottom: 22px;
}

.astrologer-drawer-backdrop .astrologer-sidebar-brand img {
  width: auto;
  height: 36px;
}

@media (max-width: 991.98px) {
  /* The desktop sidebar is replaced by the drawer from 991px down. */
  .astrologer-sidebar {
    display: none !important;
  }

  .astrologer-dashboard-shell > .astrologer-dashboard-main,
  .astrologer-dashboard-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 28px !important;
  }

  .astro-topbar {
    left: 0;
    padding: 0 12px 0 64px;
  }

  .astro-topbar-name {
    font-size: 16px;
  }

  .astro-topbar-actions {
    gap: 8px;
  }

  .astrologer-mobile-nav-toggle {
    position: fixed !important;
    top: 11px;
    left: 12px;
    z-index: 1200;
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 216, 0, 0.3);
    border-radius: 12px;
    background: rgba(31, 25, 22, 0.96);
    color: var(--astro-gold);
    font-size: 20px;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .astro-topbar-actions .lang-switcher-code {
    display: none;
  }

  .astro-topbar-greeting {
    display: none;
  }
}


/* =====================================================
   CHAT ROOM — fixed layout (astrologer side)
   Header card (name, timer, Kundli, End), the right-hand details column and
   the composer stay put; only the message history scrolls.
===================================================== */

.consult-layout.is-chat {
  height: calc(100dvh - 240px);
  min-height: 520px;
  align-items: stretch;
  overflow: hidden;
}

.consult-layout.is-chat .consult-main-col {
  height: 100%;
  min-height: 0;
}

.consult-layout.is-chat .consult-header-card {
  flex: 0 0 auto;
}

.consult-layout.is-chat .consult-messages-panel {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.consult-layout.is-chat .consult-composer-area {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.consult-layout.is-chat .consult-side-col {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}

@media (max-width: 991.98px) {
  /* One column: the chat column keeps a fixed height, the details sit below. */
  .consult-layout.is-chat {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .consult-layout.is-chat .consult-main-col {
    height: calc(100dvh - 200px);
    min-height: 440px;
  }

  .consult-layout.is-chat .consult-side-col {
    height: auto;
    overflow: visible;
  }
}


/* =====================================================
   Previous Orders modal (astrologer chat / call room)
===================================================== */

.prev-orders-modal {
  max-width: 440px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px 20px 20px;
  border-radius: 24px;
  background: #2d2420;
}

.prev-orders-modal h5 {
  font-size: 20px;
  font-weight: 700;
}

.prev-card {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
}

.prev-card:last-child {
  margin-bottom: 0;
}

.prev-muted {
  color: #8f867f;
  font-size: 14px;
}

.prev-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 208, 0, .45);
  border-radius: 7px;
  background: rgba(255, 208, 0, .1);
  color: #ffd000;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.prev-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prev-customer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.prev-customer-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.prev-total {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 83, 96, .6);
  border-radius: 12px;
  background: rgba(255, 83, 96, .1);
  color: #ff6b79;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.prev-total b {
  display: block;
  font-size: 15px;
}

.prev-order-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.prev-order-top b {
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.prev-order-top b.prev-free {
  color: #00dca6;
}

.prev-order-top .prev-muted {
  overflow: hidden;
  text-overflow: ellipsis;
}

.prev-order-date {
  margin: 6px 0 12px;
}

.prev-order-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f4eee8;
  font-size: 15px;
  font-weight: 600;
}
