/* ============================================
   Licitație Zilnică - UI Premium
   Glassmorphism • 3D Transitions • Responsive • Flexbox
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.95);
  --text-tertiary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.5);
  --font-xs: 0.7rem;
  --font-sm: 0.85rem;
  --font-md: 1rem;
  --font-lg: 1.15rem;
  --font-xl: 1.4rem;
  --font-2xl: 1.75rem;
  --font-3xl: 2.25rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.75rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1.5rem;
  --spacing-2xl: 2rem;
  --spacing-3xl: 3rem;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sidebar-w: 68px;
  --sidebar-w-expanded: 210px;
  --bottombar-h: 56px;
  --nav-left: var(--sidebar-w);
  --nav-bottom: 0px;
  --live-ticker-h: 34px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  /* Același fundal ca `/user/:id` — stratul aurora/noise este în `partials/navbar.ejs`. */
  background: #05060d;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: var(--nav-left);
  padding-bottom: var(--nav-bottom);
}

body:has(#liveLotTickerBar:not([hidden])) {
  padding-top: calc(var(--live-ticker-h) + env(safe-area-inset-top, 0px));
}

body:has(#liveLotTickerBar.live-lot-ticker--has-lot:not([hidden])) {
  padding-top: calc(44px + env(safe-area-inset-top, 0px));
}

/* Doar în wizard licitație: fără scroll, viewport fix */
body.licitatie-wizard {
  overflow: hidden;
  position: fixed;
  inset: 0;
  left: var(--nav-left);
}

body.auth-body {
  --auth-navbar-reserve: var(--spacing-xl);
  overflow-y: auto;
  overflow-x: hidden;
}

/* ========== LIVE LOT TICKER — un singur rând, capsule, bandă curată ========== */
.live-lot-ticker {
  --live-ticker-fade: linear-gradient(
    90deg,
    transparent,
    #060810 18px,
    #060810 calc(100% - 18px),
    transparent
  );
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: var(--nav-left);
  right: 0;
  z-index: 1002;
  height: var(--live-ticker-h);
  display: flex;
  align-items: center;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(
    105deg,
    rgba(6, 10, 18, 0.97) 0%,
    rgba(15, 23, 42, 0.94) 38%,
    rgba(17, 24, 39, 0.92) 100%
  );
  border-bottom: 1px solid rgba(99, 102, 241, 0.26);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

.live-lot-ticker--has-lot {
  height: 44px;
  min-height: 44px;
}

@media (min-width: 769px) {
  body:has(.app-sidebar:hover) .live-lot-ticker,
  body:has(.app-sidebar:focus-within) .live-lot-ticker {
    left: var(--sidebar-w-expanded);
  }
}

.live-lot-ticker__kicker {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.62rem 0 0.75rem;
  height: 100%;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ecfdf5;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.38) 0%, rgba(5, 105, 75, 0.14) 100%);
  border-right: 1px solid rgba(129, 140, 248, 0.22);
  white-space: nowrap;
}

.live-lot-ticker__kicker i {
  font-size: 0.62rem;
  color: #34d399;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.45));
}

.live-lot-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
}

.live-lot-ticker:not(.live-lot-ticker--scroll) .live-lot-ticker__viewport {
  mask-image: var(--live-ticker-fade);
  -webkit-mask-image: var(--live-ticker-fade);
}

.live-lot-ticker__track {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  column-gap: 0.35rem;
  padding: 0 0.4rem 0 0;
}

/* Oferte — un singur rând în chip (pill) */
.live-bid-feed__chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  vertical-align: middle;
  gap: 0;
  padding: 4px 12px 4px 10px;
  margin-inline: 0;
  max-width: min(92vw, 40rem);
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(24, 32, 58, 0.88), rgba(12, 18, 34, 0.94));
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 2px 10px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.live-bid-feed__chip:hover {
  border-color: rgba(186, 198, 255, 0.42);
  background: linear-gradient(165deg, rgba(32, 42, 72, 0.94), rgba(18, 26, 46, 0.96));
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.18) inset,
    0 3px 14px rgba(0, 0, 0, 0.28);
}

.live-bid-feed__chip-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.live-bid-feed__compact,
.live-bid-feed__compact--one-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.32rem 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}

.live-bid-feed__when {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.58rem;
  font-variant-numeric: tabular-nums;
  color: rgba(148, 163, 184, 0.95);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-right: 0.08rem;
}

.live-bid-feed__kind {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  font-size: 0.56rem;
  color: rgba(251, 191, 36, 0.95);
}

.live-bid-feed__kind .fa-arrow-up {
  color: #4ade80;
}

.live-bid-feed__kind .fa-arrow-down {
  color: #fb923c;
}

.live-bid-feed__kind .fa-level-up-alt,
.live-bid-feed__kind .fa-gavel {
  color: #a5b4fc;
}

.live-bid-feed__mono.live-bid-feed__amt {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  color: #5eead4;
  white-space: nowrap;
  margin-left: 0.12rem;
  padding: 0 0.35rem 0 0.45rem;
  border-left: 1px solid rgba(99, 102, 241, 0.28);
}

.live-bid-feed__core {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.15rem 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(52vw, 22rem);
}

.live-bid-feed__who {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9.5rem;
}

.live-bid-feed__who--sup {
  max-width: 8rem;
  color: rgba(226, 232, 240, 0.9);
}

.live-bid-feed__vs-mark {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.75);
}

.live-bid-feed__verb {
  font-size: 0.56rem;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.9);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-bid-feed__meta {
  flex: 0 1 10.5rem;
  min-width: 0;
  margin-left: 0.18rem;
  padding-left: 0.42rem;
  border-left: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.54rem;
  font-weight: 600;
  color: rgba(165, 211, 253, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-bid-feed__legacy {
  font-size: 0.58rem;
  color: rgba(226, 232, 240, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(40vw, 16rem);
}

.live-bid-feed__sep {
  flex-shrink: 0;
  width: 1px;
  height: 1rem;
  align-self: center;
  margin: 0 0.15rem;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(129, 140, 248, 0.35) 22%,
    rgba(148, 163, 184, 0.45) 50%,
    rgba(129, 140, 248, 0.3) 78%,
    transparent 100%
  );
  opacity: 0.88;
  pointer-events: none;
}

.live-bid-feed__chip:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.85);
  outline-offset: 2px;
}

@keyframes liveBidFeedChipEnter {
  from {
    opacity: 0.65;
    transform: translate3d(-1.35rem, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.live-bid-feed__chip--enter {
  animation: liveBidFeedChipEnter 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.live-lot-ticker__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  vertical-align: middle;
  flex-shrink: 0;
}

.live-lot-ticker__chip--simple .live-lot-ticker__chip-text {
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.73rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.live-lot-ticker__chip--simple:hover .live-lot-ticker__chip-text {
  color: #fef9c3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.live-lot-ticker__chip--lot {
  gap: 0.42rem;
  padding: 2px 0.72rem 2px 0.4rem;
  margin-inline: 0.12rem;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(17, 26, 52, 0.95), rgba(12, 20, 40, 0.88));
  border: 1px solid rgba(129, 140, 248, 0.38);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.15) inset,
    0 2px 10px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.live-lot-ticker__chip--lot:hover {
  border-color: rgba(199, 210, 254, 0.55);
  background: linear-gradient(145deg, rgba(30, 41, 74, 0.96), rgba(22, 33, 58, 0.94));
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.2) inset,
    0 3px 14px rgba(0, 0, 0, 0.28);
}

.live-lot-ticker__brand {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.live-lot-ticker__logo-img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  display: block;
}

.live-lot-ticker__brand--fallback {
  font-size: 0.72rem;
  color: #94a3b8;
}

.live-lot-ticker__brand--fallback i {
  line-height: 1;
}

.live-lot-ticker__meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.live-lot-ticker__meta-row2 {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem 0.42rem;
  max-width: 15.5rem;
}

.live-lot-ticker__title {
  font-size: 0.66rem;
  font-weight: 700;
  color: #f8fafc;
  max-width: 13rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.018em;
  line-height: 1.15;
}

.live-lot-ticker__pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.3rem;
}

.live-lot-ticker__pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 0.11rem 0.4rem;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.live-lot-ticker__pill--storage {
  color: #e8f0fe;
  background: rgba(79, 70, 229, 0.38);
  border: 1px solid rgba(165, 180, 252, 0.42);
}

.live-lot-ticker__pill--price {
  color: #fffbeb;
  background: rgba(217, 119, 6, 0.35);
  border: 1px solid rgba(253, 224, 71, 0.42);
  font-variant-numeric: tabular-nums;
}

.live-lot-ticker__sub-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.22rem;
  max-width: 11rem;
  overflow: hidden;
}

.live-lot-ticker__sub-badge {
  font-size: 0.48rem;
  font-weight: 600;
  padding: 0.06rem 0.3rem;
  border-radius: 4px;
  color: rgba(203, 213, 245, 0.88);
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: none;
}

.live-lot-ticker__badges {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  max-width: 12rem;
  overflow: hidden;
}

.live-lot-ticker__badge {
  font-size: 0.53rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.08rem 0.34rem;
  border-radius: 4px;
  color: rgba(224, 231, 255, 0.95);
  background: rgba(99, 102, 241, 0.32);
  border: 1px solid rgba(165, 180, 252, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-lot-ticker__pricetag {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding-left: 0.08rem;
  text-shadow: 0 1px 10px rgba(250, 204, 21, 0.25);
}

.live-lot-ticker__chip:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.85);
  outline-offset: 2px;
  border-radius: 10px;
}
.live-lot-ticker__device-sep {
  flex-shrink: 0;
  width: 1px;
  height: 1.45rem;
  align-self: center;
  margin: 0 0.62rem;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(129, 140, 248, 0.45) 22%,
    rgba(148, 163, 184, 0.55) 50%,
    rgba(129, 140, 248, 0.38) 78%,
    transparent 100%
  );
  opacity: 0.95;
  pointer-events: none;
}

.live-lot-ticker__dots {
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.62rem;
  user-select: none;
  pointer-events: none;
}

.live-lot-ticker--scroll .live-lot-ticker__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.live-lot-ticker--scroll .live-lot-ticker__track {
  animation: none !important;
  transform: none;
  padding: 0 0.62rem;
}

@media (prefers-reduced-motion: reduce) {
  .live-bid-feed__chip--enter {
    animation: none !important;
  }

  .live-lot-ticker__track {
    transform: none;
    padding: 0 0.62rem;
  }

  .live-lot-ticker:not(.live-lot-ticker--scroll) .live-lot-ticker__viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  :root {
    --live-ticker-h: 30px;
  }

  .live-lot-ticker--has-lot {
    height: 44px;
    min-height: 44px;
  }

  body:has(#liveLotTickerBar.live-lot-ticker--has-lot:not([hidden])) {
    padding-top: calc(44px + env(safe-area-inset-top, 0px));
  }

  .live-bid-feed__meta {
    font-size: 0.5rem;
    flex-basis: 7.5rem;
  }
  .live-bid-feed__chip {
    max-width: min(94vw, 100%);
  }

  .live-lot-ticker__chip--simple .live-lot-ticker__chip-text {
    font-size: 0.66rem;
  }

  .live-lot-ticker__title {
    max-width: 8rem;
    font-size: 0.6rem;
  }

  .live-lot-ticker__pricetag {
    font-size: 0.52rem;
    max-width: 9.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .live-lot-ticker__badge {
    font-size: 0.48rem;
    padding: 0.05rem 0.26rem;
  }

  .live-lot-ticker__kicker {
    padding: 0 0.42rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 380px) {
  .live-lot-ticker__kicker span {
    display: none;
  }

  .live-lot-ticker__kicker {
    padding-inline: 0.38rem;
  }
}

/* ========== APP SIDEBAR (desktop) ========== */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  z-index: 1000;
  background: rgba(12, 18, 34, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md) 0;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  /* nu „hidden”: panoul contului este poziționat în dreapta și ar fi complet tăiat */
  overflow: visible;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.app-sidebar:hover {
  width: var(--sidebar-w-expanded);
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-lg);
  flex-shrink: 0;
  min-height: 52px;
  transition: justify-content 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-sidebar:hover .app-sidebar__brand,
.app-sidebar:focus-within .app-sidebar__brand {
  justify-content: flex-start;
}

.app-sidebar__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: inherit;
  gap: 0;
  min-width: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: gap 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-sidebar:hover .app-sidebar__brand-link,
.app-sidebar:focus-within .app-sidebar__brand-link {
  gap: 0.55rem;
}

.app-sidebar__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.18);
  transition: transform var(--transition-bounce);
  flex-shrink: 0;
}

.app-sidebar__brand-link:hover .app-sidebar__logo {
  transform: scale(1.08);
}

/* Denumire domeniu — vizibilă la extinderea sidebar-ului (hover / focus) */
.app-sidebar__site-name {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  padding-right: 0.02em;
  pointer-events: none;
  transition:
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease 0.06s,
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    filter 0.35s ease;
  transform: translate3d(-6px, 0, 0);
  filter: blur(3px);
}

.app-sidebar:hover .app-sidebar__site-name,
.app-sidebar:focus-within .app-sidebar__site-name {
  max-width: 13.5rem;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.app-sidebar__site-word {
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: lowercase;
  background: linear-gradient(118deg, #f8fafc 12%, #c4b5fd 42%, #5eead4 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(167, 139, 250, 0.35);
}

.app-sidebar__site-tld {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(94, 234, 212, 0.95);
  text-shadow: 0 0 18px rgba(45, 212, 191, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .app-sidebar__site-name {
    transition: opacity 0.15s ease, max-width 0.2s ease;
    filter: none;
    transform: none;
  }

  .app-sidebar:hover .app-sidebar__site-name,
  .app-sidebar:focus-within .app-sidebar__site-name {
    transform: none;
  }
}

.app-sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 var(--spacing-sm);
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.app-sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), transform 0.15s;
  cursor: pointer;
  border: none;
  background: none;
}

.app-sidebar__link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  transition: transform var(--transition-bounce), color var(--transition);
}

.app-sidebar__link:hover {
  background: var(--glass-strong);
  color: var(--text-primary);
}

.app-sidebar__link:hover i {
  transform: scale(1.15);
  color: var(--primary-light);
}

.app-sidebar__link:active {
  transform: scale(0.96);
}

.app-sidebar__link--active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
}

.app-sidebar__link--active i {
  color: var(--primary-light);
}

.app-sidebar__link--wa i {
  color: #25d366;
}

.app-sidebar__link--wa:hover {
  background: rgba(37, 211, 102, 0.12);
}

.app-sidebar__link--search:hover {
  background: rgba(14, 165, 233, 0.12);
}

.app-sidebar__link--search i {
  color: #38bdf8;
}

.app-sidebar__link--search:hover i {
  color: #7dd3fc;
}

.app-sidebar__link--register {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-light);
}

.app-sidebar__link--register:hover {
  background: rgba(99, 102, 241, 0.22);
}

.app-sidebar__link--imei {
  position: relative;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(16, 185, 129, 0.12) 55%, rgba(34, 211, 238, 0.1) 100%);
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: #f0fdff;
}

.app-sidebar__link--imei:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.24) 0%, rgba(16, 185, 129, 0.2) 55%, rgba(34, 211, 238, 0.18) 100%);
  border-color: rgba(103, 232, 249, 0.55);
  color: #fff;
}

.app-sidebar__imei-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-sidebar__imei-icon > i {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  color: #22d3ee;
  animation: imeiSidebarBob 3.2s ease-in-out infinite;
}

.app-sidebar__link--imei:hover .app-sidebar__imei-icon > i {
  color: #67e8f9;
  animation-duration: 1.4s;
}

.app-sidebar__imei-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.55);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.75;
  pointer-events: none;
  animation: imeiSidebarPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.app-sidebar__imei-pulse--delay {
  border-color: rgba(16, 185, 129, 0.5);
  animation-delay: 1.2s;
}

.app-sidebar__label--imei {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #22d3ee 0%, #34d399 50%, #06b6d4 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: imeiSidebarGradient 5s ease-in-out infinite;
}

@keyframes imeiSidebarBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

@keyframes imeiSidebarPulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.75; }
  80%  { transform: translate(-50%, -50%) scale(2.15); opacity: 0;   }
  100% { transform: translate(-50%, -50%) scale(2.15); opacity: 0;   }
}

@keyframes imeiSidebarGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .app-sidebar__imei-icon > i,
  .app-sidebar__imei-pulse,
  .app-sidebar__label--imei {
    animation: none !important;
  }
}

.app-sidebar__link--gsmos {
  position: relative;
  margin-top: 0.5rem;
  background: linear-gradient(120deg, rgba(167, 139, 250, 0.14), rgba(244, 114, 182, 0.14));
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #f8fafc;
}

.app-sidebar__link--gsmos:hover {
  background: linear-gradient(120deg, rgba(167, 139, 250, 0.22), rgba(244, 114, 182, 0.22));
  border-color: rgba(244, 114, 182, 0.55);
  color: #fff;
}

.app-sidebar__gsmos-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-sidebar__gsmos-img {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  box-shadow: 0 4px 10px rgba(2, 6, 23, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  animation: gsmosSidebarBob 3.6s ease-in-out infinite;
}

.app-sidebar__gsmos-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(244, 114, 182, 0.65);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.8;
  pointer-events: none;
  animation: gsmosSidebarPulse 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.app-sidebar__gsmos-pulse--delay {
  border-color: rgba(167, 139, 250, 0.6);
  animation-delay: 1.1s;
}

.app-sidebar__link--gsmos:hover .app-sidebar__gsmos-img {
  animation-duration: 1.6s;
}

.app-sidebar__label--gsmos {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.app-sidebar__gsmos-name {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #a78bfa 0%, #f472b6 55%, #fbbf24 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: gsmosSidebarGradient 5.5s ease-in-out infinite;
}

.app-sidebar__gsmos-hint {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.78);
  font-weight: 500;
}

@keyframes gsmosSidebarBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

@keyframes gsmosSidebarPulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  80%  { transform: translate(-50%, -50%) scale(2.2); opacity: 0;   }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0;   }
}

@keyframes gsmosSidebarGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .app-sidebar__gsmos-img,
  .app-sidebar__gsmos-pulse,
  .app-sidebar__gsmos-name {
    animation: none !important;
  }
}

.app-sidebar__label {
  opacity: 0;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.app-sidebar:hover .app-sidebar__label {
  opacity: 1;
}

.app-sidebar__bottom {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  border-top: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.app-sidebar__user-wrap {
  position: relative;
}

.app-sidebar__user-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: var(--font-sm);
  font-family: inherit;
  text-align: left;
  white-space: nowrap;
  transition: background var(--transition), box-shadow 0.22s ease;
  position: relative;
}

.app-sidebar__user-btn:hover {
  background: var(--glass-strong);
}

.app-sidebar__user-btn-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-sidebar__avatar-ring {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1 0%, #22d3ee 45%, #a78bfa 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 4px 14px rgba(99, 102, 241, 0.25);
}

.app-sidebar__notify-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 2;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f87171, #dc2626);
  border: 2px solid rgba(12, 18, 34, 0.95);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.55);
  font-size: 0.56rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.app-sidebar__notify-badge:empty {
  display: none;
}

.app-sidebar__notify-badge--wide {
  min-width: 24px;
  padding: 0 4px;
  font-size: 0.5rem;
}

.app-sidebar .app-sidebar__avatar,
.app-bottombar__tab--user .app-sidebar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(18, 24, 44, 0.95);
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

/* Poză peste fallback — același grid cell, fără :has() (compatibilitate browser). */
.app-sidebar .app-sidebar__avatar-img,
.app-bottombar__tab--user .app-sidebar__avatar-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  display: block;
}

.app-sidebar .app-sidebar__avatar-img--hide {
  display: none !important;
}

.app-sidebar__avatar--has-photo .app-sidebar__avatar-fallback {
  display: none !important;
}

.app-sidebar__avatar-fallback {
  grid-area: 1 / 1;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 0;
  width: 100%;
  height: 100%;
  font-size: 0.92rem;
  color: rgba(196, 200, 220, 0.88);
  line-height: 1;
  pointer-events: none;
}

.app-sidebar__avatar--fallback .app-sidebar__avatar-fallback {
  display: flex;
}

.app-sidebar__label--user {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-sidebar__user-wrap--open .app-sidebar__user-btn {
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.35);
}

/* ========== User spotlight modal (fullscreen) ========== */
.user-spotlight {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: var(--spacing-xl) var(--spacing-md);
  pointer-events: none;
  perspective: 1200px;
}

.user-spotlight:not([hidden]) {
  pointer-events: auto;
}

.user-spotlight[hidden] {
  display: none;
}

.user-spotlight__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(99, 102, 241, 0.22) 0%, transparent 62%),
    radial-gradient(circle at 80% 100%, rgba(34, 211, 238, 0.1) 0%, transparent 45%),
    rgba(8, 10, 20, 0.78);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  animation: userSpotBackdropIn 0.35s ease-out;
}

.user-spotlight__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  overflow-x: hidden;
  border-radius: 22px;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: linear-gradient(165deg, rgba(26, 32, 58, 0.98) 0%, rgba(14, 18, 36, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(99, 102, 241, 0.12);
  animation: userSpotDialogIn 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes userSpotBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes userSpotDialogIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(28px) rotateX(-4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0deg);
  }
}

.user-spotlight__header {
  position: relative;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-lg);
  padding-top: calc(var(--spacing-2xl) + 6px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.user-spotlight__header-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 240px;
  transform: translate(-50%, -72%);
  background: radial-gradient(ellipse closest-side, rgba(99, 102, 241, 0.28) 0%, transparent 100%);
  pointer-events: none;
}

.user-spotlight__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), transform 0.15s;
}

.user-spotlight__close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.user-spotlight__close:active {
  transform: scale(0.94);
}

.user-spotlight__avatar-lg {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-spotlight__avatar-lg img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #1a2238;
}

.user-spotlight__avatar-lg > i {
  display: none;
  font-size: 2rem;
  color: rgba(226, 232, 240, 0.75);
}

.user-spotlight__avatar-lg--fallback > i {
  display: flex;
}

.user-spotlight__avatar-lg--fallback img {
  display: none;
}

.user-spotlight__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.user-spotlight__email {
  margin: 6px 0 0;
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.user-spotlight__badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: var(--spacing-md);
}

.user-spotlight__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  border: 1px solid rgba(165, 180, 252, 0.25);
}

.user-spotlight__pill--alert {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  border-color: rgba(252, 165, 165, 0.35);
}

.user-spotlight__feedback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.user-spotlight__feedback-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.user-spotlight__feedback-chip:hover {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.35);
}

.user-spotlight__feedback-chip--off {
  opacity: 0.55;
  border-style: dashed;
}

.user-spotlight__feedback-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  font-size: 0.85rem;
}

.user-spotlight__feedback-chip-text {
  white-space: nowrap;
}

.user-spotlight__nav {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-spotlight__form-logout {
  margin: 0;
}

.user-spotlight__action {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.user-spotlight__action:hover {
  background: rgba(129, 140, 248, 0.15);
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateX(4px);
}

.user-spotlight__action:active {
  transform: scale(0.99) translateX(2px);
}

.user-spotlight__action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  flex-shrink: 0;
}

.user-spotlight__action-text {
  flex: 1;
}

.user-spotlight__chev {
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.75rem;
}

.user-spotlight__action--danger {
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

.user-spotlight__action--danger:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.4);
}

.user-spotlight__action--danger .user-spotlight__action-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.user-spotlight__action--active {
  border-color: rgba(129, 140, 248, 0.42);
  background: rgba(99, 102, 241, 0.12);
  color: #e0e7ff;
}

.user-spotlight__action--active:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(165, 180, 252, 0.5);
}

.user-spotlight__action--active .user-spotlight__action-icon {
  color: var(--primary-light);
}

.user-spotlight__action--active .user-spotlight__chev {
  color: rgba(165, 180, 252, 0.78);
}

.user-spotlight__hint {
  margin: 0;
  padding: 0 var(--spacing-lg) var(--spacing-xl);
  text-align: center;
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.user-spotlight__hint kbd {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
}

body.user-spotlight-open {
  overflow: hidden;
}

/* ========== APP BOTTOM BAR (mobile) ========== */
.app-bottombar {
  display: none;
}

/* ========== APP SEARCH OVERLAY ========== */
.app-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(72px, 14vh, 140px) var(--spacing-lg) var(--spacing-xl);
  animation: searchOverlayIn 0.22s ease-out;
}

.app-search-overlay[hidden] {
  display: none;
}

@keyframes searchOverlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.app-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 14, 28, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.app-search-overlay__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  flex-shrink: 0;
}

.app-search-overlay--spotlight {
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 100px) var(--spacing-xl);
}

.app-search-overlay--spotlight .app-search-overlay__backdrop {
  background:
    radial-gradient(ellipse 72% 50% at 50% -5%, rgba(99, 102, 241, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    rgba(8, 10, 20, 0.72);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.app-search-overlay--spotlight .app-search-overlay__inner {
  max-width: 640px;
  animation: searchSpotlightReveal 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchSpotlightReveal {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.app-search-overlay__kicker {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-search-overlay__kicker i {
  color: #818cf8;
}

.app-search-overlay__kicker strong {
  color: var(--primary-light);
  font-weight: 700;
}

.app-search-overlay__bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.app-search-overlay--spotlight .app-search-overlay__bar {
  padding: calc(var(--spacing-md) + 2px) var(--spacing-xl);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 48px rgba(99, 102, 241, 0.08);
}

.app-search-overlay__bar > i {
  color: #94a3b8;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.app-search-overlay__kbd {
  flex-shrink: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
  user-select: none;
}

.app-search-overlay__hint {
  margin: var(--spacing-sm) 0 0;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.85);
  line-height: 1.4;
}

.app-search-overlay__input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: var(--font-lg);
  font-family: inherit;
}

.app-search-overlay__input::placeholder {
  color: var(--text-muted);
}

.app-search-overlay__close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 10px;
  font-size: 1rem;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.app-search-overlay__close:hover {
  color: var(--text-primary);
  background: rgba(239, 68, 68, 0.16);
}

.app-search-overlay__list {
  list-style: none;
  margin-top: var(--spacing-md);
  max-height: min(58vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  border-radius: var(--radius-md);
}

.app-search-overlay__result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.15s ease, transform 0.12s ease;
}

.app-search-overlay__result:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.app-search-overlay__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-search-overlay__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-search-overlay__thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.55);
  font-size: 1.35rem;
}

.app-search-overlay__thumb-ph--pending {
  opacity: 0.65;
}

.app-search-overlay__stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-search-overlay__title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.app-search-overlay__title-line strong {
  color: var(--text-primary);
  font-size: var(--font-sm);
  font-weight: 700;
  line-height: 1.25;
}

.app-search-overlay__obs {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(203, 213, 225, 0.92);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.app-search-overlay__obs > i {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
}

.app-search-overlay__obs span {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-search-overlay__org-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.15);
}

.app-search-overlay__org-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-search-overlay__org-logo-fallback {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  font-size: 0.82rem;
}

.app-search-overlay__org-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.92);
}

.app-search-overlay__org-text > i {
  color: #818cf8;
  flex-shrink: 0;
}

.app-search-overlay__org-name {
  font-weight: 600;
  color: var(--text-primary);
}

.app-search-overlay__org-co {
  flex: 1 1 100%;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.app-search-overlay__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fcd34d;
  font-weight: 600;
}

.app-search-overlay__rating--stars {
  flex-wrap: wrap;
  row-gap: 2px;
}

.app-search-overlay__rating--stars > .fas.fa-star {
  font-size: 0.68rem;
  line-height: 1;
}

.app-search-overlay__rating-none {
  color: rgba(148, 163, 184, 0.95);
  font-style: italic;
}

.app-search-overlay__session-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.72rem;
}

.app-search-overlay__session {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(165, 243, 252, 0.95);
  font-weight: 600;
  max-width: 100%;
}

.app-search-overlay__session > i {
  flex-shrink: 0;
  opacity: 0.85;
}

.app-search-overlay__session > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.app-search-overlay__pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

.app-search-overlay__meta {
  font-size: 0.72rem !important;
  color: rgba(148, 163, 184, 0.95) !important;
}

.app-search-overlay__empty {
  list-style: none;
  margin: var(--spacing-md) 0 0;
  text-align: center;
  color: var(--text-muted);
  padding: var(--spacing-xl);
  font-size: var(--font-sm);
}

body.search-overlay-open {
  overflow: hidden;
}

/* ========== AUTH FORMS ========== */
.auth-page,
.auth-main {
  position: relative;
  margin-top: var(--auth-navbar-reserve);
  min-height: calc(100vh - var(--auth-navbar-reserve));
  min-height: calc(100dvh - var(--auth-navbar-reserve));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  padding-left: max(var(--spacing-xl), env(safe-area-inset-left, 0px));
  padding-right: max(var(--spacing-xl), env(safe-area-inset-right, 0px));
  padding-bottom: max(var(--spacing-xl), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  flex-shrink: 0;
  margin: 0;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.auth-card h1 i {
  color: var(--primary-light);
}

.auth-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-sm);
}

.auth-footer {
  text-align: center;
  margin-top: var(--spacing-xl);
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.auth-footer a {
  color: var(--primary-light);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-card h1 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.auth-card h1 i {
  color: var(--primary-light);
}

.auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-sm);
}

.auth-success {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-sm);
}

.reg-verify-resend {
  margin-top: var(--spacing-lg);
  text-align: center;
}

.reg-verify-otp-input {
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.reg-verify-card .reg-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light, #7dd3fc);
  margin-bottom: 0.5rem;
}

.auth-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.auth-form .auth-form__row-spread {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: var(--spacing-xs);
}

.auth-form .auth-form__row-spread label {
  margin-bottom: 0;
}

.auth-inline-link {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary-light, #7dd3fc);
  text-decoration: none;
  white-space: nowrap;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.auth-form .form-group input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.auth-form .form-group input::placeholder {
  color: var(--text-muted);
}

.auth-footer {
  margin-top: var(--spacing-xl);
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.auth-footer a {
  color: var(--primary-light);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.auth-form .form-group input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.auth-form .form-group input::placeholder {
  color: var(--text-muted);
}

.auth-form .form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.auth-form .form-input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-form .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.auth-form .form-input::placeholder {
  color: var(--text-muted);
}

.auth-form .form-error {
  color: var(--danger);
  font-size: var(--font-sm);
  margin-top: var(--spacing-sm);
}

.auth-form .btn-submit {
  width: 100%;
  margin-top: var(--spacing-md);
}

/* Checklist cerințe parolă (înregistrare) */
.pwd-rules {
  margin: var(--spacing-md) 0 var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-md);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pwd-rules__title {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
}
.pwd-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pwd-rules__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.35;
  transition: color 0.15s ease;
}
.pwd-rules__item.is-ok {
  color: #86efac;
}
.pwd-rules__icon {
  flex-shrink: 0;
  width: 1em;
  margin-top: 0.12em;
  font-size: 0.85em;
  opacity: 0.85;
}
.pwd-rules__item.is-ok .pwd-rules__icon {
  opacity: 1;
  color: #4ade80;
}
.pwd-rules__match {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: var(--spacing-sm) 0 0;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--font-sm);
  color: var(--text-muted);
}
.pwd-rules__match.is-ok {
  color: #86efac;
}
.pwd-rules__match.is-ok .pwd-rules__icon {
  color: #4ade80;
}
.pwd-rules__match.is-bad {
  color: var(--danger, #f87171);
}
.pwd-rules__match.is-bad .pwd-rules__icon {
  color: var(--danger, #f87171);
}

/* Câmp parolă + buton arată/ascunde (auth) */
.auth-form .password-field {
  position: relative;
  display: block;
}
.auth-form .password-field input {
  padding-right: 2.85rem;
}
.auth-form .password-field__toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm, 8px);
  background: transparent;
  color: var(--text-tertiary, #94a3b8);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.auth-form .password-field__toggle:hover {
  color: var(--primary-light, #7dd3fc);
  background: rgba(255, 255, 255, 0.06);
}
.auth-form .password-field__toggle:focus-visible {
  outline: 2px solid var(--primary, #6366f1);
  outline-offset: 2px;
}

.auth-links {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.auth-links a {
  color: var(--primary-light);
  text-decoration: none;
  font-size: var(--font-sm);
}

.auth-links a:hover {
  text-decoration: underline;
}

/* ========== MAIN CONTENT ========== */
.main-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--spacing-lg);
  padding-bottom: calc(var(--spacing-lg) + env(safe-area-inset-bottom, 0));
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100dvh - 60px);
  min-height: calc(100vh - 60px);
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

.page-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.page-header h1 {
  font-size: var(--font-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
}

.page-header h1 i {
  font-size: var(--font-xl);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  font-weight: 500;
}

/* ========== LISTĂ LICITAȚII ========== */
.licitatii-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  min-height: 60px;
}

.licitatii-loading,
.licitatii-empty {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  text-align: center;
  padding: var(--spacing-xl);
}

.licitatie-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.licitatie-date {
  font-weight: 600;
  color: var(--text-primary);
}

.licitatie-count {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.licitatie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.licitatie-actions a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition);
}

.upload-hint-after {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  margin-top: var(--spacing-md);
}

/* ========== RAPOARTE DASHBOARD ========== */
.rapoarte-main {
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: flex-start;
  height: auto;
  min-height: calc(100vh - 60px);
  padding-bottom: var(--spacing-3xl);
}

.rapoarte-loading {
  text-align: center;
  padding: var(--spacing-3xl);
  color: var(--text-tertiary);
  font-size: var(--font-md);
}

.rapoarte-loading i {
  margin-right: var(--spacing-sm);
}

.rapoarte-dashboard {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.kpi-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.kpi-card--primary .kpi-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.kpi-card--success .kpi-icon { background: linear-gradient(135deg, var(--success), #059669); }
.kpi-card--accent .kpi-icon { background: linear-gradient(135deg, var(--accent), #0891b2); }
.kpi-card--warning .kpi-icon { background: linear-gradient(135deg, var(--warning), #d97706); }

.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: white;
  flex-shrink: 0;
}

.kpi-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.kpi-value {
  font-size: var(--font-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.kpi-label {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  font-weight: 500;
}

.rapoarte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.rapoarte-section {
  margin-bottom: 0;
}

.rapoarte-section--full {
  grid-column: 1 / -1;
}

.rapoarte-section .section-title {
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.rapoarte-section .section-title i {
  color: var(--primary-light);
}

.rapoarte-section .section-desc {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-lg);
}

/* Top utilizatori */
.top-users-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.top-user-item {
  display: grid;
  grid-template-columns: 28px 1fr 120px;
  align-items: center;
  gap: var(--spacing-md);
}

.top-user-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
}

.top-user-item:nth-child(1) .top-user-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1a2e; }
.top-user-item:nth-child(2) .top-user-rank { background: linear-gradient(135deg, #94a3b8, #64748b); color: white; }
.top-user-item:nth-child(3) .top-user-rank { background: linear-gradient(135deg, #b45309, #92400e); color: white; }

.top-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.top-user-name {
  font-weight: 600;
  color: var(--text-primary);
}

.top-user-meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.top-user-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.top-user-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* Activitate pe lună */
.activitate-luna-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-height: 220px;
  overflow-y: auto;
}

.activitate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.activitate-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
}

.activitate-luna {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-sm);
}

.activitate-stats {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* Licitații recente */
.licitatii-recente-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-height: 220px;
  overflow-y: auto;
}

.licitatie-recent-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

.licitatie-recent-item:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}

.licitatie-recent-date {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-sm);
}

.licitatie-recent-meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* Tabel rapoarte */
.rapoarte-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.rapoarte-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.rapoarte-table th,
.rapoarte-table td {
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.rapoarte-table th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
  color: var(--text-secondary);
}

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

.rapoarte-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
}

.rapoarte-no-data {
  color: var(--text-muted);
  font-size: var(--font-sm);
  font-style: italic;
  padding: var(--spacing-lg);
}

/* Raport dispozitive – pe brand, model, defecte */
.rapoarte-dispozitive {
  margin-top: var(--spacing-lg);
}

.rapoarte-dispozitive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.rapoarte-dispozitive-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.rapoarte-dispozitive-col-title {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.rapoarte-dispozitive-col-title i {
  color: var(--primary-light);
}

.rapoarte-dispozitive-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-height: 320px;
  overflow-y: auto;
}

.rapoarte-dispozitive-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.rapoarte-dispozitive-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
}

.rapoarte-dispozitive-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.rapoarte-dispozitive-item .rapoarte-dispozitive-label {
  flex: 1;
}
.rapoarte-dispozitive-icon {
  font-size: 1.1rem;
  margin-right: var(--spacing-sm);
  flex-shrink: 0;
}

.rapoarte-dispozitive-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-sm);
}

.rapoarte-dispozitive-meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .rapoarte-dispozitive-grid {
    grid-template-columns: 1fr;
  }
}

/* Empty state */
.rapoarte-empty {
  text-align: center;
  padding: var(--spacing-3xl);
}

.rapoarte-empty-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  opacity: 0.6;
}

.rapoarte-empty h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.rapoarte-empty p {
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-xl);
}

.rapoarte-back-link {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.rapoarte-back-link a {
  color: var(--primary-light);
  text-decoration: none;
  font-size: var(--font-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: color var(--transition);
}

.rapoarte-back-link a:hover {
  color: var(--primary);
}

.nav-link--active {
  color: var(--primary-light) !important;
  font-weight: 600;
}

/* ========== PAGINA COMPARAȚIE OFERTE ========== */
.comparatie-main .page-header { margin-bottom: var(--spacing-xl); }
.comparatie-export-row {
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}
.comparatie-export-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}
.comparatie-export-btns a {
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition);
}
.comparatie-export-btns a:hover { transform: translateY(-1px); }
.comparatie-table-wrap { padding: var(--spacing-lg); overflow: hidden; }
.comparatie-table { font-size: var(--font-sm); }
.comparatie-user-col {
  background: rgba(99, 102, 241, 0.15);
  font-weight: 600;
  color: var(--primary-light);
  min-width: 90px;
  text-align: center;
}
.comparatie-bid {
  font-weight: 600;
  color: var(--success-light);
  text-align: center;
}
.comparatie-bid--empty {
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}
.comparatie-defects { max-width: 180px; font-size: var(--font-xs); }
.comparatie-row-link {
  cursor: pointer;
  transition: background var(--transition);
}
.comparatie-row-link:hover {
  background: rgba(99, 102, 241, 0.1);
}
.comparatie-row-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rapoarte-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .top-user-item {
    grid-template-columns: 24px 1fr;
  }
  .top-user-bar-wrap {
    grid-column: 2;
  }
}

/* ========== CARDS - Glassmorphism ========== */
.card {
  width: 100%;
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card--glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    var(--shadow-md);
}

.card--glass:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    var(--shadow-lg);
}

/* (licitatii styles defined above) */
.licitatii-loading-duplicate,
.licitatii-empty {
  color: var(--text-tertiary);
  padding: var(--spacing-lg);
  text-align: center;
  font-size: var(--font-sm);
}

#licitatiiList {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.licitatie-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.licitatie-date {
  font-weight: 600;
  font-size: var(--font-lg);
}

.licitatie-count {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.licitatie-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.licitatie-actions .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.upload-hint-after {
  margin-top: var(--spacing-md);
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.card--slide-in {
  animation: cardSlideIn 0.5s var(--transition-bounce) both;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-8deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateX(0) translateY(0);
  }
}

.card--success {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, var(--glass) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

/* ========== UPLOAD SECTION ========== */
.upload-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.section-title i {
  color: var(--primary-light);
}

.section-desc {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  margin-bottom: var(--spacing-xl);
}

.file-drop-zone {
  width: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  cursor: pointer;
  transition: all var(--transition);
  background: rgba(99, 102, 241, 0.04);
  position: relative;
  overflow: hidden;
}

.file-drop-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  transform: scale(1.01);
}

.file-drop-zone:hover::before,
.file-drop-zone.dragover::before {
  opacity: 1;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.upload-icon {
  font-size: 3.5rem;
  color: var(--primary-light);
  opacity: 0.9;
  transition: transform var(--transition-bounce);
}

.file-drop-zone:hover .upload-icon {
  transform: scale(1.1) translateY(-4px);
}

.upload-text {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.upload-hint {
  font-size: var(--font-xs);
  color: var(--text-muted);
  max-width: 320px;
}

.upload-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.upload-result-icon {
  font-size: 2.5rem;
  color: var(--success);
}

.upload-result-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

.upload-result-name {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.upload-count {
  font-size: var(--font-sm);
  color: var(--accent);
  font-weight: 500;
}

.upload-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

/* ========== SECTION TRANSITIONS ========== */
.section-enter {
  animation: sectionEnter 0.5s var(--transition-bounce) both;
}

@keyframes sectionEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========== WIZARD – Layout app (fill viewport, fără scroll pagină) ========== */
.main-content--wizard .page-header {
  display: none;
}

.main-content--wizard {
  justify-content: stretch;
  padding-top: var(--spacing-md);
  padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom, 0));
  overflow: hidden;
  height: 100dvh;
  min-height: calc(100dvh - 60px);
}

.wizard-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  align-items: center;
}

.wizard-progress {
  flex-shrink: 0;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--spacing-md);
}

.progress-text {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-percent {
  font-size: var(--font-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.progress-track {
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  border-radius: var(--radius-full) var(--radius-full) 0 0;
}

/* ========== PHONE CARD – layout 2 coloane, lățime mare ========== */
.phone-card {
  padding: var(--spacing-lg);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  margin-bottom: 0;
}

.phone-scrollable {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.phone-details {
  display: flex;
  flex-direction: column;
}

/* Layout 2 coloane: poze stânga | nume + defecte dreapta */
.phone-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  min-height: 300px;
}

.phone-col-photos {
  min-height: 250px;
  max-height: 450px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-col-photos .drive-embed-wrap {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.phone-col-photos .drive-embed-iframe {
  flex: 1;
  min-height: 280px;
  height: 100%;
}

.phone-col-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.no-photos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-sm);
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
}

.detail-row {
  margin-bottom: var(--spacing-lg);
}

.detail-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--glass-border);
}

.phone-title {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.badge {
  font-size: var(--font-xs);
  font-weight: 600;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm);
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md) var(--spacing-xl);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-item .label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.detail-item .value {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.detail-item .value.mono {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: var(--font-sm);
}

/* ========== DEFECTE – FOARTE VIZIBILE, esențiale pentru licitare ========== */
/* Iconițe defecte – reprezentare vizuală rapidă */
.defect-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm) 0;
}

.defect-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition), background var(--transition);
  cursor: help;
}

.defect-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.1);
}

/* Iconițe în interiorul chenarului defecte – deasupra titlului */
.defects-box .defect-icons-row {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

.defects-box {
  flex: 1;
  min-height: 80px;
  padding: var(--spacing-xl);
  border: 3px solid #f59e0b;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 100%);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.defects-box-header {
  font-size: var(--font-xl);
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.defects-box-content {
  font-size: var(--font-lg);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
}

.defects-box--none {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  border: 2px dashed rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(16, 185, 129, 0.08);
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--success-light);
  text-align: center;
}

.link-row {
  margin-top: var(--spacing-md);
  width: 100%;
  max-width: 100%;
}

.phone-col-photos .no-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--text-muted);
  font-size: var(--font-sm);
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
}

/* Google Drive embedded folder – imagini în card */
.drive-embed-wrap {
  margin-top: var(--spacing-lg);
  width: 100%;
  max-width: 100%;
}

.drive-embed-wrap .drive-embed-iframe {
  height: 240px;
  min-height: 180px;
}

.drive-embed-label {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.drive-embed-container {
  margin-top: var(--spacing-md);
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.drive-embed-container .embed-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.2);
}

.drive-embed-iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .drive-embed-iframe {
    height: 180px;
  }
}

/* Gallery imagini directe (din API) */
.drive-gallery-wrap {
  margin-top: var(--spacing-lg);
  overflow: visible;
  width: 100%;
}

.drive-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  min-height: 80px;
  overflow: visible;
  width: 100%;
}

.drive-gallery-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.drive-gallery--loaded {
  min-height: unset;
}

.drive-gallery-cell {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition);
}

.drive-gallery-cell:hover {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.drive-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.drive-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.drive-gallery-img:hover {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.drive-gallery-fallback {
  margin-top: var(--spacing-md);
  min-height: 200px;
}
.drive-gallery-fallback .drive-embed-iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: var(--radius-md);
}

/* ========== GALERIE POZE – chenar cu săgeți + lightbox ========== */
.gallery-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.gallery-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.photo-gallery {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
}

.gallery-drive-link {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.gallery-arrow:hover:not(:disabled) {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.2);
  transform: scale(1.05);
}

.gallery-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-viewport {
  flex: 1;
  min-width: 0;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--glass-border);
}

.gallery-viewport:hover {
  border-color: var(--primary);
}

.gallery-current {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-current.gallery-img-loaded {
  opacity: 1;
}

.gallery-counter {
  flex-shrink: 0;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-muted);
  min-width: 3ch;
}

/* Lightbox galerie – imagine mare cu săgeți (deasupra modalelor confirm-modal z-index 100000) */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.gallery-lightbox--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 2px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 10;
  transition: all var(--transition);
}

.gallery-lightbox-prev { left: var(--spacing-lg); }
.gallery-lightbox-next { right: var(--spacing-lg); }

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.gallery-lightbox-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.gallery-lightbox-counter {
  margin-top: var(--spacing-md);
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--text-secondary);
}

.gallery-lightbox-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-lightbox-close:hover {
  background: var(--danger);
  border-color: var(--danger);
}

/* Lightbox – imagine full-size în app */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--danger);
}

.lightbox-open-drive {
  font-size: var(--font-sm);
  color: var(--accent);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
}

.lightbox-open-drive:hover {
  background: rgba(6, 182, 212, 0.35);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.link-btn:hover {
  background: rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

/* ========== OFERTĂ CURENTĂ (alte oferte pe același dispozitiv) ========== */
.current-bid-info {
  padding: var(--spacing-sm) var(--spacing-md);
  margin-top: var(--spacing-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}
.current-bid-info strong { color: var(--success-light); }
.current-bid-info .badge-you {
  font-size: var(--font-xs);
  color: var(--accent);
  font-style: italic;
}

/* ========== SUGESTII LICITARE (ultimele 3 similare + istoric castiguri) ========== */
.bid-suggestions-info {
  padding: var(--spacing-md);
  margin-top: var(--spacing-sm);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}
.bid-suggestions-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  margin-top: var(--spacing-md);
}
.bid-suggestions-title:first-child {
  margin-top: 0;
}
.bid-suggestion-item {
  padding: var(--spacing-xs) 0;
  color: var(--text-secondary);
}
.bid-suggestion-item strong { color: var(--warning); }
.bid-suggestion-date {
  font-size: var(--font-xs);
  color: var(--text-tertiary);
  font-style: italic;
}

/* Won stats box inside suggestions */
.won-stats-box {
  padding: var(--spacing-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

.won-stats-title {
  font-weight: 700;
  font-size: var(--font-md);
  color: #fbbf24;
  margin-bottom: var(--spacing-md);
}

.won-stats-title i {
  margin-right: var(--spacing-xs);
}

.won-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.won-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.won-stat--similar {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.08);
}

.won-stat-value {
  font-size: var(--font-lg);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.won-stat--similar .won-stat-value {
  color: var(--accent);
}

.won-stat-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.won-stats-last {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  padding: var(--spacing-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.won-stats-last i {
  color: var(--text-muted);
  margin-right: var(--spacing-xs);
}

.won-stats-last strong {
  color: #fbbf24;
}

.won-stats-recent-title {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.won-stats-recent-item {
  font-size: var(--font-sm);
  padding: 2px 0;
  color: var(--text-secondary);
}

.won-stats-recent-item strong {
  color: var(--success-light);
}

/* ========== TABEL LOGURI ========== */
.loguri-table { font-size: var(--font-sm); }
.log-action { font-weight: 600; color: var(--primary-light); }
.log-details { color: var(--text-tertiary); font-size: var(--font-xs); max-width: 200px; }

/* ========== BID ROW – un singur rând, minimal ========== */
.bid-row {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0 0;
  margin-top: var(--spacing-sm);
  border-top: 1px solid var(--glass-border);
}

.bid-row .btn-tiny {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-lg);
  min-width: 52px;
}

.bid-row .input-pret-tiny {
  flex: 1;
  min-width: 110px;
  max-width: 180px;
  padding: var(--spacing-md) var(--spacing-lg) !important;
  font-size: var(--font-xl) !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: 2px solid rgba(16, 185, 129, 0.5) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  color: var(--text-primary);
  outline: none;
}

.bid-row .input-pret-tiny:focus {
  border-color: var(--success) !important;
}

.bid-row .input-pret-tiny::placeholder {
  color: var(--text-muted);
}

/* ========== DONE SECTION ========== */
.done-section {
  text-align: center;
}

.done-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-2xl);
}

.done-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: var(--spacing-lg);
  animation: donePop 0.6s var(--transition-bounce) both;
}

@keyframes donePop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.done-title {
  font-size: var(--font-2xl);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.done-summary {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

.done-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.done-hint {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Link-uri / butoane cu doar modificator (.btn-primary etc.) — fără .btn (pagini admin) */
a.btn-primary,
a.btn-outline,
a.btn-secondary,
a.btn-success,
a.btn-warning,
a.btn-danger,
button.btn-primary:not(.btn),
button.btn-outline:not(.btn),
button.btn-secondary:not(.btn),
button.btn-success:not(.btn),
button.btn-warning:not(.btn),
button.btn-danger:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
  line-height: 1.2;
}

a.btn-sm,
button.btn-sm:not(.btn) {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-xs);
  gap: 4px;
}

button.btn-primary:not(.btn),
button.btn-success:not(.btn),
button.btn-warning:not(.btn) {
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn-sm { padding: var(--spacing-xs) var(--spacing-md); font-size: var(--font-xs); gap: 4px; }
.btn-md { padding: var(--spacing-sm) var(--spacing-lg); font-size: var(--font-sm); }
.btn-lg { padding: var(--spacing-md) var(--spacing-xl); font-size: var(--font-md); }
.btn-xl { padding: var(--spacing-lg) var(--spacing-2xl); font-size: var(--font-lg); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.btn-glow:hover {
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.4), 0 8px 28px rgba(99, 102, 241, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: var(--text-tertiary);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-strong);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45);
}

.btn-danger {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.5);
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--danger);
}

/* ========== FORM CONTROL ========== */
.form-control {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-primary);
  font-size: 16px;
  transition: all var(--transition);
  outline: none;
}

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

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* ========== MODAL CONFIRMARE SCHIMBARE OFERTĂ ========== */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.confirm-modal--open {
  opacity: 1;
  visibility: visible;
}
.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.confirm-modal-content {
  position: relative;
  z-index: 1;
  max-width: 400px;
  padding: var(--spacing-2xl);
  text-align: center;
  animation: modalEnter 0.3s ease-out;
}
@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.confirm-modal-icon {
  font-size: 2.5rem;
  color: var(--warning);
  margin-bottom: var(--spacing-md);
}
.confirm-modal-title {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-sm);
}
.confirm-modal-text {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.5;
}
.confirm-modal-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Toasts (licitație): stiluri sub `.toast-container` în secțiunea GSM, mai jos în fișier */

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .phone-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: unset;
  }
  .phone-col-photos {
    order: 1;
    min-height: 220px;
    max-height: 300px;
  }
  .phone-col-info { order: 2; }
}

@media (max-width: 600px) {
  .main-content {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-2xl);
  }

  .page-header h1 {
    font-size: var(--font-xl);
  }

  .card {
    padding: var(--spacing-xl);
  }

  .phone-title {
    font-size: var(--font-xl);
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .input-pret-large {
    font-size: var(--font-xl) !important;
    max-width: 100% !important;
  }

  .wizard-actions {
    flex-direction: column;
  }

  .wizard-actions .btn {
    width: 100%;
    min-width: unset;
  }

  .progress-percent {
    font-size: var(--font-xl);
  }

  .defects-box {
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
  }

  .defects-box-header,
  .defects-box-content {
    font-size: var(--font-lg);
  }
}

@media (max-width: 400px) {
  .progress-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }
}

/* ========== KPI WON CARDS ========== */
.kpi-card--won .kpi-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.kpi-card--won-sum .kpi-icon { background: linear-gradient(135deg, #10b981, #047857); }

.kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ========== ANEXE SECTION (pagina principala) ========== */
.file-drop-zone--xlsx {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}

.file-drop-zone--xlsx:hover,
.file-drop-zone--xlsx.dragover {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.file-drop-zone--xlsx .upload-icon {
  color: var(--success-light);
}

.anexe-list-container {
  margin-top: var(--spacing-xl);
}

.anexe-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.anexa-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(16, 185, 129, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: border-color var(--transition), background var(--transition);
}

.anexa-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
}

.anexa-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anexa-item-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-md);
}

.anexa-item-title i {
  color: var(--success-light);
  margin-right: var(--spacing-xs);
}

.anexa-item-meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.anexa-item-file {
  font-size: var(--font-xs);
  color: var(--text-tertiary);
  font-style: italic;
}

.anexa-item-actions {
  display: flex;
  gap: var(--spacing-xs);
  flex-shrink: 0;
}

/* Modal detalii anexa */
.anexa-modal-content {
  max-width: 95vw;
  width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
  position: relative;
}

.anexa-modal-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 36px;
  height: 36px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-secondary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
  transition: all var(--transition);
}

.anexa-modal-close:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.anexa-detail-header {
  margin-bottom: var(--spacing-xl);
}

.anexa-detail-header h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-md);
}

.anexa-detail-header h2 i {
  color: var(--success-light);
}

.anexa-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

/* Mono class for tables */
.mono {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: var(--font-xs);
}

/* ========== CAUTARE PAGE ========== */
.cautare-main {
  overflow-y: auto;
  justify-content: flex-start;
  height: auto;
  min-height: calc(100vh - 60px);
  padding-bottom: var(--spacing-3xl);
}

.search-section {
  margin-bottom: var(--spacing-xl);
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-bar-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), var(--shadow-glow);
}

.search-bar-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: var(--font-lg);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
}

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

.search-clear-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.search-clear-btn:hover {
  background: var(--danger);
  color: white;
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  justify-content: center;
}

.search-hint-tag {
  font-size: var(--font-xs);
  color: var(--text-muted);
  padding: 2px var(--spacing-sm);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
}

.search-loading {
  text-align: center;
  padding: var(--spacing-2xl);
  color: var(--text-tertiary);
  font-size: var(--font-md);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  width: 100%;
}

.search-empty,
.search-welcome {
  text-align: center;
  padding: var(--spacing-3xl);
}

.search-empty-icon,
.search-welcome-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  opacity: 0.6;
}

.search-empty h2,
.search-welcome h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.search-empty p,
.search-welcome p {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

/* Result cards */
.result-card {
  animation: sectionEnter 0.3s ease both;
}

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--glass-border);
}

.result-phone-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.result-phone-name {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.result-status {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status--won {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.status--bidded {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.status--none {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.result-card-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-xl);
}

.result-gallery-col {
  min-height: 180px;
}

.result-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.result-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.result-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-detail .label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.result-detail .value {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--text-primary);
}

.result-defects {
  padding: var(--spacing-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.result-castig-info {
  padding: var(--spacing-lg);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
}

.result-castig-header {
  font-size: var(--font-md);
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: var(--spacing-md);
}

.result-castig-header i {
  margin-right: var(--spacing-xs);
}

.result-castig-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-sm);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.result-bids {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.result-bids-title {
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(0, 0, 0, 0.2);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.result-bids-list {
  max-height: 200px;
  overflow-y: auto;
}

.result-bid-item {
  display: grid;
  grid-template-columns: 28px 1fr 100px 120px;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-bottom: 1px solid var(--glass-border);
  font-size: var(--font-sm);
}

.result-bid-item:last-child {
  border-bottom: none;
}

.result-bid-item--top {
  background: rgba(16, 185, 129, 0.08);
}

.result-bid-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--glass-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
}

.result-bid-item--top .result-bid-rank {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a2e;
}

.result-bid-user {
  font-weight: 500;
  color: var(--text-primary);
}

.result-bid-amount {
  font-weight: 700;
  color: var(--success-light);
  text-align: right;
}

.result-bid-date {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-align: right;
}

/* Mini gallery for search */
.photo-gallery--mini {
  min-height: 160px;
}

.photo-gallery--mini .gallery-viewport {
  min-height: 160px;
}

.photo-gallery--mini .gallery-arrow {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .result-card-body {
    grid-template-columns: 1fr;
  }

  .result-gallery-col {
    min-height: 200px;
  }

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

  .result-bid-item {
    grid-template-columns: 24px 1fr 80px;
  }

  .result-bid-date {
    display: none;
  }

  .result-castig-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .search-input {
    font-size: var(--font-md);
  }

  .anexa-modal-content {
    max-width: 100vw;
    width: 100%;
    max-height: 95vh;
    border-radius: var(--radius-md);
  }
}

/* ========== FACTURI SELECTOR (rapoarte) ========== */
.facturi-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.factura-tab {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: inherit;
}

.factura-tab:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
}

.factura-tab--active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  color: var(--text-primary);
}

.factura-tab-title {
  font-weight: 700;
  font-size: var(--font-sm);
  color: inherit;
}

.factura-tab--active .factura-tab-title {
  color: var(--primary-light);
}

.factura-tab-meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.factura-row-clickable {
  cursor: pointer;
  transition: background var(--transition);
}

.factura-row-clickable:hover td {
  background: rgba(99, 102, 241, 0.1) !important;
}

/* Phone detail modal layout */
.phone-detail-header h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.phone-detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--spacing-xl);
}

.phone-detail-gallery {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.phone-detail-gallery .photo-gallery {
  flex: 1;
  min-height: 200px;
  width: 100%;
}

.phone-detail-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

@media (max-width: 768px) {
  .phone-detail-layout {
    grid-template-columns: 1fr;
  }
  .facturi-selector {
    flex-direction: column;
  }
}

/* ========== LICITAȚIE GSM (listă, licitație, navbar complet) ========== */
.nav-user--gsm {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: var(--spacing-sm);
}

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

.nav-search-slot {
  flex: 1 1 220px;
  min-width: 0;
  max-width: min(420px, 38vw);
}

/* Desktop: grid — căutarea și meniul nu se suprapun niciodată */
@media (min-width: 769px) {
  .nav-container {
    display: grid;
    grid-template-columns: auto minmax(136px, 240px) minmax(0, 1fr);
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: unset;
    justify-content: unset;
  }

  .nav-brand {
    flex-shrink: unset;
    grid-column: 1;
    justify-self: start;
  }

  .nav-search-slot {
    grid-column: 2;
    flex: unset;
    width: 100%;
    min-width: 0;
    max-width: 240px;
    justify-self: stretch;
    position: relative;
  }

  .nav-burger {
    grid-column: 3;
    justify-self: end;
  }

  .nav-backdrop {
    grid-column: 1 / -1;
  }

  .nav-user.nav-user--gsm {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    flex: unset;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: var(--spacing-xs);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-left: var(--spacing-xs);
    margin-left: 0;
    box-sizing: border-box;
  }

  .nav-user.nav-user--gsm::-webkit-scrollbar {
    height: 4px;
  }

  .nav-user.nav-user--gsm::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 4px;
  }

  .nav-user.nav-user--gsm > a,
  .nav-user.nav-user--gsm > .nav-user-menu {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .nav-user.nav-user--gsm > a {
    padding-left: var(--spacing-xs);
    padding-right: var(--spacing-xs);
  }

  .nav-user.nav-user--gsm > .nav-user-menu .nav-user-menu__trigger {
    white-space: nowrap;
  }

  /* overflow-y: hidden ar tăia panoul user; permite ieșirea dropdown-ului când e deschis */
  .nav-user.nav-user--gsm:has(.nav-user-menu--open) {
    overflow: visible;
  }
}

.nav-device-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-device-search:focus-within {
  border-color: rgba(129, 140, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.nav-device-search__icon {
  flex-shrink: 0;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  opacity: 0.9;
}

.nav-device-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--font-sm);
  outline: none;
}

.nav-device-search__input::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

.nav-device-search__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1100;
  max-height: min(72vh, 440px);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.nav-device-search__list {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.nav-device-search__hint {
  padding: 12px 14px;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.nav-device-search__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.nav-device-search__item:hover,
.nav-device-search__item.is-active {
  background: rgba(99, 102, 241, 0.14);
}

.nav-device-search__thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-device-search__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-device-search__thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.65);
  font-size: 1.25rem;
}

.nav-device-search__thumb-fallback--pending {
  opacity: 0.55;
}

.nav-device-search__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-device-search__title {
  font-weight: 700;
  font-size: var(--font-sm);
  color: var(--text-primary);
  line-height: 1.3;
}

.nav-device-search__lot-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  vertical-align: middle;
}

.nav-device-search__perm-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  vertical-align: middle;
}

.nav-device-search__obs {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-device-search__org-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.nav-device-search__org-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-device-search__org-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  font-size: 0.68rem;
}

.nav-device-search__org-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.9);
}

.nav-device-search__org-head {
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-device-search__org-co {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.nav-device-search__org-rate {
  font-weight: 600;
  color: #fcd34d;
}

.nav-device-search__org-rate--stars {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 5px;
}

.nav-device-search__org-rate--stars > .fas.fa-star {
  font-size: 0.66rem;
  line-height: 1;
}

.nav-device-search__org-rate-none {
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.95);
  font-style: italic;
}

.nav-device-search__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.72rem;
  color: rgba(186, 230, 253, 0.82);
}

.nav-device-search__auction {
  font-weight: 600;
  color: rgba(165, 243, 252, 0.95);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-device-search__ends {
  color: rgba(148, 163, 184, 0.95);
  white-space: nowrap;
}

.nav-burger {
  display: none;
}

.nav-backdrop {
  display: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--danger);
  color: #fff;
  border-radius: var(--radius-full);
  vertical-align: middle;
}

.nav-user-menu {
  position: relative;
  flex-shrink: 0;
}

.nav-user-menu__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-primary);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-user-menu__trigger:hover {
  border-color: rgba(129, 140, 248, 0.42);
  background: rgba(99, 102, 241, 0.12);
}

.nav-user-menu--open .nav-user-menu__trigger {
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.18);
}

.nav-user-menu__trigger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.28);
}

.nav-user-menu__trigger-dot {
  position: absolute;
  top: 2px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  border: 2px solid rgba(12, 18, 34, 0.95);
  pointer-events: none;
  z-index: 1;
}

.nav-user-menu__avatar-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(30, 41, 59, 0.9);
  flex-shrink: 0;
}

.nav-user-menu__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user-menu__avatar-img--hide {
  display: none !important;
}

/* Nu afișa silueta dacă foto e vizibilă (un singur element — fără dubluri «cerc peste cerc»). */
.nav-user-menu__avatar-ring:has(img.nav-user-menu__avatar-img:not(.nav-user-menu__avatar-img--hide))
  > .nav-user-menu__avatar-fallback {
  display: none !important;
}

.nav-user-menu__avatar-fallback {
  display: none;
  font-size: 0.92rem;
  color: rgba(199, 210, 254, 0.95);
  line-height: 1;
}

.nav-user-menu__avatar-ring--icon-only > .nav-user-menu__avatar-fallback {
  display: flex !important;
  align-items: center;
  justify-content: center;
}


.nav-user-menu__chev {
  font-size: 0.65rem;
  opacity: 0.82;
  transition: transform 0.22s ease;
  margin-right: 2px;
}

.nav-user-menu--open .nav-user-menu__chev {
  transform: rotate(180deg);
}

.nav-user-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 272px;
  max-width: min(340px, calc(100vw - 24px));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 4px 0 1px rgba(99, 102, 241, 0.08),
    0 24px 56px rgba(0, 0, 0, 0.5);
  z-index: 1015;
  overflow: hidden;
}

.nav-user-menu__panel[hidden] {
  display: none !important;
}

.nav-user-menu__head {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.2), transparent 62%, rgba(15, 23, 42, 0.08));
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nav-user-menu__head-avatar-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(167, 139, 250, 0.4);
  background: rgba(51, 65, 85, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.nav-user-menu__head-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  margin: 0;
  padding: 0;
}

.nav-user-menu__head-avatar--hide {
  display: none !important;
}

/* O singură „față” în header: fie poza, fie silueta (nu ambele cercuri). */
.nav-user-menu__head-avatar-wrap:has(img.nav-user-menu__head-avatar:not(.nav-user-menu__head-avatar--hide))
  .nav-user-menu__head-avatar-fallback {
  display: none !important;
}

.nav-user-menu__head-avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.05rem;
  color: rgba(199, 210, 254, 0.95);
  line-height: 1;
}

.nav-user-menu__head-avatar-wrap--icon-only .nav-user-menu__head-avatar-fallback {
  display: flex !important;
}

.nav-user-menu__head-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-user-menu__head-name {
  font-weight: 800;
  font-size: var(--font-sm);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-menu__head-email {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.95);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-menu__credits {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(251, 191, 36, 0.95);
}

.nav-user-menu__actions {
  padding: var(--spacing-xs);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-user-menu__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  color: rgba(226, 232, 240, 0.98);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 500;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
  box-sizing: border-box;
}

.nav-user-menu__item:hover {
  background: rgba(99, 102, 241, 0.16);
  color: #fff;
}

.nav-user-menu__item i:first-of-type {
  width: 1.2rem;
  text-align: center;
  opacity: 0.88;
  flex-shrink: 0;
}

.nav-user-menu__item--current {
  background: rgba(99, 102, 241, 0.12);
  color: rgba(196, 181, 253, 0.98);
}

.nav-user-menu__logout-wrap {
  margin: 2px 0 0;
  padding: var(--spacing-xs) 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.nav-user-menu__item--logout {
  color: rgba(251, 191, 36, 0.98);
}

.nav-user-menu__item--logout:hover {
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
}

.nav-user-menu__item .nav-badge {
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-user-menu__trigger-dot {
    right: auto;
    left: calc(100% - 30px);
    top: calc(var(--spacing-sm) + 2px);
  }

  .nav-user-menu__panel {
    position: relative;
    top: auto;
    right: auto;
    margin-top: var(--spacing-xs);
    box-shadow:
      inset 0 1px 0 rgba(129, 140, 248, 0.12),
      0 8px 28px rgba(0, 0, 0, 0.25);
  }
}

.auth-lead {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  margin: calc(-1 * var(--spacing-sm)) 0 var(--spacing-md);
  text-align: center;
}

.auth-lead--compact {
  font-size: 0.82rem;
  margin: -0.25rem 0 var(--spacing-sm);
  text-align: center;
  opacity: 0.9;
}

.auth-main--wide .auth-card {
  max-width: 560px;
}

/* Înregistrare: layout aerisit, mai puțin „text de broșură” */
.auth-card--register {
  max-width: 28rem;
  padding: var(--spacing-xl) var(--spacing-xl);
}
.auth-register-head {
  text-align: center;
  margin-bottom: var(--spacing-md);
}
.auth-register-head h1 {
  margin-bottom: var(--spacing-sm);
  justify-content: center;
}
.auth-register-subtitle {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* Card Telegram pe înregistrare — evidențiat ca banner, fără ton „opțional” */
.reg-tg-highlight {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin: 0 0 var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 211, 238, 0.48);
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.18) 0%,
    rgba(99, 102, 241, 0.11) 48%,
    rgba(167, 139, 250, 0.08) 100%
  );
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.1),
    0 12px 32px rgba(0, 0, 0, 0.22);
}
.reg-tg-highlight__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  color: #5eead4;
  background: rgba(34, 211, 238, 0.14);
}
.reg-tg-highlight__body {
  min-width: 0;
  text-align: left;
}
.reg-tg-highlight__kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5eead4;
}
.reg-tg-highlight__text {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.55;
  color: var(--text-secondary);
}
.reg-tg-highlight__text strong {
  color: #e0f2fe;
  font-weight: 700;
}

.auth-card--register .auth-form .form-group {
  margin-bottom: var(--spacing-md);
}
.auth-card--register .auth-register-submit {
  width: 100%;
  margin-top: var(--spacing-md);
}

.reg-form__more {
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: linear-gradient(
    145deg,
    rgba(251, 191, 36, 0.1) 0%,
    rgba(99, 102, 241, 0.08) 45%,
    rgba(15, 23, 42, 0.35) 100%
  );
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.06),
    0 8px 26px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.reg-form__more[open] {
  border-color: rgba(129, 140, 248, 0.55);
  background: linear-gradient(
    145deg,
    rgba(251, 191, 36, 0.07) 0%,
    rgba(99, 102, 241, 0.14) 40%,
    rgba(15, 23, 42, 0.45) 100%
  );
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.22);
}
.reg-form__more summary {
  cursor: pointer;
  position: relative;
  padding: var(--spacing-md) var(--spacing-lg);
  padding-right: 2.5rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  user-select: none;
}
.reg-form__more summary::-webkit-details-marker {
  display: none;
}
.reg-form__more-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.reg-form__more-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}
.reg-form__more-title {
  font-size: var(--font-md);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fef3c7;
  line-height: 1.25;
}
.reg-form__more-hint {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
  font-weight: 400;
}
.reg-form__more summary::after {
  content: '';
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  margin-top: -0.28rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2.5px solid #fbbf24;
  border-bottom: 2.5px solid #fbbf24;
  transform: rotate(45deg);
  opacity: 0.95;
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  pointer-events: none;
}
.reg-form__more[open] summary::after {
  margin-top: 0.12rem;
  transform: rotate(-135deg);
  border-right-color: #a5b4fc;
  border-bottom-color: #a5b4fc;
}
.reg-form__more .reg-form__more-body {
  padding: 0 var(--spacing-lg) var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.reg-form__more .reg-form__more-body .form-group:last-child {
  margin-bottom: 0;
}
.reg-form__more .reg-form__more-body .form-group:first-child {
  margin-top: var(--spacing-md);
}

.pwd-rules--compact {
  margin: var(--spacing-sm) 0 var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pwd-rules--compact .pwd-rules__title {
  display: none;
}
.pwd-rules--compact .pwd-rules__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.pwd-rules--compact .pwd-rules__item {
  font-size: 0.78rem;
  gap: 0.4rem;
}
.pwd-rules--compact .pwd-rules__match {
  margin-top: var(--spacing-xs);
  padding-top: var(--spacing-sm);
  font-size: 0.78rem;
}
@media (max-width: 480px) {
  .pwd-rules--compact .pwd-rules__list {
    grid-template-columns: 1fr;
  }
}

.form-row-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

/* După signup: teaser Telegram pe formular + pagină dedicată register-telegram */
.reg-signup-tg-teaser {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin: calc(-1 * var(--spacing-xs)) 0 var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.16) 0%,
    rgba(99, 102, 241, 0.1) 50%,
    rgba(167, 139, 250, 0.08) 100%
  );
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.reg-signup-tg-teaser__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  color: #5eead4;
  background: rgba(34, 211, 238, 0.12);
}

.reg-signup-tg-teaser__copy {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

.reg-signup-tg-teaser__copy strong {
  color: var(--text-primary);
}

.reg-signup-tg-teaser__opt {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  margin-inline: 0.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--font-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: 0.05em;
  color: #5eead4;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

.auth-main--telegram-board {
  max-width: 720px;
  margin-inline: auto;
}

.reg-tg-stack {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.reg-tg-head {
  padding: var(--spacing-xl);
  margin: 0;
  text-align: center;
}

.reg-tg-lead-reset.auth-lead {
  margin-top: var(--spacing-sm);
  max-width: 36rem;
  margin-inline: auto;
}

.reg-tg-success-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 var(--spacing-md);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--success-light);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.38);
}

.reg-tg-success-chip i {
  color: var(--success);
}

.reg-tg-head h1 {
  margin: 0 0 var(--spacing-sm);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}

.reg-tg-main {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.reg-tg-accent-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a78bfa);
}

.reg-tg-main-inner {
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-top: calc(clamp(1.25rem, 3vw, 2rem) + 10px);
}

.reg-tg-opt-row {
  margin-bottom: var(--spacing-md);
}

.reg-tg-optional-tag {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.55);
}

.reg-tg-heading {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.reg-tg-brand-icon-wrap {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #5eead4;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.08);
}

.reg-tg-heading h2 {
  margin: 0 0 var(--spacing-xs);
  font-size: 1.35rem;
}

.reg-tg-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--font-sm);
  line-height: 1.5;
}

.reg-tg-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.reg-tg-benefits li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.reg-tg-benefits i {
  flex-shrink: 0;
  width: 1.65rem;
  text-align: center;
  color: #22d3ee;
}

.reg-tg-bot-hint {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin: 0 0 var(--spacing-md);
}

.reg-tg-bot-hint strong {
  color: #67e8f9;
}

.reg-tg-bot-hint--warn {
  color: #fcd34d;
}

.reg-tg-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: stretch;
  margin-bottom: var(--spacing-md);
}

@media (min-width: 520px) {
  .reg-tg-actions .btn-outline {
    align-self: center;
  }
}

.reg-tg-code-wrap {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(0, 0, 0, 0.28);
}

.reg-tg-code-label {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.reg-tg-code-box {
  margin: 0 0 var(--spacing-sm);
}

.reg-tg-code-box code {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.reg-tg-code-exp {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin: 0 0 var(--spacing-md);
}

.reg-tg-open-tg {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.reg-tg-mini-hint {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.reg-tg-done-callout {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.reg-tg-done-callout > i:first-child {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 0.15rem;
}

.reg-tg-done-callout strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.reg-tg-prefs {
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--glass-border);
  margin-bottom: var(--spacing-lg);
}

.reg-tg-prefs--tight {
  margin-bottom: var(--spacing-md);
}

.reg-tg-check {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  cursor: pointer;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.reg-tg-check input[type='checkbox'] {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #22d3ee;
  margin-top: 0.12rem;
}

.reg-tg-mini-hint + .reg-tg-prefs-status,
.reg-tg-check + .reg-tg-mini-hint {
  margin-top: var(--spacing-sm);
}

.reg-tg-prefs-status {
  display: block;
  font-size: var(--font-xs);
  color: var(--success-light);
  min-height: 1.25em;
  margin-top: var(--spacing-xs);
}

.reg-tg-prefs-status--err {
  color: #fca5a5;
}

.reg-tg-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.reg-tg-continue-footer {
  width: 100%;
  justify-content: center;
}

.reg-tg-center {
  text-align: center;
}

@media (max-width: 600px) {
  .reg-signup-tg-teaser {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reg-tg-highlight {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reg-tg-highlight__body {
    text-align: center;
  }

  .reg-form__more summary {
    align-items: flex-start;
    padding-right: 2.25rem;
  }
  .reg-form__more-icon {
    margin-top: 0.12rem;
  }
  .reg-form__more summary::after {
    top: var(--spacing-lg);
    margin-top: 0;
    transform: rotate(45deg);
  }
  .reg-form__more[open] summary::after {
    top: var(--spacing-lg);
    margin-top: 0;
    transform: rotate(-135deg);
  }

  .form-row-register {
    grid-template-columns: 1fr;
  }
}

.nav-link--active {
  color: var(--primary-light) !important;
  background: rgba(99, 102, 241, 0.12) !important;
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    row-gap: 0;
    justify-content: flex-start;
  }

  .nav-brand {
    order: 1;
    flex-shrink: 0;
  }

  .nav-search-slot {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .nav-burger {
    order: 3;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1003;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .navbar {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .nav-brand-logo {
    height: 30px;
    max-width: min(124px, 30vw);
    object-fit: contain;
  }

  .nav-brand-logo--ltg {
    height: 34px;
    width: 34px;
    max-width: min(40px, 28vw);
  }

  .nav-device-search {
    padding: 5px 8px;
    gap: 6px;
  }

  .nav-device-search__icon {
    font-size: 0.78rem;
  }

  .nav-device-search__input {
    font-size: 0.78rem;
  }

  .nav-burger:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
  }

  .nav-burger__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.2s ease;
  }

  body.nav-menu-open .nav-burger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-menu-open .nav-burger__bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-menu-open .nav-burger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.nav-menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-user.nav-user--gsm {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl);
    padding-bottom: calc(var(--spacing-xl) + env(safe-area-inset-bottom, 0));
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    gap: var(--spacing-xs);
    background: rgba(12, 18, 34, 0.98);
    border-left: 1px solid var(--glass-border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-menu-open .nav-user.nav-user--gsm {
    transform: translateX(0);
  }

  .nav-user.nav-user--gsm .nav-separator {
    display: none;
  }

  .nav-user.nav-user--gsm > a,
  .nav-user.nav-user--gsm .nav-user-menu__trigger {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-md);
  }

  .nav-user.nav-user--gsm .nav-user-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    white-space: normal;
    flex-shrink: 0;
  }

  .nav-user.nav-user--gsm .nav-user-menu__trigger {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .nav-user.nav-user--gsm .nav-user-menu__panel {
    flex-shrink: 0;
    width: 100%;
    max-width: none;
    margin-top: var(--spacing-xs);
  }

  .nav-register-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: var(--spacing-xs);
  }

}

.main-content--auction {
  max-width: 1180px;
  width: 100%;
  align-items: stretch;
}

.auction-page-body {
  /* Mobil + desktop: carcasă fixă 100dvh; secțiunea centrală se scalează (.gsm-auction-middle-fit-viewport). */
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

html:has(body.auction-page-body) {
  height: 100dvh;
  overflow: hidden;
}
.auction-page-body .main-content {
  flex: 1 1 0;
  min-height: 0;
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Nu adăuga env(safe-area) aici — body-ul mobil are deja --nav-bottom (bara + indicator). Alt env() = gol duplicat deasupra navei în browser și PWA. */
  padding-bottom: var(--spacing-md);
}

.auction-page-body .nav-container {
  max-width: 1180px;
}

.auction-page-body .gsm-bulk-page,
.auction-page-body .gsm-individual,
.auction-page-body .gsm-individual-grid {
  width: 100%;
  max-width: none;
}

.auction-page-body .gsm-individual {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Coloană unică în chenar ~1180px; lista = panou glisant */
.auction-page-body .gsm-individual-grid--auction-viewport {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.auction-page-body .gsm-individual-main,
.auction-page-body .gsm-individual-main--auction {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.auction-page-body .gsm-individual-main--auction {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  min-width: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  /* Zona principală: chenar accent (cyan) — foarte vizibil față de header și bara de ofertă */
  padding: clamp(10px, 1.25vw, 14px);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(6, 182, 212, 0.82);
  background:
    linear-gradient(
      168deg,
      rgba(6, 182, 212, 0.1) 0%,
      rgba(15, 23, 42, 0.68) 38%,
      rgba(15, 23, 42, 0.32) 100%
    );
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.35) inset,
    0 0 32px rgba(6, 182, 212, 0.28),
    0 10px 36px rgba(0, 0, 0, 0.42);
}

/* Un chenar vizibil (accentul cyan de mai sus): interiorul NU mai e card „glass“ cu alt border/radius */
.auction-page-body .gsm-individual-main--auction > .gsm-phone-card-main.phone-card.card--glass {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-bottom: 0;
  border-radius: var(--radius-lg);
}

@media (max-width: 960px) {
  .auction-page-body .gsm-individual-main--auction > .gsm-phone-card-main.phone-card.card--glass {
    border-radius: var(--radius-md);
  }
}

.auction-page-body .gsm-individual-main--auction > .gsm-phone-card-main {
  margin-bottom: 0;
  flex: 1 1 auto;
}

.auction-page-body .gsm-phone-card-main {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.auction-page-body .gsm-phone-inner,
.auction-page-body .gsm-phone-inner--bulk-lot,
.auction-page-body .gsm-phone-inner--auction-bid-bar {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.auction-page-body .gsm-auction-middle-fit-viewport {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.auction-page-body .gsm-auction-middle-scroll {
  transform-origin: top left;
  will-change: transform;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.auction-page-body .gsm-auction-middle-scroll .phone-card-gallery {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.auction-page-body .gsm-auction-middle-scroll .phone-detail,
.auction-page-body .gsm-auction-middle-scroll .phone-bulk-right-col {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.auction-page-body .gsm-auction-middle-scroll #bulkGalleryMount,
.auction-page-body .gsm-auction-middle-scroll .phone-photos--stage,
.auction-page-body .gsm-auction-middle-scroll .phone-photos {
  flex: 1 1 0;
  min-height: 0 !important;
  max-height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.auction-page-body .gsm-auction-middle-scroll .photo-viewer {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.auction-page-body .gsm-auction-middle-scroll .photo-frame,
.auction-page-body .gsm-auction-middle-scroll .photo-placeholder {
  flex: 1 1 0;
  min-height: 0 !important;
  max-height: 100%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.auction-page-body .gsm-auction-middle-scroll .photo-frame .phone-photo {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.auction-page-body .gsm-auction-middle-scroll .photo-placeholder {
  position: relative;
}

.auction-page-body .gsm-auction-middle-scroll .photo-controls {
  flex-shrink: 0;
}

/* Individual: în card doar galerie + detaliu; bara ofertă este #auctionBidDockLayer (frate cu .gsm-individual, sub main) */
.auction-page-body .gsm-auction-middle-frame {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .auction-page-body .gsm-auction-middle-frame {
    border-radius: var(--radius-md);
  }
}

/* Licitație individuală: cadre „flame” / „ice frost” + badge-uri */
.auction-page-body .gsm-auction-vibe-badge {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 8;
  display: inline-grid;
  place-items: center;
  grid-template-columns: auto;
  padding: 3px;
  border-radius: 999px;
  pointer-events: none;
  isolation: isolate;
}

.auction-page-body .gsm-auction-vibe-badge__spin {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
}

.auction-page-body .gsm-auction-vibe-badge__body {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px;
  padding: 0.38rem 0.92rem 0.38rem 0.74rem;
  border-radius: 999px;
  font-size: 0.598rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auction-page-body .gsm-auction-vibe-badge__glyph {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
}

.auction-page-body .gsm-auction-vibe-badge__text {
  white-space: nowrap;
}

.auction-page-body .gsm-auction-vibe-badge--hot .gsm-auction-vibe-badge__spin--hot {
  background: linear-gradient(
    148deg,
    rgba(253, 230, 138, 0.95) 0%,
    #f59e0b 28%,
    #ea580c 54%,
    #dc2626 78%,
    rgba(249, 115, 22, 0.9) 100%
  );
  filter: saturate(1.28) brightness(1.03);
  opacity: 0.9;
  box-shadow:
    0 0 14px rgba(255, 100, 0, 0.38),
    inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.auction-page-body .gsm-auction-vibe-badge--hot .gsm-auction-vibe-badge__body {
  color: #fffaf0;
  text-shadow:
    0 0 12px rgba(255, 220, 100, 0.9),
    0 2px 5px rgba(60, 0, 0, 0.95);
  background: linear-gradient(168deg, #120805 0%, #451a03 40%, #991b1b 72%, #0a0604 100%);
  box-shadow:
    0 0 28px rgba(255, 70, 0, 0.55),
    0 12px 26px rgba(70, 0, 0, 0.45),
    0 0 0 1px rgba(255, 230, 180, 0.35) inset,
    inset 0 1px 0 rgba(255, 252, 240, 0.15);
  animation: gsm-vbadge-hot-glare 0.46s ease-in-out infinite alternate;
}

.auction-page-body .gsm-auction-vibe-badge--hot .gsm-auction-vibe-badge__glyph {
  animation: gsm-vbadge-emoji-shake 0.36s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(255, 200, 0, 0.95));
}

.auction-page-body .gsm-auction-vibe-badge--ice .gsm-auction-vibe-badge__spin--ice {
  background: linear-gradient(
    168deg,
    rgba(240, 249, 255, 0.95) 0%,
    #bae6fd 28%,
    #38bdf8 52%,
    #818cf8 76%,
    rgba(224, 242, 254, 0.9) 100%
  );
  filter: saturate(1.2) brightness(1.04);
  opacity: 0.88;
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.32),
    inset 0 0 12px rgba(255, 255, 255, 0.28);
}

.auction-page-body .gsm-auction-vibe-badge--ice .gsm-auction-vibe-badge__body {
  color: #ecfeff;
  text-shadow:
    0 0 14px rgba(165, 243, 252, 0.95),
    0 2px 8px rgba(15, 23, 42, 0.65);
  background: linear-gradient(168deg, #020617 0%, #0c4a6e 38%, #164e63 66%, #020617 100%);
  border: 1px solid rgba(186, 230, 253, 0.5);
  box-shadow:
    0 0 28px rgba(34, 211, 238, 0.38),
    0 12px 30px rgba(15, 23, 42, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  animation: gsm-vbadge-ice-pulse 3.6s ease-in-out infinite alternate;
}

.auction-page-body .gsm-auction-vibe-badge--ice .gsm-auction-vibe-badge__glyph {
  animation: gsm-vbadge-ice-flake 2.45s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 12px rgba(186, 230, 253, 1));
}

@keyframes gsm-vbadge-hot-glare {
  0%,
  100% {
    filter: brightness(1) saturate(1.12);
    box-shadow:
      0 0 24px rgba(255, 90, 0, 0.52),
      0 12px 26px rgba(70, 0, 0, 0.45),
      0 0 0 1px rgba(255, 230, 180, 0.35) inset,
      inset 0 1px 0 rgba(255, 252, 240, 0.15);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.2) saturate(1.55);
    box-shadow:
      0 0 36px rgba(255, 200, 0, 0.75),
      0 16px 32px rgba(100, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: scale(1.025);
  }
}

@keyframes gsm-vbadge-emoji-shake {
  0% {
    transform: translate3d(0, 0.5px, 0) rotate(-10deg);
  }
  100% {
    transform: translate3d(1px, -0.5px, 0) rotate(14deg);
  }
}

@keyframes gsm-vbadge-ice-pulse {
  0%,
  100% {
    filter: brightness(1) saturate(1.15);
  }
  50% {
    filter: brightness(1.1) saturate(1.45);
    box-shadow:
      0 0 36px rgba(56, 189, 248, 0.55),
      0 16px 34px rgba(15, 23, 42, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.58) inset;
  }
}

@keyframes gsm-vbadge-ice-flake {
  0% {
    transform: translateY(1px) rotate(-8deg);
  }
  100% {
    transform: translateY(-3px) rotate(8deg);
  }
}

.auction-page-body .gsm-auction-middle-frame--hot {
  isolation: isolate;
  box-shadow:
    0 0 16px rgba(255, 110, 40, 0.2),
    0 6px 22px rgba(110, 25, 8, 0.1),
    0 0 0 1px rgba(251, 191, 36, 0.38),
    inset 0 0 0 1px rgba(255, 247, 235, 0.07);
}

.auction-page-body .gsm-auction-middle-frame--hot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: screen;
  transform-origin: 50% 100%;
  /* fără transform/hue ciclic — previne glitch la baza chenarului */
  background:
    radial-gradient(ellipse 92% 38% at 50% 100%, rgba(255, 220, 155, 0.32) 0%, transparent 70%),
    radial-gradient(ellipse 34% 36% at 22% 86%, rgba(255, 120, 50, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 34% 36% at 78% 84%, rgba(255, 130, 60, 0.16) 0%, transparent 58%);
  animation: gsm-bid-flame-shroud-breathe 5.5s ease-in-out infinite alternate;
}

.auction-page-body .gsm-auction-middle-frame--hot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: gsm-bid-flame-inner-calm 7s ease-in-out infinite alternate;
}

@keyframes gsm-bid-flame-shroud-breathe {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.52;
  }
}

@keyframes gsm-bid-flame-inner-calm {
  0%,
  100% {
    opacity: 0.5;
    box-shadow:
      inset 0 -8px 16px rgba(255, 120, 50, 0.1),
      inset 0 0 0 1px rgba(255, 200, 150, 0.08);
  }
  50% {
    opacity: 0.68;
    box-shadow:
      inset 0 -12px 20px rgba(255, 90, 35, 0.14),
      inset 0 0 0 1px rgba(255, 230, 200, 0.1);
  }
}

.auction-page-body .gsm-auction-middle-frame--ice {
  isolation: isolate;
  border: none;
  box-shadow:
    0 0 0 1px rgba(224, 242, 254, 0.48) inset,
    0 0 14px rgba(56, 189, 248, 0.17),
    0 6px 22px rgba(15, 23, 42, 0.14),
    0 0 26px rgba(37, 99, 235, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.auction-page-body .gsm-auction-middle-frame--ice::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.42;
  mix-blend-mode: screen;
  transform-origin: 50% 0%;
  background:
    radial-gradient(ellipse 90% 36% at 14% 4%, rgba(255, 255, 255, 0.3) 0%, transparent 64%),
    radial-gradient(ellipse 58% 32% at 91% 8%, rgba(224, 242, 254, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 88% 38% at 50% 100%, rgba(125, 211, 252, 0.13) 0%, transparent 68%);
  animation: gsm-bid-ice-shroud-breathe 6s ease-in-out infinite alternate;
}

.auction-page-body .gsm-auction-middle-frame--ice::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0.52;
  mix-blend-mode: screen;
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 42%,
    rgba(224, 242, 254, 0.07) 100%
  );
  animation: gsm-bid-ice-inner-calm 7.8s ease-in-out infinite alternate;
}

@keyframes gsm-bid-ice-shroud-breathe {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.51;
  }
}

@keyframes gsm-bid-ice-inner-calm {
  0%,
  100% {
    opacity: 0.46;
    box-shadow:
      inset 0 -8px 16px rgba(56, 189, 248, 0.07),
      inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  }
  50% {
    opacity: 0.64;
    box-shadow:
      inset 0 -12px 20px rgba(56, 189, 248, 0.11),
      inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auction-page-body .gsm-auction-middle-frame--hot,
  .auction-page-body .gsm-auction-middle-frame--hot::before,
  .auction-page-body .gsm-auction-middle-frame--hot::after,
  .auction-page-body .gsm-auction-middle-frame--ice,
  .auction-page-body .gsm-auction-middle-frame--ice::before,
  .auction-page-body .gsm-auction-middle-frame--ice::after,
  .auction-page-body .gsm-auction-vibe-badge__spin,
  .auction-page-body .gsm-auction-vibe-badge--hot .gsm-auction-vibe-badge__body,
  .auction-page-body .gsm-auction-vibe-badge--ice .gsm-auction-vibe-badge__body,
  .auction-page-body .gsm-auction-vibe-badge--hot .gsm-auction-vibe-badge__glyph,
  .auction-page-body .gsm-auction-vibe-badge--ice .gsm-auction-vibe-badge__glyph {
    animation: none !important;
  }
}

.auction-page-body .gsm-auction-middle-frame--ice .gsm-auction-middle-scroll,
.auction-page-body .gsm-auction-middle-frame--hot .gsm-auction-middle-scroll {
  position: relative;
  z-index: 4;
}

@media (min-width: 961px) {
  .auction-page-body .gsm-auction-middle-frame--ice .gsm-auction-middle-scroll > *,
  .auction-page-body .gsm-auction-middle-frame--hot .gsm-auction-middle-scroll > *,
  .auction-page-body .gsm-auction-middle-frame--ice .phone-card-gallery,
  .auction-page-body .gsm-auction-middle-frame--ice .phone-detail,
  .auction-page-body .gsm-auction-middle-frame--hot .phone-card-gallery,
  .auction-page-body .gsm-auction-middle-frame--hot .phone-detail {
    position: relative;
    z-index: 4;
  }

  .auction-page-body .gsm-auction-vibe-badge {
    right: 12px;
    bottom: 10px;
    padding: 4px;
  }

  .auction-page-body .gsm-auction-vibe-badge__body {
    font-size: 0.62rem;
    padding: 0.42rem 0.96rem 0.42rem 0.8rem;
  }

  .auction-page-body .gsm-auction-vibe-badge__glyph {
    font-size: 1rem;
  }
}

.auction-page-body .gsm-phone-inner--auction-bid-bar {
  gap: 0;
  align-items: stretch;
}

.auction-page-body .gsm-phone-inner--auction-bid-bar > .gsm-auction-middle-frame {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

@media (min-width: 961px) {
  .auction-page-body .gsm-auction-middle-scroll {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: 'gallery detail';
    column-gap: clamp(0.85rem, 1.8vw, 1.65rem);
    row-gap: var(--spacing-md);
    align-items: stretch;
    gap: var(--spacing-md);
    height: 100%;
    max-height: 100%;
  }

  .auction-page-body .gsm-auction-middle-scroll .phone-card-gallery {
    grid-area: gallery;
    position: relative;
    top: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: auto;
    flex: none;
    overflow: hidden;
  }

  .auction-page-body .gsm-auction-middle-scroll .phone-detail,
  .auction-page-body .gsm-auction-middle-scroll .phone-bulk-right-col {
    grid-area: detail;
    min-width: 0;
    min-height: 0;
    flex: none;
    overflow: hidden;
  }

  .auction-page-body .gsm-phone-inner--bulk-lot .gsm-auction-middle-scroll {
    grid-template-columns: minmax(0, 1fr) clamp(252px, 24vw, 360px);
  }

  .auction-page-body .gsm-auction-bid-dock-layer .phone-detail__footer--auction-wide {
    margin-top: 0;
    width: 100%;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
  }

  .auction-page-body .phone-detail__footer--auction-wide .phone-bid-card {
    display: flex;
    flex-direction: column;
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-status-panel .bid-status-row {
    justify-content: flex-start;
    gap: clamp(var(--spacing-xl), 5vw, 3.5rem);
  }

  /* Stepper + butoane pe același rând, hint centrat dedesubt pe toată lățimea */
  .auction-page-body .phone-detail__footer--auction-wide .bid-action-panel:not(.bid-action-panel--message) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) clamp(var(--spacing-md), 3vw, var(--spacing-xl));
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-stepper {
    flex: 1 1 280px;
    max-width: min(420px, 100%);
    margin-bottom: 0;
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-buttons--stack {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: var(--spacing-md);
    flex: 1 1 260px;
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-buttons--stack .btn-bid {
    width: auto;
    min-width: min(240px, 100%);
    flex: 1 1 200px;
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-buttons--stack .btn-skip {
    align-self: stretch;
    flex: 0 0 auto;
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-hint {
    flex-basis: 100%;
    margin: var(--spacing-sm) 0 0;
    padding-top: var(--spacing-xs);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    order: 10;
  }

  .auction-page-body .phone-detail__footer--auction-wide .bid-action-panel--message {
    padding: var(--spacing-lg);
    text-align: center;
  }
}

.auction-page-body .phone-card-gallery {
  position: relative;
  top: auto;
  align-self: stretch;
}

/* Mobil licitație: înălțimi implicite */
.auction-page-body .phone-photos--stage {
  min-height: min(22dvh, 200px);
}

.auction-page-body .phone-photos {
  min-height: min(18dvh, 160px);
}

.auction-page-body .phone-photo {
  max-height: min(36dvh, 340px);
}

@media (min-width: 961px) {
  /* Galerie ocupă întreaga coloană mijloc — fără plafonul ~40dvh de dinainte */
  .auction-page-body .gsm-phone-inner--bulk-lot #bulkGalleryMount {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: min(50dvh, calc(100dvh - 248px));
  }

  .auction-page-body .phone-photos.phone-photos--stage {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: min(48dvh, calc(100dvh - 260px));
    max-height: none;
    min-width: 0;
  }

  .auction-page-body .phone-photos--stage .photo-viewer {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    justify-content: center;
  }

  .auction-page-body .phone-photos--stage .photo-frame {
    flex: 1 1 auto;
    min-height: min(42dvh, calc(100dvh - 300px));
    max-height: none;
    width: 100%;
  }

  .auction-page-body .phone-photo {
    max-height: min(72dvh, calc(100dvh - 160px));
  }

  .auction-page-body .photo-placeholder {
    min-height: min(40dvh, 320px);
    max-height: none;
    flex: 1 1 auto;
  }

  .auction-page-body .phone-photos--stage .photo-controls {
    flex-shrink: 0;
    padding: 6px var(--spacing-xs) 4px;
  }
}

.auction-page-body .gsm-phone-inner--bulk-lot {
  gap: var(--spacing-sm);
}

.auction-page-body .phone-bulk-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  min-width: 0;
}

.auction-page-body .gsm-bulk-bid--in-detail-column {
  margin-top: 0;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.auction-page-body .gsm-bulk-bid--in-detail-column .gsm-bulk-bid__title {
  font-size: var(--font-sm);
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

/* Lot BULK: câmp · RON · ↓↑ alăturate · Licitez — un rând acolo unde încape */
.auction-page-body .bid-stepper.bid-stepper--bulk-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__field-shell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 5px;
  flex: 1 1 min(148px, 46%);
  min-width: 0;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__field-shell .bid-stepper__field {
  flex: 1 1 auto;
  min-width: 0;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__field-shell .bid-currency--stepper {
  align-self: center;
  flex-shrink: 0;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__nudge {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  flex: 0 0 auto;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__nudge .bid-stepper__btn {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__submit.btn-bid {
  flex: 1 1 148px;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0.48rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 10px;
  animation: none;
}

.auction-page-body .bid-stepper--bulk-inline .bulk-bid-inline__submit.btn-bid:hover:not(:disabled) {
  transform: none;
  filter: brightness(1.06);
}

/* Desktop: panou „Ofertă lot” în coloana din dreapta — mult mai compact */
@media (min-width: 961px) {
  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid--in-detail-column {
    padding: 7px 9px;
    border-radius: var(--radius-md);
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid__title {
    font-size: 0.72rem;
    margin: 0 0 5px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid__title i {
    font-size: 0.65rem;
    margin-right: 4px;
    opacity: 0.9;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bulk-current-bid {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 8px;
    margin: 0 0 5px;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bulk-current-bid .bid-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    margin: 0;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bulk-current-bid .bid-value {
    display: inline;
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-form-wrap .bid-input-label {
    font-size: 0.62rem;
    margin: 0 0 3px;
    line-height: 1.25;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-stepper--bulk-inline {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 5px;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-stepper--bulk-inline .bulk-bid-inline__field-shell {
    flex: 1 1 92px;
    min-width: 0;
    gap: 6px;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-stepper--bulk-inline .bulk-bid-inline__submit.btn-bid {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-stepper--bulk-inline .bid-stepper__btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-input--stepper {
    padding: 6px 8px;
    font-size: 0.86rem;
    font-weight: 700;
    min-height: 44px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-currency--stepper {
    font-size: 0.68rem;
    padding-left: 2px;
    padding-right: 0;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid .btn-bid {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 10px;
    letter-spacing: 0.01em;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .bid-hint,
  .auction-page-body .gsm-auction-bid-dock--bulk .bid-form-wrap > .bid-hint {
    font-size: 0.55rem;
    line-height: 1.25;
    margin: 3px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.42);
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .my-bid-note {
    margin-top: 3px;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-login-hint,
  .auction-page-body .gsm-auction-bid-dock--bulk .closed-banner,
  .auction-page-body .gsm-auction-bid-dock--bulk .adjudicated-banner {
    font-size: 0.72rem;
    margin: 0;
    padding: 4px 0;
    line-height: 1.3;
  }
}

.auction-page-body .gsm-bulk-photo-hint--after-bid {
  margin: var(--spacing-xs) 0 0;
  font-size: var(--font-xs);
  line-height: 1.35;
  color: var(--text-tertiary);
}

.auction-page-body .sidebar-filter-hint--bulk {
  margin-bottom: var(--spacing-sm);
}

.auction-page-body .gsm-auction-compact,
.auction-page-body .gsm-alert {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
}

.auction-page-body .gsm-auction-bid-dock-mount {
  display: contents;
}

.auction-page-body .gsm-auction-bid-dock-layer {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  margin: var(--spacing-sm) 0 0;
  margin-bottom: 0;
  padding: 0;
  box-sizing: border-box;
  align-self: stretch;
}

@media (min-width: 961px) {
  .auction-page-body .gsm-auction-bid-dock-layer.card--glass {
    border-radius: var(--radius-xl);
  }
}

.auction-page-body .gsm-auction-bid-dock-layer:empty {
  display: none !important;
}

/* Mobil (≤960px): secțiunea centrală se scalează; bara ofertă în flux dedesubt (fără fixed) */
@media (max-width: 960px) {
  .auction-page-body .gsm-individual-main--auction {
    gap: var(--spacing-sm);
    padding: clamp(8px, 2vw, 11px);
    border-radius: var(--radius-lg);
    border-width: 2px;
    border-color: rgba(6, 182, 212, 0.78);
    box-shadow:
      0 0 0 1px rgba(6, 182, 212, 0.28) inset,
      0 0 24px rgba(6, 182, 212, 0.22),
      0 6px 24px rgba(0, 0, 0, 0.38);
  }

  /* Galerie + detalii mai compacte doar pe mobil */
  .auction-page-body .phone-photos--stage {
    min-height: min(13dvh, 120px);
  }

  .auction-page-body .phone-photos {
    min-height: min(12dvh, 108px);
  }

  .auction-page-body .phone-photo {
    max-height: min(22dvh, 200px);
  }

  .auction-page-body .photo-frame {
    min-height: min(10dvh, 88px);
    max-height: min(28dvh, calc(100dvh - 260px));
    padding: 2px 4px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
  }

  .auction-page-body .photo-viewer {
    gap: 2px;
    width: 100%;
  }

  .auction-page-body .photo-placeholder {
    min-height: min(8dvh, 72px);
    max-height: min(22dvh, 200px);
    padding: 6px;
    box-sizing: border-box;
  }

  .auction-page-body .phone-photos--stage .photo-controls {
    padding: 2px 4px 2px;
  }

  /* Lot BULK mobil: container galerie cu înălțime explicită (altfel colapsă sub flex + fit) */
  .auction-page-body .gsm-phone-inner--bulk-lot #bulkGalleryMount {
    flex: none;
    width: 100%;
    min-height: min(36vw, 200px);
  }

  .auction-page-body .gsm-phone-inner--bulk-lot .phone-photos--stage,
  .auction-page-body .gsm-phone-inner--bulk-lot .phone-photos {
    min-height: min(36vw, 200px);
    max-height: min(52vw, 260px);
  }

  .auction-page-body .phone-detail {
    gap: var(--spacing-sm);
  }

  .auction-page-body .phone-detail__header {
    padding-bottom: 6px;
  }

  .auction-page-body .phone-detail__toprow {
    margin-bottom: 4px;
    gap: 6px;
  }

  .auction-page-body .phone-detail__index {
    font-size: 0.62rem;
    gap: 4px;
  }

  .auction-page-body .phone-detail__title {
    font-size: clamp(0.88rem, 1vw + 0.72rem, 1.14rem);
    line-height: 1.18;
  }

  .auction-page-body .gsm-detail-panel {
    padding: var(--spacing-sm) 10px;
    border-radius: var(--radius-md);
  }

  .auction-page-body .phone-specs-chips {
    gap: 5px;
  }

  .auction-page-body .spec-chip {
    padding: 5px 8px;
    min-width: 3.65rem;
    gap: 1px;
    border-radius: var(--radius-sm);
  }

  .auction-page-body .spec-chip__label {
    font-size: 8px;
  }

  .auction-page-body .spec-chip__val {
    font-size: 0.74rem;
  }

  .auction-page-body .badge-adj {
    padding: 3px 6px;
    font-size: 0.62rem;
  }

  .auction-page-body .auction-brand-logo.phone-card-brand-logo img {
    width: 32px;
    height: 32px;
  }

  .auction-page-body .phone-bulk-right-col {
    gap: var(--spacing-sm);
  }

  .auction-page-body .phone-mentiuni--auction {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) 10px;
    gap: 6px;
    border-radius: var(--radius-md);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.04) inset,
      0 4px 18px rgba(6, 182, 212, 0.1);
  }

  .auction-page-body .phone-mentiuni__label {
    font-size: 0.58rem;
  }

  .auction-page-body .phone-mentiuni__text {
    font-size: clamp(0.88rem, 1vw + 0.78rem, 1.12rem);
    line-height: 1.45;
    letter-spacing: 0.012em;
  }

  .auction-page-body #phoneCard.gsm-phone-card-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .auction-page-body #phoneCard.gsm-phone-card-main > .gsm-phone-inner {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
  }

  .auction-page-body .gsm-auction-bid-dock-layer:not(:empty) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
    padding: var(--spacing-sm) max(var(--spacing-md), env(safe-area-inset-left, 0px)) var(--spacing-sm)
      max(var(--spacing-md), env(safe-area-inset-right, 0px));
    border-radius: var(--radius-lg);
  }

  .auction-page-body .gsm-phone-inner--auction-bid-bar {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    grid-template-rows: unset;
    grid-template-areas: unset;
    gap: var(--spacing-sm);
  }

  .auction-page-body .gsm-phone-inner--auction-bid-bar > .gsm-auction-middle-frame {
    flex: 1;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .auction-page-body .gsm-phone-inner--bulk-lot {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    gap: var(--spacing-sm);
  }

  .auction-page-body .gsm-auction-middle-fit-viewport {
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .auction-page-body .gsm-auction-middle-scroll {
    flex: none;
    width: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .auction-page-body .gsm-auction-middle-scroll.is-measuring,
  .auction-page-body .gsm-auction-middle-scroll.is-measuring .phone-card-gallery,
  .auction-page-body .gsm-auction-middle-scroll.is-measuring .phone-detail,
  .auction-page-body .gsm-auction-middle-scroll.is-measuring .phone-bulk-right-col {
    flex: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .auction-page-body .gsm-auction-middle-scroll.is-measuring .phone-photos--stage,
  .auction-page-body .gsm-auction-middle-scroll.is-measuring .phone-photos,
  .auction-page-body .gsm-auction-middle-scroll.is-measuring .photo-viewer {
    flex: none !important;
    height: auto !important;
    max-height: none !important;
  }

  .auction-page-body .gsm-auction-middle-scroll.is-measuring .photo-frame,
  .auction-page-body .gsm-auction-middle-scroll.is-measuring .photo-placeholder {
    flex: none !important;
    min-height: min(36vw, 200px) !important;
    max-height: min(52vw, 260px) !important;
    height: min(52vw, 260px) !important;
  }

  .auction-page-body .gsm-auction-middle-scroll.is-fit-scaled {
    flex: none;
    height: auto;
    max-height: none;
  }

  .auction-page-body .gsm-auction-middle-scroll .phone-card-gallery,
  .auction-page-body .gsm-auction-middle-scroll .phone-detail,
  .auction-page-body .gsm-auction-middle-scroll .phone-bulk-right-col {
    flex: none;
    overflow: visible;
  }

  .auction-page-body .gsm-auction-middle-scroll .phone-photos--stage,
  .auction-page-body .gsm-auction-middle-scroll .phone-photos,
  .auction-page-body .gsm-auction-middle-scroll .photo-viewer {
    flex: none;
    max-height: min(52vw, 260px);
  }

  .auction-page-body .gsm-auction-middle-scroll .photo-frame,
  .auction-page-body .gsm-auction-middle-scroll .photo-placeholder {
    flex: none;
    min-height: min(36vw, 200px);
    max-height: min(52vw, 260px);
    height: min(52vw, 260px);
  }

  /* Conținut ofertă: fără „placă” separată — fundalul e .gsm-auction-bid-dock-layer (card--glass) */
  .auction-page-body .gsm-auction-bid-dock {
    flex-shrink: 0;
    position: relative;
    z-index: auto;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    align-self: stretch;
  }

  .auction-page-body .gsm-auction-bid-dock-layer .gsm-auction-bid-dock {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
  }

  .auction-page-body .gsm-auction-bid-dock-layer .phone-bid-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .auction-page-body .gsm-auction-bid-dock-layer .gsm-auction-bid-dock--bulk .gsm-bulk-bid--in-detail-column {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
  }

  .auction-page-body .gsm-auction-bid-dock--bulk {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
  }

  .auction-page-body .gsm-auction-bid-dock .phone-detail__footer--auction-wide {
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid--in-detail-column {
    margin-top: 0;
    flex-shrink: 0;
    padding: 5px 7px;
    border-radius: var(--radius-md);
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid--in-detail-column .gsm-bulk-bid__title {
    font-size: 0.62rem;
    margin: 0 0 3px;
    line-height: 1.15;
    letter-spacing: 0.02em;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-bid__title i {
    font-size: 0.55rem;
    margin-right: 3px;
    opacity: 0.85;
  }

  .auction-page-body .gsm-auction-bid-dock .bulk-current-bid .bid-label {
    font-size: 0.55rem;
    line-height: 1.1;
  }

  .auction-page-body .gsm-auction-bid-dock .bulk-current-bid .bid-value {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 1px 0 3px;
    line-height: 1.15;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-form-wrap .bid-input-label {
    font-size: 0.58rem;
    margin: 0 0 3px;
    line-height: 1.15;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-form-wrap {
    margin: 0;
    padding: 0;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk .gsm-bulk-photo-hint--after-bid {
    margin: 0;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.52rem;
    line-height: 1.2;
    padding: 1px 4px 0;
    color: rgba(255, 255, 255, 0.42);
  }

  .auction-page-body .gsm-auction-bid-dock .phone-bid-card {
    border-radius: 8px;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.07);
  }

  .auction-page-body .gsm-auction-bid-dock .bid-status-panel {
    padding: 4px 7px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-status-row {
    gap: 0.65rem;
    row-gap: 2px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-info-label {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    line-height: 1.1;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-info-val,
  .auction-page-body .gsm-auction-bid-dock .bid-action-panel--message .bid-info-val {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-action-panel,
  .auction-page-body .gsm-auction-bid-dock .bid-action-panel--message {
    margin-top: 0;
    padding: 4px 6px 5px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-action-panel--message {
    padding: 5px 7px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-action-panel--message .gsm-login-hint--card,
  .auction-page-body .gsm-auction-bid-dock .bid-action-panel--message .closed-banner,
  .auction-page-body .gsm-auction-bid-dock .bid-action-panel--message .adjudicated-banner--in-card {
    font-size: 0.68rem;
    line-height: 1.25;
    padding: 4px 6px;
    margin: 0;
  }

  .auction-page-body .gsm-auction-bid-dock .winning-banner--compact {
    margin-top: 3px;
    margin-bottom: 0;
    padding: 2px 6px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-stepper:not(.bid-stepper--bulk-inline) {
    gap: 4px;
    margin-bottom: 4px;
    align-items: stretch;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-stepper--bulk-inline {
    align-items: stretch;
    gap: 8px;
    margin-bottom: 4px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-stepper--bulk-inline .bid-stepper__btn {
    width: 44px;
    min-width: 44px;
    min-height: 46px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-stepper--bulk-inline .bid-input--stepper {
    min-height: 46px;
    border-radius: 10px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-stepper__btn {
    width: 30px;
    min-width: 30px;
    min-height: 34px;
    border-radius: 8px;
    font-size: 0.68rem;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-input--stepper {
    padding: 5px 6px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    min-height: 34px;
    box-sizing: border-box;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-currency--stepper {
    font-size: 0.62rem;
    padding-left: 2px;
    padding-right: 2px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-buttons--stack {
    gap: 4px;
    margin-top: 2px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-buttons .btn-bid,
  .auction-page-body .gsm-auction-bid-dock .gsm-bulk-bid .btn-bid:not(.bulk-bid-inline__submit) {
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 9px;
    min-width: 0;
    width: 100%;
    animation: none;
    box-shadow:
      0 4px 14px rgba(16, 185, 129, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }

  .auction-page-body .gsm-auction-bid-dock .gsm-bulk-bid .btn-bid.bulk-bid-inline__submit {
    width: auto;
    flex: 1 1 168px;
    padding: 0.52rem 1rem;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: 10px;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-buttons .btn-bid:hover:not(:disabled),
  .auction-page-body .gsm-auction-bid-dock .gsm-bulk-bid .btn-bid:hover:not(:disabled) {
    transform: none;
    filter: brightness(1.06);
  }

  .auction-page-body .gsm-auction-bid-dock .bid-buttons .btn-skip {
    padding: 3px 8px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .auction-page-body .gsm-auction-bid-dock .bid-hint,
  .auction-page-body .gsm-auction-bid-dock .bid-form-wrap > .bid-hint {
    font-size: 0.5rem;
    line-height: 1.2;
    margin: 3px 0 0;
    padding: 0 2px;
    color: rgba(255, 255, 255, 0.38);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .auction-page-body .gsm-auction-bid-dock .my-bid-note {
    margin-top: 4px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .auction-page-body .gsm-auction-bid-dock .adjudicated-banner,
  .auction-page-body .gsm-auction-bid-dock .closed-banner {
    padding: 5px 7px;
    font-size: 0.68rem;
  }

  .auction-page-body .gsm-auction-bid-dock .gsm-login-hint {
    font-size: 0.65rem;
    line-height: 1.25;
    margin: 0;
    padding: 4px 0;
  }
}

/* Bara de ofertă licitație: sume și alerte evidențiate (mobil + desktop) */
.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: var(--spacing-md) clamp(var(--spacing-sm), 3vw, var(--spacing-lg));
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.72) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: rgba(148, 163, 184, 0.45);
  box-shadow: 0 0 16px rgba(148, 163, 184, 0.2);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.winning::before {
  background: linear-gradient(180deg, #4ade80, #059669);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.55);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.outbid::before {
  background: linear-gradient(180deg, #fbbf24, #ea580c);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.adjudicated::before {
  background: linear-gradient(180deg, #c4b5fd, #7c3aed);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-row {
  position: relative;
  z-index: 1;
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-row .bid-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-row .bid-info:first-child {
  border-color: rgba(52, 211, 153, 0.45);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.18), rgba(0, 0, 0, 0.28));
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.outbid .bid-info:has(.my-bid) {
  border-color: rgba(251, 146, 60, 0.55);
  background: linear-gradient(145deg, rgba(234, 88, 12, 0.22), rgba(69, 10, 10, 0.25));
  box-shadow:
    0 0 0 1px rgba(251, 146, 60, 0.12) inset,
    0 4px 14px rgba(234, 88, 12, 0.12);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.winning .bid-info:has(.my-bid) {
  border-color: rgba(52, 211, 153, 0.5);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.28), rgba(6, 78, 59, 0.3));
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.85);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-info:first-child .bid-info-val {
  color: #6ee7b7;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-info-val.my-bid {
  color: #fde68a;
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.winning .bid-info-val.my-bid {
  color: #a7f3d0;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel.outbid .bid-info-val.my-bid {
  color: #fed7aa;
  text-shadow: 0 0 14px rgba(251, 146, 60, 0.3);
}

.auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .winning-banner--compact {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #d1fae5;
  border: 1px solid rgba(52, 211, 153, 0.5);
  background: linear-gradient(100deg, rgba(16, 185, 129, 0.28) 0%, rgba(6, 95, 70, 0.42) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 22px rgba(16, 185, 129, 0.2);
}

@media (max-width: 960px) {
  .auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-panel {
    padding: 8px 8px 10px;
  }

  .auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-status-row .bid-info {
    padding: 7px 9px;
    gap: 2px;
  }

  .auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-info-label {
    font-size: 0.52rem;
  }

  .auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .bid-info-val {
    font-size: 0.88rem;
  }

  .auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) .winning-banner--compact {
    margin-top: 8px;
    padding: 9px 11px;
    font-size: 0.72rem;
    gap: 8px;
  }
}

@media (min-width: 961px) {
  .auction-page-body .gsm-auction-bid-dock:not(.gsm-auction-bid-dock--bulk) {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }

  .auction-page-body .gsm-auction-bid-dock--bulk {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
  }
}

/* Desktop: anulează min/max dvh pe galerie — imaginile urmează layout-ul flex/grid scalat */
@media (min-width: 961px) {
  .auction-page-body .gsm-auction-middle-scroll .phone-photos--stage,
  .auction-page-body .gsm-auction-middle-scroll .phone-photos,
  .auction-page-body .gsm-auction-middle-scroll .photo-frame,
  .auction-page-body .gsm-auction-middle-scroll .photo-placeholder,
  .auction-page-body .gsm-auction-middle-scroll #bulkGalleryMount {
    min-height: 0 !important;
    max-height: 100% !important;
  }
}

.auction-page-body .gsm-auction-middle-scroll .phone-photo {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 960px) {
  .auction-page-body .gsm-auction-middle-scroll .phone-card-gallery,
  .auction-page-body .gsm-auction-middle-scroll .phone-detail,
  .auction-page-body .gsm-auction-middle-scroll .phone-bulk-right-col {
    flex: none;
  }

  .auction-page-body .gsm-auction-middle-frame {
    padding-bottom: 2px;
  }

  .auction-page-body .gsm-auction-vibe-badge {
    bottom: 4px;
    right: 6px;
  }
}

/* ========== HOMEPAGE CTA + CATEGORIES ========== */
.home-cta-slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.home-cta-slim__text {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.home-cta-slim__text i {
  color: var(--primary-light);
  font-size: 1rem;
}

.home-cta-slim__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.home-category {
  width: 100%;
  margin-bottom: var(--spacing-2xl);
}

.home-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  gap: var(--spacing-md);
}

.home-category__title {
  font-size: var(--font-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-primary);
  margin: 0;
}

.home-category__title i {
  color: var(--primary-light);
  font-size: 1rem;
}

.home-category__title--past {
  color: var(--text-tertiary);
}

.home-category__title--past i {
  color: var(--text-muted);
}

.home-category__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  font-size: var(--font-xs);
  font-weight: 700;
}

.home-category__title--past .home-category__count {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.home-category__toggle {
  flex-shrink: 0;
}

.home-category__collapsible[hidden] {
  display: none;
}

/* Homepage · secțiuni tabletă: antet compact tip „pill”, centrat */
.home-category__pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 12;
}

.home-category__pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  max-width: min(100%, 22rem);
  padding: 0.45rem 1.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(129, 140, 248, 0.16);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28) inset,
    0 8px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-category__pill--past {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.36);
}

.home-category__pill-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.94);
}

.home-category__pill-title i {
  font-size: 0.82rem;
  color: var(--primary-light);
  opacity: 0.92;
}

.home-category__pill-title--past i {
  color: rgba(148, 163, 184, 0.88);
}

.home-category__pill-title--past {
  color: rgba(203, 213, 225, 0.9);
}

.home-category__pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.38rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-transform: none;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.22);
}

.home-category__pill-badge--past {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(203, 213, 225, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
}

.home-category__pill-sub {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.8);
  text-align: center;
  max-width: 28ch;
}

.home-category__pill-sub--muted {
  color: rgba(100, 116, 139, 0.88);
}

.home-category__pill-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.85rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 12;
}

.landing-ended__crumb {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.landing-ended__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(165, 180, 203, 0.92);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(15, 23, 42, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.landing-ended__back:hover {
  color: var(--text-primary);
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(15, 23, 42, 0.5);
}

.landing-ended__alert {
  text-align: center;
  margin: 0 auto var(--spacing-lg);
  max-width: 42ch;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: rgba(254, 202, 202, 0.95);
  font-size: var(--font-sm);
}

@media (max-width: 600px) {
  .home-cta-slim {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: var(--spacing-md);
  }

  .home-cta-slim__text {
    justify-content: center;
  }

  .home-cta-slim__actions {
    justify-content: center;
  }

  .home-category__title {
    font-size: var(--font-lg);
  }
}

.gsm-cta-banner {
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.gsm-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm);
}

.gsm-cta-icon {
  font-size: 2rem;
  color: var(--accent);
}

.gsm-cta-title {
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-xs);
}

.gsm-cta-text {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  margin: 0;
  max-width: 520px;
}

.gsm-cta-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.licitatii-list-section {
  width: 100%;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.licitatii-list-section--live {
  margin-bottom: var(--spacing-2xl);
}

.licitatii-list-section--past {
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.14);
  margin-top: var(--spacing-xl);
}

.section-title--live {
  margin-bottom: var(--spacing-sm);
}

.section-title--past {
  font-size: var(--font-md);
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.home-section-hint {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin: 0 0 var(--spacing-md);
}

.home-past-intro {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.licitatii-empty--soft {
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px dashed var(--glass-border);
}

.gsm-sessions-grid--past {
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gsm-session-card--past {
  opacity: 0.92;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.gsm-session-card--past:hover {
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  opacity: 1;
}

.gsm-session-card__hero {
  margin: calc(-1 * var(--spacing-sm)) calc(-1 * var(--spacing-sm)) var(--spacing-xs);
  padding: 0;
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 130% 90% at 0% 0%, rgba(99, 102, 241, 0.38), transparent 58%),
    radial-gradient(ellipse 100% 70% at 100% 100%, rgba(6, 182, 212, 0.28), transparent 55%),
    linear-gradient(168deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.52) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gsm-session-card__timer-block {
  padding: 8px 10px 10px;
  background: linear-gradient(118deg, rgba(99, 102, 241, 0.55) 0%, rgba(79, 70, 229, 0.35) 40%, rgba(6, 182, 212, 0.22) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gsm-session-card__timer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
}

.gsm-session-card__timer-row:not(:last-child) {
  margin-bottom: 8px;
}

.gsm-session-card__timer-icon {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.gsm-session-card__timer-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.78);
}

.gsm-session-card__timer-val {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(0.9rem, 2.8vw, 1.08rem);
  letter-spacing: -0.03em;
  text-shadow: 0 1px 12px rgba(167, 243, 208, 0.3);
}

@media (max-width: 480px) {
  .gsm-session-card__timer-val {
    margin-left: auto;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-basis: auto;
  }
}

.gsm-session-card__countdown {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 0;
  background: linear-gradient(118deg, rgba(99, 102, 241, 0.55) 0%, rgba(79, 70, 229, 0.35) 40%, rgba(6, 182, 212, 0.22) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gsm-session-card__countdown--static {
  background: linear-gradient(118deg, rgba(51, 65, 85, 0.75), rgba(30, 41, 59, 0.55));
}

.gsm-session-card__countdown-icon {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.gsm-session-card__countdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.78);
}

.gsm-session-card__countdown-val {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(0.9rem, 2.8vw, 1.08rem);
  letter-spacing: -0.03em;
  margin-left: auto;
  text-shadow: 0 1px 12px rgba(167, 243, 208, 0.3);
}

.gsm-session-card__countdown--static .gsm-session-card__countdown-val {
  font-size: var(--font-sm);
  font-weight: 600;
  margin-left: 0;
}

@media (max-width: 480px) {
  .gsm-session-card__countdown-val {
    margin-left: auto;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-basis: auto;
  }
}

.gsm-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

/* Card licitație: click pe tot blocul → deschide licitația */
.gsm-session-card--clickable {
  cursor: pointer;
}

.gsm-session-card__cover-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  text-decoration: none;
}

.gsm-session-card__cover-link:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.95);
  outline-offset: 2px;
  z-index: 6;
}

/* Profil organizator rămâne deasupra overlay-ului */
.gsm-session-card__organizer:has(.gsm-session-card__organizer-link) {
  position: relative;
  z-index: 10;
}

.gsm-session-card {
  position: relative;
  padding: var(--spacing-sm);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.028) 40%, rgba(15, 23, 42, 0.35) 100%);
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition-smooth);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(99, 102, 241, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.gsm-session-card--has-org-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--gsm-org-logo);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(74%, 160px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.gsm-session-card--has-org-logo > *:not(.gsm-session-card__cover-link) {
  position: relative;
  z-index: 1;
}

.gsm-session-card:hover {
  border-color: rgba(129, 140, 248, 0.48);
  box-shadow:
    0 8px 30px rgba(67, 56, 202, 0.28),
    0 0 36px rgba(99, 102, 241, 0.1),
    0 0 0 1px rgba(165, 180, 252, 0.14) inset;
  transform: translateY(-2px);
}

.gsm-session-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.badge-type,
.badge-status {
  font-size: var(--font-xs);
  font-weight: 600;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-type.bulk,
.badge-type.badge-bulk {
  background: rgba(139, 92, 246, 0.25);
  color: #ddd6fe;
}
.badge-type.individual,
.badge-type.badge-individual {
  background: rgba(6, 182, 212, 0.2);
  color: #a5f3fc;
}
.badge-type.permanent,
.badge-type.badge-permanent {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.badge-status-active { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; }
.badge-status-draft { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.badge-status-closed { background: rgba(156, 163, 175, 0.2); color: #e5e7eb; }
.badge-status-adjudicated { background: rgba(99, 102, 241, 0.3); color: #c7d2fe; }

/* Titlu licitație ca badge în admin → utilizator (tabele oferte / adjudecări) */
a.admin-auction-badge {
  display: inline-flex;
  align-items: flex-start;
  max-width: min(100%, 20rem);
  text-decoration: none;
  color: inherit;
  vertical-align: middle;
}

a.admin-auction-badge:hover {
  text-decoration: none;
}

a.admin-auction-badge:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.95);
  outline-offset: 3px;
  border-radius: 14px;
}

.admin-auction-badge__pill {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.42), rgba(139, 92, 246, 0.32));
  border: 1px solid rgba(199, 210, 254, 0.38);
  color: #eef2ff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 2px 12px rgba(67, 56, 202, 0.22);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

a.admin-auction-badge:hover .admin-auction-badge__pill {
  border-color: rgba(221, 214, 254, 0.55);
  color: #faf5ff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 4px 18px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.pulse-dot { font-size: 0.5rem; animation: gsm-pulse 1.5s ease-in-out infinite; }

@keyframes gsm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.gsm-session-card__title {
  font-size: clamp(0.94rem, 2vw, 1.06rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #f8fafc;
  text-shadow: 0 1px 12px rgba(15, 23, 42, 0.55);
}

.gsm-session-card__desc--clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
}

.gsm-session-card__brands--compact {
  margin: 2px 0 var(--spacing-xs);
}

.gsm-session-card__organizer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(165, 180, 252, 0.22);
}

.gsm-session-card__organizer--with-avatar {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.gsm-session-card__organizer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gsm-session-card__organizer-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.gsm-session-card__organizer--muted {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.18);
}

.gsm-session-card__organizer-label {
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.gsm-session-card__organizer-label i {
  margin-right: 6px;
  opacity: 0.85;
}

.gsm-session-card__organizer-name {
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.28;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gsm-session-card__organizer-company {
  font-size: var(--font-sm);
  color: rgba(186, 230, 253, 0.92);
}

.gsm-session-card__organizer-company i {
  margin-right: 6px;
  opacity: 0.85;
}

.gsm-session-card__organizer-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(129, 140, 248, 0.45);
  transition:
    color var(--transition),
    border-color var(--transition);
}

.gsm-session-card__organizer-link:hover {
  color: #c7d2fe;
  border-bottom-color: rgba(199, 210, 254, 0.9);
}

.gsm-session-card__org-reputation {
  font-size: 0.62rem;
  margin-top: 1px;
  line-height: 1.2;
}

.gsm-session-card__org-reputation-stars {
  color: #fcd34d;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex-wrap: wrap;
  row-gap: 0;
}

.gsm-session-card__org-reputation-stars > .fas.fa-star {
  font-size: 0.55rem;
  line-height: 1;
}

.gsm-session-card__org-star--empty {
  color: rgba(252, 211, 77, 0.28);
}

.gsm-session-card__org-reputation-score {
  margin-left: 3px;
  color: var(--text-primary, #e5e7eb);
  font-size: 0.62rem;
  font-weight: 500;
}

.gsm-session-card__org-reputation-meta {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.58rem;
}

.gsm-session-card__org-reputation-none {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.58rem;
}

/* ========== Dashboard hub evaluări / licitanți & organizatori ========== */
.dash-ratings-hub {
  width: 100%;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-xl);
}

.dash-ratings-hub__lead {
  margin: var(--spacing-sm) 0 var(--spacing-lg);
  max-width: 70ch;
}

.dash-ratings-hub__empty {
  margin: var(--spacing-md) 0 0;
}

.dash-ratings-hub--modal {
  margin-bottom: 0;
  padding: 0;
}

.dashboard-network-modal__panel.dashboard-profile-modal__panel {
  width: min(800px, 100%);
}

.dashboard-network-modal__header {
  align-items: flex-start;
}

.dashboard-network-modal__title {
  margin: 0;
  font-size: var(--font-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.dashboard-network-modal__title i {
  color: var(--primary-light);
}

.dashboard-network-modal__subtitle {
  margin: var(--spacing-xs) 0 0;
}

.dashboard-network-modal__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-xl);
}

.dashboard-network-modal__scroll .ltg-dashlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-network-modal__scroll .ltg-dashlist__item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  padding: 8px 10px;
}

.dashboard-network-modal__scroll .ltg-dashlist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
}

@media (min-width: 640px) {
  .dashboard-network-modal__scroll .ltg-dashlist__row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
    align-items: center;
  }
}

.dashboard-network-modal__scroll .ltg-dashlist__profile {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.dashboard-network-modal__scroll .ltg-dashlist__profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dashboard-network-modal__scroll .ltg-dashlist__profile:hover {
  background: rgba(99, 102, 241, 0.12);
}

.dashboard-network-modal__scroll .ltg-dashlist__name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--text-primary);
}

.dashboard-network-modal__scroll .ltg-dashlist__co {
  display: block;
  font-size: 0.78rem;
  color: rgba(186, 230, 253, 0.92);
  margin-top: 2px;
}

.dashboard-network-modal__scroll .ltg-dashlist__email {
  display: block;
  font-size: 0.7rem;
  word-break: break-all;
  margin-top: 2px;
}

.dashboard-network-modal__scroll .ltg-dashlist__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.69rem;
  color: var(--text-tertiary);
  align-items: center;
}

.dashboard-network-modal__scroll .ltg-dashlist__metrics i {
  margin-right: 4px;
  opacity: 0.75;
  color: var(--primary-light);
}

.dashboard-network-modal__scroll .ltg-dashlist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

@media (min-width: 640px) {
  .dashboard-network-modal__scroll .ltg-dashlist__actions {
    justify-content: flex-end;
    justify-self: end;
  }
}

.dashboard-network-modal__scroll .ltg-dashlist__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.64rem;
  font-weight: 600;
}

.dashboard-network-modal__scroll .ltg-dashlist__pill--ok {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #a7f3d0;
}

.dashboard-network-modal__scroll .ltg-dashlist__pill--muted {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.dashboard-network-modal__scroll .ltg-dashlist__btn-edit {
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.64rem;
  font-weight: 600;
  border: 1px solid rgba(165, 180, 252, 0.38);
  background: rgba(99, 102, 241, 0.22);
  color: #e0e7ff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-network-modal__scroll .ltg-dashlist__btn-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.22);
}

.dashboard-network-modal__scroll .ltg-dashlist__cta {
  white-space: nowrap;
  font-size: 0.72rem;
  padding: 6px 12px;
}

.dashboard-network-modal__scroll .ltg-dashlist__hint {
  font-size: 0.68rem;
  margin: 6px 0 0;
  line-height: 1.35;
}

.dashboard-network-modal__scroll .ltg-dashlist__reviews {
  margin-top: 8px;
}

.dashboard-network-modal__scroll .ltg-dashlist__reviews summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--primary-light);
  font-weight: 600;
  list-style: none;
}

.dashboard-network-modal__scroll .ltg-dashlist__reviews summary::-webkit-details-marker {
  display: none;
}

.dashboard-network-modal__scroll .ltg-dashlist__reviewlist {
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
}

.dashboard-network-modal__scroll .ltg-dashlist__reviewlist li {
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.dashboard-network-modal__scroll .ltg-dashlist__reviewlist li p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  line-height: 1.45;
  font-size: 0.73rem;
}

.user-dashboard-body .dashboard-action-badge,
.gsm-public-profile--dashboard-tools .dashboard-action-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  margin-left: 7px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.42);
  color: #e0e7ff;
  vertical-align: middle;
}

.user-pub-rate-cta-card {
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background:
    radial-gradient(120% 140% at 100% -20%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(90% 100% at 0% 100%, rgba(6, 182, 212, 0.1), transparent 50%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.user-pub-rate-cta-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-xs);
}

@media (min-width: 760px) {
  .user-pub-rate-cta-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
  }

  .user-pub-rate-cta-copy {
    flex: 1;
    max-width: 52ch;
  }

  .user-pub-rate-cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-sm);
    min-width: min(340px, 100%);
  }
}

.user-pub-rate-cta-lead {
  margin-bottom: 0;
  margin-top: var(--spacing-xs);
}

.user-pub-rate-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.user-pub-rate-btn {
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
}

.user-pub-rate-btn i {
  opacity: 0.95;
}

.user-pub-rate-btn--secondary {
  border-width: 2px;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(6, 24, 40, 0.35);
  color: rgba(226, 250, 255, 0.98);
}

.user-pub-rate-btn--secondary:hover {
  border-color: rgba(162, 240, 255, 0.55);
  background: rgba(8, 47, 73, 0.45);
  color: #ecfeff;
}

/* ---------- Rating composer modal (layer above dashboard lists) ---------- */
.rating-composer-modal__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rating-composer-modal {
  position: fixed;
  inset: 0;
  z-index: 100620;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(var(--spacing-md), env(safe-area-inset-top, 0px)) var(--spacing-md)
    max(var(--spacing-md), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.rating-composer-modal[hidden] {
  display: none !important;
}

.rating-composer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rating-composer-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  animation: sessionModalIn 0.34s cubic-bezier(0.25, 0.46, 0.45, 1);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(165, 180, 252, 0.12) inset,
    0 -24px 80px -28px rgba(99, 102, 241, 0.5) inset;
}

.rating-composer-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  background: linear-gradient(132deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rating-composer-modal__head-copy {
  min-width: 0;
}

.rating-composer-modal__eyebrow {
  margin: 0;
  font-size: var(--font-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.rating-composer-modal__title {
  margin: 6px 0 0;
  font-size: var(--font-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rating-composer-modal__lead {
  margin: var(--spacing-sm) 0 0;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 38ch;
}

.rating-composer-modal__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: -6px -6px 0 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    border-color var(--transition),
    color var(--transition),
    transform 0.15s ease;
}

.rating-composer-modal__close:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.rating-composer-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-lg);
  padding-top: var(--spacing-md);
  -webkit-overflow-scrolling: touch;
}

.rating-composer-modal__hint {
  margin: 0 0 var(--spacing-lg);
  font-size: var(--font-sm);
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.5;
}

.rating-composer-modal__star-block {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.45);
}

.rating-composer-modal__star-label {
  display: block;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(186, 230, 253, 0.9);
  margin-bottom: var(--spacing-sm);
}

.rating-composer-modal__stars-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: center;
}

.rating-composer-modal__star-btn {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 30% 20%, rgba(250, 250, 255, 0.15), transparent 62%),
    rgba(17, 24, 39, 0.8);
  color: rgba(226, 232, 240, 0.6);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  transition:
    transform 0.14s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.rating-composer-modal__star-btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(253, 224, 71, 0.5);
}

.rating-composer-modal__star-btn--filled {
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
  box-shadow:
    0 0 26px rgba(251, 191, 36, 0.32),
    0 10px 24px rgba(0, 0, 0, 0.45);
}

.rating-composer-modal__star-readout {
  flex: 1;
  font-size: var(--font-md);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(251, 191, 36, 1);
  text-align: center;
}

@media (min-width: 400px) {
  .rating-composer-modal__star-readout {
    text-align: right;
    min-width: 3.25rem;
  }
}

.rating-composer-modal__field {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.rating-composer-modal__field > label {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(226, 232, 240, 0.9);
}

.rating-composer-modal__textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(10, 16, 32, 0.78);
  color: var(--text-primary);
  font-size: var(--font-sm);
  font-family: inherit;
  line-height: 1.5;
}

.rating-composer-modal__textarea:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.55);
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.22),
    0 14px 40px rgba(0, 0, 0, 0.25);
}

.rating-composer-modal__char-hint {
  align-self: flex-end;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.9);
}

.rating-composer-modal__msg {
  margin: var(--spacing-md) 0 0;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  line-height: 1.4;
}

.rating-composer-modal__msg--ok {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #bbf7d0;
}

.rating-composer-modal__msg--err {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(252, 165, 165, 0.45);
  color: #fecaca;
}

.rating-composer-modal__submit {
  width: 100%;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  display: inline-flex;
  justify-content: center;
  gap: var(--spacing-sm);
  font-weight: 800;
  box-shadow:
    0 6px 24px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.rating-composer-modal__submit:hover {
  transform: translateY(-2px);
}

.rating-composer-modal__pick-kind {
  padding: var(--spacing-sm) var(--spacing-xs) var(--spacing-md);
}

.rating-composer-modal__pick-kind-lead {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  font-weight: 650;
}

.rating-composer-modal__pick-kind-btns {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.rating-composer-modal__pick-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 420px) {
  .rating-composer-modal__pick-kind-btns {
    flex-direction: row;
  }
}

.user-pub-rating-form + .user-pub-rating-form {
  margin-top: 1rem;
}

.user-pub-review-item {
  padding: 0.75rem 0;
}

.user-pub-review-comment {
  margin: 0.35rem 0 0;
}

.gsm-session-card__bid-summary {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--font-xs);
  color: var(--text-secondary);
  line-height: 1.38;
  padding: 2px 0;
}

.gsm-session-card__bid-summary > i {
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(129, 230, 217, 0.85);
}

.gsm-session-meta--compact > div {
  padding-bottom: var(--spacing-xs);
}

.gsm-session-meta--compact > div:last-child {
  padding-bottom: 0;
}

.gsm-session-card__hero .gsm-session-card__timebar {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  padding-top: 0;
  margin-top: 0;
}

.gsm-session-card__timebar {
  padding-top: var(--spacing-sm);
  margin-top: 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.gsm-session-card__timebar-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.28);
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3) inset;
}

.gsm-session-card__timebar-fill {
  position: relative;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #06b6d4 0%, #6366f1 42%, #8b5cf6 100%);
  transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 1);
  box-shadow:
    0 0 22px rgba(129, 140, 248, 0.55),
    0 0 12px rgba(34, 211, 238, 0.35);
}

.gsm-session-card__timebar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: gsm-timebar-shimmer 2.4s ease-in-out infinite;
}

@keyframes gsm-timebar-shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.gsm-session-card__timebar--warn:not(.gsm-session-card__timebar--done) .gsm-session-card__timebar-fill {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 45%, #ea580c 100%);
  box-shadow:
    0 0 20px rgba(245, 158, 11, 0.5),
    0 0 10px rgba(251, 191, 36, 0.35);
}

.gsm-session-card__timebar--critical:not(.gsm-session-card__timebar--done) .gsm-session-card__timebar-fill {
  background: linear-gradient(90deg, #fca5a5 0%, #ef4444 40%, #dc2626 100%);
  box-shadow:
    0 0 26px rgba(239, 68, 68, 0.55),
    0 0 14px rgba(248, 113, 113, 0.45);
  animation: gsm-timebar-critical-glow 1.15s ease-in-out infinite;
}

.gsm-session-card__timebar--critical:not(.gsm-session-card__timebar--done) .gsm-session-card__timebar-fill::after {
  animation-duration: 1.5s;
}

@keyframes gsm-timebar-critical-glow {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 26px rgba(239, 68, 68, 0.55),
      0 0 14px rgba(248, 113, 113, 0.45);
  }
  50% {
    filter: brightness(1.12);
    box-shadow:
      0 0 34px rgba(239, 68, 68, 0.7),
      0 0 18px rgba(248, 113, 113, 0.55);
  }
}

.gsm-session-card__timebar--done .gsm-session-card__timebar-fill,
.gsm-session-card--past .gsm-session-card__timebar-fill {
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.35), rgba(71, 85, 105, 0.55));
  box-shadow: none;
  animation: none;
}

.gsm-session-card__timebar--done .gsm-session-card__timebar-fill::after,
.gsm-session-card--past .gsm-session-card__timebar-fill::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .gsm-session-card {
    transition: border-color var(--transition), box-shadow var(--transition);
  }

  .gsm-session-card:hover {
    transform: none;
  }

  .gsm-session-card__timebar-fill::after {
    animation: none;
  }

  .gsm-session-card__timebar--critical:not(.gsm-session-card__timebar--done) .gsm-session-card__timebar-fill {
    animation: none;
  }

  .gsm-session-card__timebar-fill {
    transition: width 0.2s ease;
  }
}

.gsm-session-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0;
  margin-bottom: 0;
}

.gsm-session-thumb-wrap {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
}

.gsm-session-thumb-wrap--empty {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(15, 23, 42, 0.65));
}

.gsm-session-thumb-wrap--empty .gsm-session-thumb {
  display: none;
}

.gsm-session-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gsm-session-card__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: var(--spacing-xs) 0 var(--spacing-sm);
}

.gsm-session-card:has(.gsm-session-thumbs) .gsm-session-card__brands {
  margin-top: 0;
}

.gsm-session-card__brand-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.15);
}

.gsm-session-card__desc {
  color: var(--text-tertiary);
  font-size: var(--font-xs);
}

.gsm-session-meta {
  display: grid;
  gap: var(--spacing-xs);
  margin: 0;
}

.gsm-session-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--spacing-sm);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: var(--spacing-xs);
}

.gsm-session-meta > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gsm-session-meta dt {
  color: var(--text-muted);
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.gsm-session-meta dt i {
  margin-right: 6px;
  opacity: 0.85;
}

.gsm-session-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.gsm-session-card__user-panel {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.gsm-session-card__user-row--top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--spacing-sm);
}

.gsm-session-card__user-label {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gsm-session-card__user-val {
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.gsm-session-card__user-bar {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gsm-session-card__user-bar--inline {
  display: inline-block;
  width: 100%;
  min-width: 72px;
  max-width: 140px;
  vertical-align: middle;
}

.gsm-session-card__user-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  transition: width 0.35s ease;
}

.gsm-session-card__user-dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.gsm-session-card__user-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.gsm-session-card__user-dl dt {
  margin: 0;
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.gsm-session-card__user-dl dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.gsm-session-card__user-win dt {
  color: #fcd34d;
}

.gsm-session-card__user-muted {
  color: var(--text-tertiary);
  font-weight: 500 !important;
}

.gsm-auction-compact__row--user-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm) var(--spacing-md);
  align-items: center;
  padding-top: 4px;
  border-top: 1px solid var(--glass-border);
  margin-top: 2px;
}

.gsm-ac-user-stat {
  font-size: var(--font-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.gsm-ac-user-stat i {
  margin-right: 4px;
  opacity: 0.85;
}

.gsm-ac-user-stat strong {
  color: var(--text-primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.gsm-ac-user-stat--win {
  color: #fcd34d;
}

.gsm-ac-user-stat--win strong {
  color: #fde68a;
}

.gsm-ac-user-stat--bar-wrap {
  flex: 1 1 120px;
  min-width: 100px;
  max-width: 200px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.gsm-session-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  margin: var(--spacing-xs) 0 0;
}

.gsm-session-hint i {
  margin-right: 4px;
}

.gsm-session-card__footer--hint-only {
  margin-top: 0.1rem;
}

/* Înguste (≤768px): carduri sensibil mai scurte — mobil + tablet portret */
@media (max-width: 768px) {
  .home-category__pill {
    padding: 0.4rem 1rem 0.45rem;
  }

  .home-category__pill-title {
    font-size: 0.75rem;
    letter-spacing: 0.035em;
  }

  .home-category__pill-sub {
    font-size: 0.625rem;
    max-width: 32ch;
  }

  /* Homepage: două carduri pe rând pe mobil (Individual / Lot / Încheiate) */
  .gsm-sessions-grid,
  .gsm-sessions-grid--past {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.35rem;
  }

  .gsm-session-card {
    padding: 0.42rem 0.48rem;
    gap: 0.3rem;
    border-radius: var(--radius-sm);
  }

  .gsm-session-card--has-org-logo::before {
    background-size: min(68%, 120px);
    opacity: 0.08;
  }

  .gsm-session-card__hero {
    margin: calc(-1 * 0.42rem) calc(-1 * 0.48rem) 0.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  }

  .gsm-session-card__timer-block {
    padding: 4px 7px 5px;
  }

  .gsm-session-card__timer-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.2rem 0.35rem;
  }

  .gsm-session-card__timer-row:not(:last-child) {
    margin-bottom: 3px;
  }

  .gsm-session-card__timer-icon {
    font-size: 0.72rem;
  }

  .gsm-session-card__timer-label {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }

  .gsm-session-card__timer-val {
    font-size: 0.7rem !important;
  }

  .gsm-session-card__countdown {
    padding: 4px 7px;
    flex-wrap: nowrap;
    gap: 0.2rem 0.35rem;
  }

  .gsm-session-card__countdown-icon {
    font-size: 0.72rem;
  }

  .gsm-session-card__countdown-val {
    font-size: 0.7rem !important;
    margin-left: auto;
  }

  .gsm-session-card__countdown--static .gsm-session-card__countdown-val {
    font-size: 0.66rem !important;
  }

  .gsm-session-card__timebar {
    padding-top: 3px;
    margin-top: 2px;
  }

  .gsm-session-card__timebar-track {
    height: 3px;
  }

  .gsm-session-card .badge-type,
  .gsm-session-card .badge-status {
    padding: 0.12rem 0.32rem;
    font-size: 0.58rem;
    gap: 3px;
    border-radius: 4px;
  }

  .gsm-session-card__badges {
    gap: 0.28rem;
  }

  .gsm-session-card .pulse-dot {
    font-size: 0.42rem;
  }

  .gsm-session-card__title {
    font-size: 0.8rem !important;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .gsm-session-card__desc {
    margin: 0;
  }

  .gsm-session-card__desc--clamp {
    -webkit-line-clamp: 1;
    line-height: 1.3;
    font-size: 0.62rem;
  }

  .gsm-session-card__organizer-company {
    display: none;
  }

  .gsm-session-card__organizer {
    padding: 0.22rem 0.38rem;
    gap: 2px;
  }

  .gsm-session-card__organizer--with-avatar {
    gap: 5px;
  }

  .gsm-session-card__organizer-avatar {
    width: 22px;
    height: 22px;
    border-radius: 5px;
  }

  .gsm-session-card__organizer-stack {
    gap: 2px;
  }

  .gsm-session-card__organizer-name {
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.25;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .gsm-session-card__org-reputation {
    font-size: 0.56rem;
    margin-top: 1px;
  }

  .gsm-session-card__org-reputation-stars {
    gap: 0;
  }

  .gsm-session-card__org-reputation-stars > .fas.fa-star {
    font-size: 0.48rem;
  }

  .gsm-session-card__org-reputation-score {
    font-size: 0.56rem;
    margin-left: 2px;
  }

  .gsm-session-card__org-reputation-meta,
  .gsm-session-card__org-reputation-none {
    font-size: 0.52rem;
  }

  .gsm-session-card__organizer-label {
    font-size: 0.52rem;
  }

  .gsm-session-card__organizer-label i {
    margin-right: 3px;
  }

  .gsm-session-card__bid-summary {
    padding: 0;
    gap: 0.28rem;
    font-size: 0.58rem !important;
    line-height: 1.26;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .gsm-session-card__bid-summary > i {
    margin-top: 0;
    font-size: 0.68rem;
  }

  .gsm-session-meta--compact > div {
    padding-bottom: 0;
  }

  .gsm-session-meta--compact dt,
  .gsm-session-meta--compact dd {
    font-size: 0.58rem !important;
  }

  .gsm-session-thumb-wrap {
    width: 30px;
    height: 30px;
    border-radius: 4px;
  }

  .gsm-session-thumbs {
    gap: 3px;
  }

  .gsm-session-card__brands {
    margin: 0 0 0.18rem;
    gap: 2px;
  }

  .gsm-session-card__brand-logo {
    width: 13px !important;
    height: 13px !important;
    border-radius: 2px;
  }

  .gsm-session-card__user-panel {
    padding: 0.28rem 0.38rem;
    gap: 0.22rem;
  }

  .gsm-session-card__user-row--top {
    gap: 0.35rem;
  }

  .gsm-session-card__user-bar {
    height: 3px;
  }

  .gsm-session-card__user-dl {
    gap: 2px;
  }

  .gsm-session-card__user-dl > div {
    gap: 0.35rem;
  }

  .gsm-session-card__user-dl dt,
  .gsm-session-card__user-dl dd {
    font-size: 0.58rem !important;
  }

  .gsm-session-hint {
    margin: 0.18rem 0 0 !important;
    font-size: 0.56rem !important;
  }
}

@media (max-width: 480px) {
  .gsm-session-card__desc--clamp {
    display: none !important;
  }

  .gsm-session-card__title {
    -webkit-line-clamp: 1 !important;
  }

  .gsm-session-card__bid-summary {
    -webkit-line-clamp: 1 !important;
  }
}

/* Bară licitație compactă (titlu + progres) */
.gsm-ac-animate-in {
  animation: gsm-ac-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes gsm-ac-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gsm-auction-compact {
  width: 100%;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gsm-auction-compact__row--main {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: 40px;
}

.gsm-auction-compact__back {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gsm-auction-compact__back:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
  transform: translateX(-2px);
}

.gsm-auction-compact__title-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gsm-auction-compact__title {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gsm-auction-compact__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.gsm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gsm-chip i {
  font-size: 0.6rem;
  opacity: 0.9;
}

.gsm-chip--type.badge-bulk {
  border-color: rgba(139, 92, 246, 0.35);
  color: #ddd6fe;
}

.gsm-chip--type.badge-individual {
  border-color: rgba(6, 182, 212, 0.35);
  color: #a5f3fc;
}

.gsm-chip--type.badge-permanent {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fcd34d;
}

.gsm-chip--status.badge-status-active {
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.gsm-chip--status.badge-status-draft {
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.gsm-chip--status.badge-status-closed {
  border-color: rgba(156, 163, 175, 0.35);
  color: #e5e7eb;
}

.gsm-chip--status.badge-status-adjudicated {
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
}

.gsm-chip--time {
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.gsm-chip--time strong {
  font-weight: 700;
  color: var(--text-secondary);
}

.gsm-auction-compact__phone-nav {
  flex-shrink: 0;
  display: flex;
  gap: 4px;
}

.gsm-ac-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.gsm-ac-nav-btn:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.22);
}

.gsm-ac-nav-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.gsm-ac-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gsm-auction-compact__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gsm-auction-compact__row--progress {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-top: 2px;
}

.gsm-auction-compact__prog-text {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 4.5rem;
}

.gsm-auction-compact__track {
  flex: 1;
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  min-width: 48px;
}

.gsm-auction-compact__fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.gsm-ac-fill-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 55%
  );
  background-size: 200% 100%;
  animation: gsm-ac-shimmer 2.8s ease-in-out infinite;
}

@keyframes gsm-ac-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.gsm-auction-compact__pct {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary-light);
  min-width: 2.5rem;
  text-align: right;
}

@media (max-width: 720px) {
  .auction-page-body .gsm-auction-compact {
    padding: 6px 8px;
    gap: 4px;
    margin-bottom: 6px;
  }

  .auction-page-body .gsm-auction-compact__row--main {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 8px;
    min-height: 0;
  }

  .auction-page-body .gsm-auction-compact__back {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .auction-page-body .gsm-auction-compact__title-block {
    flex: 1 1 calc(100% - 40px);
    min-width: 0;
    gap: 3px;
  }

  .auction-page-body .gsm-auction-compact__title {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .auction-page-body .gsm-auction-compact__chips {
    gap: 3px 4px;
  }

  .auction-page-body .gsm-auction-compact__chips .gsm-chip {
    font-size: 0.5rem;
    padding: 1px 5px;
    letter-spacing: 0.02em;
    gap: 3px;
  }

  .auction-page-body .gsm-auction-compact__chips .gsm-chip i {
    font-size: 0.48rem;
  }

  .auction-page-body .gsm-auction-compact__actions {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 5px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .auction-page-body .gsm-auction-compact__phone-nav {
    gap: 4px;
  }

  .auction-page-body .gsm-ac-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }

  .auction-page-body .gsm-btn-open-devices {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 6px 9px;
    font-size: 0.56rem;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }

  .auction-page-body .gsm-auction-compact__row--progress {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 3px 6px;
    align-items: center;
    padding-top: 3px;
  }

  .auction-page-body .gsm-auction-compact__prog-text {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    font-size: 0.54rem;
  }

  .auction-page-body .gsm-auction-compact__pct {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.54rem;
    min-width: 2.35rem;
  }

  .auction-page-body .gsm-auction-compact__track {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 3px;
  }

  .auction-page-body .gsm-auction-compact__row--user-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    align-items: start;
    padding-top: 5px;
    margin-top: 2px;
  }

  .auction-page-body .gsm-ac-user-stat {
    white-space: normal;
    font-size: 0.52rem;
    line-height: 1.28;
  }

  .auction-page-body .gsm-ac-user-stat--bar-wrap {
    grid-column: 1 / -1;
    max-width: none;
    min-width: 0;
    margin-top: 1px;
  }

  .auction-page-body .gsm-ac-user-stat--bar-wrap .gsm-session-card__user-bar--inline {
    max-width: none;
    display: block;
    height: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gsm-ac-animate-in {
    animation: none;
  }
  .gsm-ac-fill-shimmer::after {
    animation: none;
  }
  .gsm-auction-compact__fill {
    transition-duration: 0.15s;
  }
}

.gsm-individual {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.gsm-guest-banner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.gsm-guest-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.gsm-guest-banner__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.gsm-auction-header {
  width: 100%;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
}

.gsm-auction-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--spacing-lg);
}

.gsm-back {
  flex-shrink: 0;
}

.gsm-auction-header__titles {
  flex: 1;
  min-width: 0;
}

.gsm-auction-title {
  font-size: var(--font-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.gsm-auction-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
}

.gsm-countdown-badge {
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

.gsm-phone-count {
  color: var(--text-muted);
  font-size: var(--font-sm);
}

.gsm-alert {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-sm);
}

.gsm-alert--muted {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--text-secondary);
}

.gsm-alert i {
  margin-right: 8px;
  color: var(--warning);
}

.gsm-bulk-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: var(--spacing-xl);
  width: 100%;
  align-items: start;
}

.gsm-bulk-page {
  width: 100%;
}

.sidebar-bulk-hint {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.sidebar-bulk-hint i {
  margin-right: 6px;
  opacity: 0.9;
}

.phone-bulk-info-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.phone-bulk-info-card__lead {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.5;
  color: var(--text-secondary);
}

.phone-bulk-info-card__ref {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.phone-bulk-info-card__nav-hint {
  margin: 0;
  margin-top: calc(-1 * var(--spacing-sm));
}

.gsm-scroll-to-lot-bid {
  width: 100%;
}

.gsm-bulk-phones {
  padding: var(--spacing-lg);
  min-width: 0;
}

.gsm-bulk-bid {
  padding: var(--spacing-lg);
}

.gsm-login-hint {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin-top: var(--spacing-md);
}

.gsm-login-hint a {
  color: var(--primary-light);
  font-weight: 600;
}

.gsm-login-hint--card {
  padding: var(--spacing-lg);
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  margin-top: var(--spacing-md);
}

.gsm-login-hint--card a {
  color: var(--primary-light);
}

/* Licitație individuală: zona principală pe toată lățimea; lista e în drawer slide-out */
.gsm-individual-grid {
  display: block;
  width: 100%;
}

.gsm-individual-grid--bulk {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

@media (min-width: 900px) {
  .gsm-individual-grid--bulk {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: var(--spacing-lg);
    align-items: start;
  }
}

/* Lot BULK: poze + ofertă + listă într-un singur card */
.gsm-individual-grid--bulk-unified {
  display: block;
  width: 100%;
}

.gsm-individual-main--bulk-unified {
  min-width: 0;
}

.gsm-bulk-unified-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  min-width: 0;
}

.gsm-bulk-unified__phone {
  min-width: 0;
}

.gsm-bulk-photo-hint {
  grid-column: 1 / -1;
  margin: 0;
  margin-top: var(--spacing-xs);
  padding-top: var(--spacing-xs);
  font-size: var(--font-xs);
  line-height: 1.35;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gsm-bulk-bid--unified {
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid var(--glass-border);
}

.gsm-bulk-bid--unified .section-title,
.gsm-bulk-bid--unified .gsm-bulk-bid__title {
  font-size: var(--font-sm);
  margin-top: 0;
  margin-bottom: var(--spacing-xs);
}

.gsm-bulk-devices-inline {
  padding-top: var(--spacing-xs);
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gsm-bulk-devices-inline__title {
  font-size: var(--font-xs);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gsm-bulk-devices-inline__hint {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin: 0 0 var(--spacing-xs);
  line-height: 1.35;
}

.sidebar-phone-list--bulk-inline {
  max-height: min(180px, 32dvh);
  overflow-y: auto;
  flex: none;
  padding-right: 6px;
}

.sidebar-phone-item--bulk-inline {
  padding: 7px 10px;
  gap: 8px;
}

.sidebar-phone-item--bulk-inline .sidebar-thumb-wrap {
  width: 40px;
  height: 40px;
}

.sidebar-phone-item--bulk-inline .sidebar-brand-logo {
  width: 18px;
  height: 18px;
}

.sidebar-phone-item--bulk-inline .sidebar-title {
  font-size: 0.8125rem;
}

.sidebar-phone-item--bulk-inline .sidebar-meta {
  font-size: 0.65rem;
}

.auction-page-body--bulk-lot .sidebar-bid-row {
  display: none !important;
}

.auction-page-body--bulk-lot .gsm-bulk-unified-card.gsm-phone-card-main {
  min-height: unset;
}

.auction-page-body--bulk-lot .gsm-bulk-unified__phone .gsm-phone-inner {
  min-height: min(26dvh, 220px);
  gap: var(--spacing-sm);
}

@media (min-width: 961px) {
  .auction-page-body--bulk-lot .gsm-bulk-unified-card.gsm-phone-card-main {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .auction-page-body--bulk-lot .gsm-bulk-unified__phone .gsm-phone-inner {
    min-height: min(30dvh, 280px);
    gap: var(--spacing-md);
  }
}

@media (min-width: 1200px) {
  .auction-page-body--bulk-lot .gsm-bulk-unified__phone .gsm-phone-inner {
    min-height: min(34dvh, 300px);
  }
}

.gsm-individual-main--bulk {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  min-width: 0;
}

.gsm-phones-sidebar--bulk-dock {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  max-height: min(70dvh, 640px) !important;
  min-height: 260px;
  z-index: 1;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) !important;
  padding-top: var(--spacing-md) !important;
  overflow: hidden;
}

@media (min-width: 900px) {
  .gsm-phones-sidebar--bulk-dock {
    position: sticky !important;
    top: calc(72px + var(--spacing-sm));
    max-height: calc(100dvh - 92px) !important;
    width: auto !important;
  }
}

.gsm-bulk-bid--in-main {
  position: static;
  margin-top: 0;
  padding: var(--spacing-md) var(--spacing-lg);
}

.gsm-bulk-bid--in-main .section-title {
  margin-top: 0;
}

.bid-hint--bulk-card {
  margin: 0;
  margin-top: var(--spacing-xs);
  font-size: var(--font-xs);
  color: var(--text-tertiary);
}

.gsm-phone-card-main {
  min-height: 320px;
  padding: var(--spacing-md);
}

@media (min-width: 961px) {
  .gsm-phone-card-main {
    padding: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2.5vw, 2rem);
    min-height: min(72dvh, 640px);
  }
}

/* Galerie dominantă: coloana de detalii îngustă, spațiu maxim pentru poze */
.gsm-phone-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  min-height: 280px;
}

@media (min-width: 961px) {
  .gsm-phone-inner {
    grid-template-columns: minmax(0, 1fr) clamp(252px, 22vw, 318px);
    gap: clamp(0.85rem, 1.8vw, 1.65rem);
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .gsm-phone-inner {
    grid-template-columns: minmax(0, 1fr) clamp(268px, 20vw, 330px);
    gap: clamp(1rem, 2vw, 1.85rem);
  }
}

@media (min-width: 1440px) {
  .gsm-phone-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(1.1rem, 2.2vw, 2rem);
  }
}

.gsm-phone-inner.winning .bid-status-panel { border-color: rgba(16, 185, 129, 0.4); }
.gsm-phone-inner.outbid .bid-status-panel { border-color: rgba(245, 158, 11, 0.4); }

/* Galerie (stânga) vs. detalii + licitație (dreapta) */
.phone-card-gallery,
.phone-detail {
  min-width: 0;
}

.phone-card-gallery {
  display: flex;
  flex-direction: column;
}

.phone-detail {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

@media (min-width: 961px) {
  .auction-page-body .phone-card-gallery {
    position: relative;
    top: auto;
    align-self: stretch;
  }

  .phone-detail {
    gap: var(--spacing-md);
  }
}

.phone-detail__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 961px) {
  .phone-card-gallery {
    position: sticky;
    top: calc(64px + var(--spacing-md));
    align-self: start;
  }
}

.phone-photos--stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: min(42dvh, 360px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

@media (min-width: 961px) {
  .phone-photos--stage {
    min-height: min(56dvh, 540px);
  }
}

@media (min-width: 1200px) {
  .phone-photos--stage {
    min-height: min(60dvh, 620px);
  }
}

@media (min-width: 1440px) {
  .phone-photos--stage {
    min-height: min(64dvh, 700px);
  }
}

.phone-photos--stage .photo-viewer {
  flex: 1;
  min-height: 0;
}

.phone-photos--stage .photo-frame {
  flex: 1;
}

.phone-photos {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  min-height: min(38dvh, 260px);
}

@media (min-width: 961px) {
  .phone-photos {
    min-height: min(56dvh, 520px);
  }
}

@media (min-width: 1200px) {
  .phone-photos {
    min-height: min(60dvh, 600px);
  }
}

@media (min-width: 1440px) {
  .phone-photos {
    min-height: min(64dvh, 680px);
  }
}

.photo-placeholder {
  min-height: min(38dvh, 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-sm);
}

@media (min-width: 961px) {
  .photo-placeholder {
    min-height: min(56dvh, 520px);
  }
}

@media (min-width: 1200px) {
  .photo-placeholder {
    min-height: min(60dvh, 600px);
  }
}

@media (min-width: 1440px) {
  .photo-placeholder {
    min-height: min(64dvh, 680px);
  }
}

.photo-placeholder i {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0.5;
}

.phone-photos--stage .photo-controls {
  flex-shrink: 0;
  padding: var(--spacing-sm) var(--spacing-xs) 2px;
}

@media (min-width: 961px) {
  .phone-photos--stage .photo-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .phone-photos--stage .photo-counter,
  .phone-photos--stage .photo-count-label {
    font-size: var(--font-sm);
    font-weight: 600;
  }
}

.photo-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.photo-frame {
  position: relative;
  width: 100%;
  min-height: min(34dvh, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 961px) {
  .photo-frame {
    min-height: min(52dvh, 500px);
  }
}

@media (min-width: 1200px) {
  .photo-frame {
    min-height: min(56dvh, 580px);
  }
}

@media (min-width: 1440px) {
  .photo-frame {
    min-height: min(60dvh, 660px);
  }
}

.photo-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  background: rgba(12, 18, 34, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border-radius: var(--radius-md);
  z-index: 2;
}

.photo-viewer.is-loading .photo-loading-overlay {
  opacity: 1;
  pointer-events: auto;
}

.phone-viewer.is-loading .phone-photo {
  opacity: 0.4;
  filter: blur(2px);
}

.photo-frame .phone-photo {
  cursor: zoom-in;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  padding-bottom: calc(var(--spacing-xl) + env(safe-area-inset-bottom, 0));
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.photo-lightbox.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

body.photo-lightbox-open {
  overflow: hidden;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.photo-lightbox-close {
  position: absolute;
  top: calc(var(--spacing-md) + env(safe-area-inset-top, 0));
  right: calc(var(--spacing-md) + env(safe-area-inset-right, 0));
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.photo-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.photo-lightbox-nav:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.35);
}

.photo-lightbox-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.photo-lightbox-prev {
  left: calc(var(--spacing-md) + env(safe-area-inset-left, 0));
}

.photo-lightbox-next {
  right: calc(var(--spacing-md) + env(safe-area-inset-right, 0));
}

.photo-lightbox-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: min(96vw, 1400px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.photo-lightbox-inner {
  position: relative;
  width: 100%;
  max-height: calc(100dvh - 6.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 6.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-lightbox-inner:not(.is-loading) .photo-lightbox-img {
  opacity: 1;
}

.photo-lightbox-loading {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  color: var(--text-secondary);
  font-weight: 600;
}

.photo-lightbox-inner.is-loading .photo-lightbox-loading {
  display: flex;
}

.photo-lightbox-inner.is-loading .photo-lightbox-img {
  opacity: 0.25;
}

.photo-lightbox-footer {
  position: relative;
  z-index: 2;
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-tertiary);
}

@media (max-width: 600px) {
  .photo-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.photo-loading-text {
  letter-spacing: 0.02em;
}

.photo-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: photo-spin 0.7s linear infinite;
}

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

.phone-photo {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(82dvh, 440px);
  border-radius: var(--radius-md);
  object-fit: contain;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

@media (min-width: 961px) {
  .phone-photo {
    max-height: min(76dvh, 760px);
  }
}

@media (min-width: 1200px) {
  .phone-photo {
    max-height: min(78dvh, 860px);
  }
}

@media (min-width: 1440px) {
  .phone-photo {
    max-height: min(80dvh, 960px);
  }
}

.photo-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.photo-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-primary);
  cursor: pointer;
}

.photo-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.photo-count-label {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

/* Lista dispozitive — drawer dreapta (desktop + mobil) */
.gsm-devices-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1098;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gsm-devices-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gsm-phones-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 92vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  z-index: 1100;
  border-radius: 0;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.5);
  padding: var(--spacing-md);
  padding-top: calc(var(--spacing-lg) + env(safe-area-inset-top, 0));
  padding-bottom: calc(var(--spacing-xl) + env(safe-area-inset-bottom, 0));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gsm-phones-sidebar.gsm-sidebar--open {
  transform: translateX(0);
}

.gsm-btn-open-devices {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 211, 238, 0.75);
  background: linear-gradient(135deg, #06b6d4, #10b981);
  color: #04111a;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.gsm-btn-open-devices:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  transform: translateY(-1px);
}

.gsm-btn-open-devices:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.42);
  outline-offset: 3px;
}

.gsm-btn-open-devices:active {
  transform: scale(0.98);
}

.sidebar-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--spacing-md);
}

.filter-btn {
  font: inherit;
  font-size: var(--font-xs);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  background: var(--glass-strong);
  color: var(--text-primary);
}

.filter-btn.active {
  background: rgba(99, 102, 241, 0.25);
  border-color: var(--primary);
  color: var(--primary-light);
}

.sidebar-phone-list {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.sidebar-phone-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.sidebar-phone-item__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sidebar-phone-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar-phone-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-phone-item.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
}

.sidebar-phone-item.winning { border-left: 3px solid var(--success); }
.sidebar-phone-item.outbid { border-left: 3px solid var(--warning); }
.sidebar-phone-item.adj { opacity: 0.75; }

.sidebar-num {
  font-weight: 800;
  color: var(--text-muted);
  font-size: 0.7rem;
  min-width: 1.25rem;
  text-align: center;
  line-height: 1.2;
}

.sidebar-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  margin-top: 2px;
}

.sidebar-title {
  font-size: var(--font-sm);
  font-weight: 700;
  line-height: 1.38;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sidebar-meta {
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.sidebar-bid-row {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-bid {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.01em;
  display: block;
  line-height: 1.3;
}

.sidebar-bid--muted {
  font-weight: 600;
  color: var(--text-muted);
}

/* Titlu + index dispozitiv */
.phone-detail__header {
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-detail__toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.phone-detail__index {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.phone-detail__title {
  font-size: clamp(1.05rem, 1.35vw + 0.85rem, 1.45rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.phone-detail__title--with-imei {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.phone-imei-badge {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  line-height: 1.2;
  max-width: 100%;
  word-break: break-all;
}

.badge-adj {
  font-size: var(--font-xs);
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.gsm-detail-panel {
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.phone-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  min-width: 4.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-chip--wide {
  flex: 1 1 100%;
  min-width: 0;
}

.spec-chip__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-chip__val {
  font-weight: 600;
  font-size: var(--font-sm);
  word-break: break-word;
}

.spec-chip__val--mono {
  font-variant-numeric: tabular-nums;
  font-size: var(--font-xs);
}

.grade-badge--chip {
  display: inline-block;
  padding: 2px 8px;
  margin-top: 2px;
  width: fit-content;
}

.grade-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  font-size: var(--font-xs);
}

/* Mentiuni / info pe pagina de licitație — evidențiat */
.auction-page-body .phone-mentiuni--auction {
  margin-top: var(--spacing-lg);
  margin-bottom: 0;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.14), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 6px 28px rgba(6, 182, 212, 0.12);
}

.auction-page-body .phone-mentiuni__label {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5eead4;
}

.auction-page-body .phone-mentiuni__text {
  font-family: Georgia, 'Noto Serif', 'Palatino Linotype', serif;
  font-size: clamp(1.05rem, 1.25vw + 0.95rem, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  color: #fef08a;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Panou licitație unitar */
.phone-bid-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.phone-bid-card .bid-status-panel {
  margin: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.08);
}

.phone-bid-card .bid-action-panel {
  margin: 0;
  padding: var(--spacing-md);
}

.phone-bid-card .bid-action-panel--message {
  padding: var(--spacing-md);
}

.phone-bid-card .bid-action-panel--message .gsm-login-hint--card,
.phone-bid-card .bid-action-panel--message .closed-banner,
.phone-bid-card .bid-info-val {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.winning-banner--compact {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-xs);
}

.adjudicated-banner--in-card {
  text-align: left;
  padding: var(--spacing-md);
}

.bid-buttons--stack {
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-sm);
}

.bid-buttons--stack .btn-bid {
  min-width: 0;
  width: 100%;
}

.bid-buttons--stack .btn-skip {
  align-self: center;
}

.bid-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.bid-info-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
}

.bid-info-val {
  font-size: var(--font-lg);
  font-weight: 800;
}

.bid-winner-name {
  display: block;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin-top: 4px;
}

.bid-action-panel {
  margin-top: var(--spacing-md);
}

.bid-input-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.bid-input {
  flex: 1;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
  font-size: var(--font-lg);
  font-weight: 600;
}

.bid-stepper {
  display: flex;
  align-items: stretch;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  width: 100%;
}

.bid-stepper__btn {
  flex-shrink: 0;
  width: 44px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.bid-stepper__btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--primary-light);
}

.bid-stepper__btn:focus {
  outline: none;
}

.bid-stepper__btn:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.bid-stepper__field {
  flex: 1;
  min-width: 0;
}

.bid-input--stepper {
  width: 100%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.bid-currency--stepper {
  align-self: center;
  font-weight: 700;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  padding-left: var(--spacing-xs);
}

.phone-brand-model__inner {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.auction-brand-logo.phone-card-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auction-brand-logo.phone-card-brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.phone-brand-model__text {
  flex: 1;
  min-width: 0;
}

.phones-table-brand-cell {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.phones-table-brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.sidebar-thumb-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
}

.sidebar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-thumb--empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.5));
}

.sidebar-filter-hint {
  font-size: var(--font-xs);
  color: var(--text-muted);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.gsm-login-hint--admin {
  border-left: 3px solid rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.gsm-login-hint--admin i {
  margin-right: var(--spacing-sm);
}

.bid-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
}

@keyframes bid-btn-glow {
  0%,
  100% {
    box-shadow:
      0 8px 28px rgba(16, 185, 129, 0.42),
      0 0 0 0 rgba(16, 185, 129, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
  50% {
    box-shadow:
      0 12px 40px rgba(16, 185, 129, 0.55),
      0 0 32px rgba(52, 211, 153, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  }
}

.bid-buttons .btn-bid,
.gsm-bulk-bid .btn-bid {
  flex: 1 1 auto;
  min-width: min(100%, 280px);
  padding: 1rem 1.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(145deg, #34d399 0%, #10b981 35%, #059669 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  animation: bid-btn-glow 2.75s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.bid-buttons .btn-bid:hover:not(:disabled),
.gsm-bulk-bid .btn-bid:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.07);
  animation: none;
  box-shadow:
    0 16px 44px rgba(16, 185, 129, 0.5),
    0 0 40px rgba(52, 211, 153, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.bid-buttons .btn-bid:active:not(:disabled),
.gsm-bulk-bid .btn-bid:active:not(:disabled) {
  transform: translateY(-1px) scale(1);
}

.bid-buttons .btn-bid:disabled,
.gsm-bulk-bid .btn-bid:disabled {
  animation: none;
  cursor: not-allowed;
  opacity: 0.78;
  filter: saturate(0.85);
}

.bid-buttons .btn-skip {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  font-size: var(--font-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: none;
  opacity: 0.85;
}

.bid-buttons .btn-skip:hover {
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.bid-buttons .btn-skip:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .bid-buttons .btn-bid,
  .gsm-bulk-bid .btn-bid {
    animation: none;
  }
}

.bid-hint {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
}

.phone-bid-card .bid-hint {
  text-align: center;
  margin-bottom: 0;
  margin-top: var(--spacing-sm);
  line-height: 1.4;
}

.closed-banner {
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.closed-banner.gsm-permanent-listing-closed-msg a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.adjudicated-banner {
  padding: var(--spacing-lg);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
}

.adjudicated-banner p {
  margin: var(--spacing-xs) 0;
}

.winning-banner,
.outbid-banner {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
}

.winning-banner {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.outbid-banner {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
}

.my-bid-note {
  margin-top: var(--spacing-md);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.phones-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.phones-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.phones-table th,
.phones-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.phones-table th {
  background: rgba(0, 0, 0, 0.2);
  font-size: var(--font-xs);
  text-transform: uppercase;
  color: var(--text-muted);
}

.bulk-current-bid .bid-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
}

.bulk-current-bid .bid-value {
  display: block;
  font-size: var(--font-2xl);
  font-weight: 800;
  margin: var(--spacing-sm) 0;
}

.bulk-current-bid .bid-winner {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.bid-form-wrap .bid-input-label {
  display: block;
  font-size: var(--font-sm);
  margin-bottom: var(--spacing-sm);
  color: var(--text-tertiary);
}

/* ── Toast-uri licitație: bandă sus, fără overlay (nu blochează pagina) ─────── */
@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-exit {
  to {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
}

.toast-container {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  z-index: 10100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--spacing-sm);
  padding: max(10px, env(safe-area-inset-top, 0px)) var(--spacing-md) 0;
  box-sizing: border-box;
  pointer-events: none;
  isolation: isolate;
}

.toast-container .toast {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: min(340px, calc(100vw - 2 * var(--spacing-md)));
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: 0.5rem 0.75rem;
  padding-right: calc(0.25rem + 1.85rem);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.4;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  transform: translateY(-0.6rem);
  overflow: hidden;
}

.toast-container .toast::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--toast-accent, var(--glass-border));
  opacity: 0.95;
}

.toast-container .toast__icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.05rem;
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-container .toast__body {
  flex: 1;
  min-width: 0;
}

.toast-container .toast__text {
  display: block;
}

.toast-container .toast__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: -0.12rem -0.2rem -0.12rem 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-tertiary);
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.toast-container .toast__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.toast-container .toast__close:focus {
  outline: none;
}

.toast-container .toast__close:focus-visible {
  outline: 2px solid var(--toast-accent, #38bdf8);
  outline-offset: 2px;
}

.toast-container .toast__close:active {
  transform: scale(0.92);
}

.toast-container .toast.show {
  animation: toast-enter 0.32s ease-out forwards;
}

.toast-container .toast.show.toast--dismiss {
  animation: toast-exit 0.32s ease forwards;
}

.toast-container .toast.toast-success {
  --toast-glow: rgba(16, 185, 129, 0.45);
  --toast-accent: #10b981;
  border-color: rgba(16, 185, 129, 0.45);
}
.toast-container .toast.toast-success .toast__icon {
  color: #34d399;
}
.toast-container .toast.toast-success.show {
  animation: toast-enter 0.32s ease-out forwards;
}

.toast-container .toast.toast-success.show.toast--dismiss {
  animation: toast-exit 0.32s ease forwards;
}

.toast-container .toast.toast-error {
  --toast-glow: rgba(239, 68, 68, 0.4);
  --toast-accent: #ef4444;
  border-color: rgba(239, 68, 68, 0.45);
}
.toast-container .toast.toast-error .toast__icon {
  color: #f87171;
}

.toast-container .toast.toast-warning {
  --toast-glow: rgba(245, 158, 11, 0.4);
  --toast-accent: #f59e0b;
  border-color: rgba(245, 158, 11, 0.45);
}
.toast-container .toast.toast-warning .toast__icon {
  color: #fbbf24;
}

.toast-container .toast.toast-info {
  --toast-glow: rgba(56, 189, 248, 0.35);
  --toast-accent: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}
.toast-container .toast.toast-info .toast__icon {
  color: #7dd3fc;
}

@media (prefers-reduced-motion: reduce) {
  .toast-container .toast,
  .toast-container .toast.show,
  .toast-container .toast.toast-success.show {
    animation: none !important;
  }
  .toast-container .toast.show:not(.toast--dismiss) {
    opacity: 1;
    transform: none;
  }
  .toast-container .toast.show.toast--dismiss {
    opacity: 0;
    transition: opacity 0.2s ease;
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-sm);
  margin-top: var(--spacing-2xl);
}

.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__brand-logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.site-footer__brand-logo-link:hover {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.site-footer__brand-logo-link:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 6px;
  border-radius: 18px;
}

.site-footer__brand-logo {
  display: block;
  width: min(132px, 42vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: clamp(14px, 4vw, 18px);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.15);
}

.site-footer__company {
  margin: 0;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin: 2px 0;
}

.site-footer__contact a {
  color: var(--primary-light);
  text-decoration: none;
}

.site-footer__contact a:hover {
  text-decoration: underline;
}

.site-footer__sep {
  color: var(--text-muted);
  user-select: none;
}

.site-footer__copy {
  margin-top: var(--spacing-xs);
  font-size: var(--font-xs);
  line-height: 1.45;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-top: var(--spacing-xs);
  font-size: var(--font-sm);
}

.site-footer__links a {
  color: var(--primary-light);
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.footer-inner--cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-col__heading {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--font-sm);
  transition: color var(--transition);
}

.footer-col__links a:hover {
  color: var(--primary-light);
}

@media (max-width: 600px) {
  .footer-inner--cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-col {
    align-items: center;
  }
}

.site-footer__link-suffix {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
}

.nav-link--whatsapp {
  color: #4ade80;
}

.nav-link--whatsapp:hover {
  color: #86efac;
}

.terms-page-body .main-content--terms {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.terms-article {
  padding: var(--spacing-xl);
  text-align: left;
  margin-bottom: var(--spacing-xl);
}

.terms-section {
  margin-bottom: var(--spacing-xl);
}

.terms-section:last-of-type {
  margin-bottom: var(--spacing-md);
}

.terms-section h2 {
  font-size: var(--font-lg);
  margin: 0 0 var(--spacing-md);
  color: var(--text-primary);
}

/* ========== LEGAL DUAL AUDIENCE (PF/PJ tabs) ========== */
.legal-dual-root {
  width: 100%;
}

.legal-dual-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--spacing-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
}

.legal-dual-tab {
  flex: 1;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: center;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  user-select: none;
}

.legal-dual-tab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

#legalPf:checked ~ .legal-dual-tabs label[for="legalPf"],
#legalPj:checked ~ .legal-dual-tabs label[for="legalPj"] {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
}

.legal-dual-pane--pj {
  display: none;
}

#legalPj:checked ~ .legal-dual-content .legal-dual-pane--pf {
  display: none;
}

#legalPj:checked ~ .legal-dual-content .legal-dual-pane--pj {
  display: block;
}

.legal-section {
  text-align: left;
  margin-bottom: var(--spacing-xl);
}

.legal-section h2 {
  font-size: var(--font-lg);
  margin: 0 0 var(--spacing-md);
  color: var(--text-primary);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 var(--spacing-md);
}

.legal-section ul {
  margin: 0 0 var(--spacing-md);
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.6;
}

.legal-section a {
  color: var(--primary-light);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.terms-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: var(--font-sm);
}

.terms-list li {
  margin-bottom: var(--spacing-sm);
}

.terms-list li:last-child {
  margin-bottom: 0;
}

.terms-meta {
  margin: 0;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--glass-border);
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.terms-meta a {
  color: var(--primary-light);
}

@media (max-width: 960px) {
  .gsm-bulk-layout {
    grid-template-columns: 1fr;
  }
  .gsm-bulk-bid {
    position: static;
  }
  .gsm-phone-inner {
    grid-template-columns: 1fr;
  }
}

.gsm-individual-main {
  width: 100%;
  min-width: 0;
}

.gsm-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.gsm-sidebar-head__title {
  flex: 1;
  margin: 0;
  min-width: 0;
  font-size: var(--font-sm);
  justify-content: flex-start;
  margin-bottom: 0;
}

.gsm-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.gsm-sidebar-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

@media (max-width: 900px) {
  .main-content--auction {
    width: 100%;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  .auction-page-body .main-content {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  .auction-page-body .gsm-auction-compact {
    padding: 7px 10px;
    gap: 5px;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-sm);
  }

  .auction-page-body .gsm-auction-bid-dock-layer:not(:empty) {
    padding: 7px 10px;
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
    padding-bottom: var(--spacing-sm);
    gap: 5px;
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-lg);
  }

  .auction-page-body .gsm-auction-compact__row--main {
    min-height: 0;
    gap: 6px;
  }

  .auction-page-body .gsm-auction-compact__back {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .auction-page-body .gsm-auction-compact__title-block {
    gap: 3px;
  }

  .auction-page-body .gsm-auction-compact__title {
    font-size: clamp(0.82rem, 2.1vw, 1rem);
    line-height: 1.2;
  }

  .auction-page-body .gsm-auction-compact__chips {
    gap: 4px 5px;
  }

  .auction-page-body .gsm-auction-compact__chips .gsm-chip {
    font-size: 0.56rem;
    padding: 1px 6px;
    letter-spacing: 0.025em;
  }

  .auction-page-body .gsm-auction-compact__chips .gsm-chip i {
    font-size: 0.52rem;
  }

  .auction-page-body .gsm-auction-compact__actions {
    gap: 8px;
    padding-top: 6px;
    margin-top: 0;
  }

  .auction-page-body .gsm-ac-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .auction-page-body .gsm-btn-open-devices {
    padding: 7px 11px;
    font-size: 0.62rem;
    gap: 5px;
  }

  .auction-page-body .gsm-auction-compact__row--progress {
    gap: 4px 6px;
    padding-top: 2px;
  }

  .auction-page-body .gsm-auction-compact__prog-text {
    font-size: 0.6rem;
  }

  .auction-page-body .gsm-auction-compact__pct {
    font-size: 0.6rem;
    min-width: 2.5rem;
  }

  .auction-page-body .gsm-auction-compact__track {
    height: 4px;
  }

  .auction-page-body .gsm-auction-compact__row--user-stats {
    gap: 4px 9px;
    padding-top: 6px;
    margin-top: 2px;
  }

  .auction-page-body .gsm-ac-user-stat {
    font-size: 0.58rem;
    line-height: 1.32;
  }

  .auction-page-body .gsm-ac-user-stat--bar-wrap .gsm-session-card__user-bar--inline {
    height: 5px;
  }

  .gsm-individual-main {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .auction-page-body .gsm-bulk-bid--in-detail-column {
    padding: var(--spacing-sm);
  }

  .gsm-phone-card-main {
    padding: var(--spacing-md);
  }

  .gsm-auction-compact__title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ========== Dashboard utilizator ========== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.stat-card.stat-winning { border-color: rgba(16, 185, 129, 0.35); }
.stat-card.stat-outbid { border-color: rgba(245, 158, 11, 0.35); }
.stat-card.stat-won { border-color: rgba(99, 102, 241, 0.35); }
.stat-card.stat-notif { border-color: rgba(6, 182, 212, 0.35); }

.user-dashboard-body .page-header--dashboard,
.gsm-public-profile--dashboard-tools .page-header--dashboard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  width: 100%;
  margin-bottom: var(--spacing-lg);
}

.user-dashboard-body .page-header--dashboard h1,
.gsm-public-profile--dashboard-tools .page-header--dashboard h1 {
  margin-bottom: 0;
}

.user-dashboard-body .page-header--dashboard__actions,
.gsm-public-profile--dashboard-tools .page-header--dashboard__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-sm);
}

.dashboard-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(var(--spacing-md), env(safe-area-inset-top, 0px)) var(--spacing-md)
    max(var(--spacing-md), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.dashboard-profile-modal[hidden] {
  display: none !important;
}

body.dashboard-profile-modal-open {
  overflow: hidden;
}

.dashboard-profile-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dashboard-profile-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  animation: sessionModalIn 0.32s ease-out;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 -20px 80px -24px rgba(99, 102, 241, 0.35) inset;
}

.dashboard-profile-modal__stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.dashboard-profile-modal__header--premium {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-profile-modal__header--premium::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--secondary));
  opacity: 0.85;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.dashboard-profile-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 6px;
  opacity: 0.95;
}

.dashboard-profile-modal__header--premium h2 {
  font-size: var(--font-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.dashboard-profile-modal__subtitle {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  max-width: 38ch;
}

.dashboard-profile-modal__body--premium {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 120px);
}

.profile-form-premium .profile-section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.profile-form-premium .profile-section:last-of-type {
  margin-bottom: var(--spacing-md);
}

.profile-section__head {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.profile-section__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.35), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #c7d2fe;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.profile-section__icon--accent {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.35), rgba(6, 182, 212, 0.08));
  border-color: rgba(34, 211, 238, 0.35);
  color: #a5f3fc;
}

.profile-section__icon--tg {
  background: linear-gradient(145deg, rgba(0, 136, 204, 0.45), rgba(0, 136, 204, 0.12));
  border-color: rgba(56, 183, 246, 0.45);
  color: #bae6fd;
}

.profile-section__title {
  font-size: var(--font-md);
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.profile-section__lead {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
  max-width: 52ch;
}

.profile-field-grid {
  display: grid;
  gap: var(--spacing-md);
}

@media (min-width: 560px) {
  .profile-field-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

.profile-form-premium .profile-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.profile-form-premium .profile-field label i {
  opacity: 0.55;
  font-size: 0.85em;
  width: 1.1em;
  text-align: center;
}

.profile-logo-upload {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.profile-logo-upload__preview {
  align-self: flex-start;
}

.profile-logo-upload__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: var(--font-sm);
}

.profile-logo-upload__empty i {
  font-size: 1.75rem;
  opacity: 0.45;
  color: var(--primary-light);
}

.profile-logo-upload__remove {
  white-space: nowrap;
}

.profile-section--telegram .profile-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.profile-section--fgo .profile-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.profile-fgo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xs);
}

.profile-fgo-status-line {
  margin-top: var(--spacing-sm);
  font-size: var(--font-sm);
}

.profile-tg-meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.profile-tg-botline {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.profile-tg-botline__lbl {
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.profile-tg-botline__link {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 136, 204, 0.15);
  border: 1px solid rgba(56, 183, 246, 0.3);
  transition: background var(--transition), transform var(--transition);
}

.profile-tg-botline__link:hover {
  background: rgba(0, 136, 204, 0.28);
  transform: translateY(-1px);
}

.profile-tg-hint-muted code {
  font-size: var(--font-xs);
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}

.profile-tg-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  line-height: 1.45;
  border: 1px solid transparent;
}

.profile-tg-status i {
  margin-top: 2px;
  opacity: 0.9;
}

.profile-tg-status--off {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.28);
  color: rgba(253, 230, 138, 0.95);
}

.profile-tg-status--linked {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.38);
  color: #a7f3d0;
}

.profile-tg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: center;
}

.profile-tg-btn-primary {
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.25);
}

.profile-tg-codebox {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-tg-codebox__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-tg-codebox__lbl {
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.profile-tg-codebox__code {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #e0e7ff;
  word-break: break-all;
}

.profile-tg-codebox__exp {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.profile-tg-deeplink {
  align-self: flex-start;
  text-decoration: none;
  border-color: rgba(56, 183, 246, 0.45);
  color: #bae6fd;
}

.profile-tg-deeplink:hover {
  border-color: #38bdf8;
  color: #e0f2fe;
  background: rgba(0, 136, 204, 0.12);
}

.profile-toggle {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  cursor: pointer;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), background var(--transition);
}

.profile-toggle:hover {
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(99, 102, 241, 0.08);
}

.profile-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.profile-toggle__ui {
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  margin-top: 2px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.profile-toggle__ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-bounce);
}

.profile-toggle input:focus-visible + .profile-toggle__ui {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.profile-toggle input:checked + .profile-toggle__ui {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: rgba(129, 140, 248, 0.6);
}

.profile-toggle input:checked + .profile-toggle__ui::after {
  transform: translateX(18px);
}

.profile-toggle__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.profile-toggle__text strong {
  color: var(--text-primary);
}

.profile-toggle__text small {
  display: block;
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 400;
}

.profile-details--security {
  margin-bottom: var(--spacing-xl);
  padding: 0;
  border: none;
  background: transparent;
}

.profile-details__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.profile-details__summary::-webkit-details-marker {
  display: none;
}

.profile-details__summary:hover {
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(99, 102, 241, 0.08);
}

.profile-details__summary-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  flex-shrink: 0;
}

.profile-details__summary-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.profile-details__summary-title {
  font-weight: 700;
  font-size: var(--font-md);
  color: var(--text-primary);
}

.profile-details__summary-hint {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.profile-details__chev {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.profile-details--security[open] .profile-details__chev {
  transform: rotate(180deg);
}

.profile-details__body {
  padding: var(--spacing-lg);
  margin-top: var(--spacing-sm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  animation: profileDetailsOpen 0.28s ease-out;
}

@keyframes profileDetailsOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-modal__sticky-footer {
  flex-shrink: 0;
  padding: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 27, 53, 0.4) 0%, rgba(12, 18, 34, 0.92) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-modal__submit {
  width: 100%;
  max-width: none;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: var(--font-md);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dashboard-profile-modal__body .auth-form .form-group input.form-control,
.profile-form-premium .form-group input.form-control {
  width: 100%;
  max-width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.dashboard-profile-modal__body .auth-form .form-group input.form-control:focus,
.profile-form-premium .form-group input.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.profile-form-premium .form-group {
  margin-bottom: var(--spacing-md);
}

.profile-form-premium .profile-field-grid .form-group {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .profile-section__head {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-section__icon {
    width: 40px;
    height: 40px;
  }
}

.dashboard-profile-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.dashboard-profile-modal__head-copy {
  min-width: 0;
}

.dashboard-profile-modal__header h2 {
  font-size: var(--font-lg);
  font-weight: 700;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  line-height: 1.25;
}

.dashboard-profile-modal__header h2 i {
  color: var(--primary-light);
}

.dashboard-profile-modal__header--premium h2 {
  font-size: var(--font-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  display: block;
}

/* Formular premium: spațiere și etichete cu iconițe */
.dashboard-profile-modal__body .auth-form.profile-form-premium .form-group {
  margin-bottom: var(--spacing-md);
}

.dashboard-profile-modal__body .auth-form.profile-form-premium .profile-field-grid .form-group {
  margin-bottom: 0;
}

.dashboard-profile-modal__body .auth-form.profile-form-premium .profile-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.dashboard-profile-modal__body .auth-form.profile-form-premium .profile-field label i {
  opacity: 0.55;
  font-size: 0.85em;
  width: 1.1em;
  text-align: center;
}

.user-dashboard-body .dashboard-profile__hint,
.gsm-public-profile--dashboard-tools .dashboard-profile__hint {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.45;
}

.dashboard-profile-modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -6px -8px 0 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  transition:
    background var(--transition),
    color var(--transition);
}

.dashboard-profile-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.dashboard-profile-modal__body:not(.dashboard-profile-modal__body--premium) {
  padding: var(--spacing-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.dashboard-profile-modal__body .auth-form {
  margin-top: 0;
  margin-bottom: 0;
}

/* Stiluri complete pentru formularul din modal (evită pierderea stilului la inputs; include file + parolă) */
.dashboard-profile-modal__body .auth-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.dashboard-profile-modal__body .auth-form .form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.dashboard-profile-modal__body .auth-form .form-group input {
  width: 100%;
  max-width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.dashboard-profile-modal__body .auth-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.dashboard-profile-modal__body .auth-form .form-group input::placeholder {
  color: var(--text-muted);
}

.dashboard-profile-modal__body .auth-form .form-group input[type='file'] {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-sm);
  cursor: pointer;
}

.dashboard-profile-modal__body .auth-form .form-group input[type='file']::file-selector-button {
  margin-right: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(99, 102, 241, 0.25);
  color: #e0e7ff;
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 600;
}

.dashboard-profile-modal__body .auth-form .form-group input[type='file']::file-selector-button:hover {
  background: rgba(99, 102, 241, 0.38);
}

.dashboard-profile-modal__body .auth-form .form-group input[type='file']::-webkit-file-upload-button {
  margin-right: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(99, 102, 241, 0.25);
  color: #e0e7ff;
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 600;
}

.user-dashboard-body .dashboard-profile__msg,
.gsm-public-profile--dashboard-tools .dashboard-profile__msg {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-sm);
  line-height: 1.45;
}

.user-dashboard-body .dashboard-profile__msg--err,
.gsm-public-profile--dashboard-tools .dashboard-profile__msg--err {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.user-dashboard-body .dashboard-profile__msg--ok,
.gsm-public-profile--dashboard-tools .dashboard-profile__msg--ok {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.user-dashboard-body .dashboard-profile__fieldset,
.gsm-public-profile--dashboard-tools .dashboard-profile__fieldset {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--glass-border);
}

.user-dashboard-body .dashboard-profile__fieldset-title,
.gsm-public-profile--dashboard-tools .dashboard-profile__fieldset-title {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-md);
}

.user-dashboard-body .dashboard-profile__fieldset--logo,
.gsm-public-profile--dashboard-tools .dashboard-profile__fieldset--logo {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--glass-border);
}

.user-dashboard-body .dashboard-profile__fieldset--logo .dashboard-profile__fieldset-title,
.gsm-public-profile--dashboard-tools .dashboard-profile__fieldset--logo .dashboard-profile__fieldset-title {
  margin-bottom: var(--spacing-sm);
}

.user-dashboard-body .dashboard-profile__logo-preview,
.gsm-public-profile--dashboard-tools .dashboard-profile__logo-preview {
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  display: inline-block;
}

.user-dashboard-body .dashboard-profile__logo-preview img,
.gsm-public-profile--dashboard-tools .dashboard-profile__logo-preview img {
  display: block;
  max-width: min(140px, 38vw);
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.user-dashboard-body .dashboard-profile__logo-row,
.gsm-public-profile--dashboard-tools .dashboard-profile__logo-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.user-dashboard-body .dashboard-profile__logo-remove,
.gsm-public-profile--dashboard-tools .dashboard-profile__logo-remove {
  flex-shrink: 0;
  min-width: 40px;
}

.dashboard-profile-modal__body .dashboard-profile__logo-input {
  flex: 1;
  min-width: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-sm);
  cursor: pointer;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  box-sizing: border-box;
}

.dashboard-profile-modal__body .dashboard-profile__logo-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.dashboard-profile-modal__body .dashboard-profile__logo-input::file-selector-button {
  margin-right: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(99, 102, 241, 0.25);
  color: #e0e7ff;
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 600;
}

.dashboard-profile-modal__body .dashboard-profile__logo-input::file-selector-button:hover {
  background: rgba(99, 102, 241, 0.38);
}

.dashboard-profile-modal__body .dashboard-profile__logo-input::-webkit-file-upload-button {
  margin-right: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(99, 102, 241, 0.25);
  color: #e0e7ff;
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 600;
}

.dashboard-profile-modal__body .btn-primary:not(.profile-tg-btn-primary) {
  width: 100%;
  max-width: none;
}

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

button.stat-card {
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

button.stat-card:hover {
  transform: translateY(-2px);
  background: var(--glass-strong);
}

button.stat-card:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

button.stat-card.is-active {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.55);
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.14);
}

.user-dashboard-body .stat-num,
.gsm-public-profile--dashboard-tools .stat-num {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
}

.dash-bid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.dash-bid-row {
  display: flex;
  align-items: stretch;
  gap: var(--spacing-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  min-height: 0;
}

.dash-bid-row__hit {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.dash-bid-row__hit:hover {
  background: rgba(99, 102, 241, 0.08);
}

.dash-bid-row--solo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}

.dash-bid-row--solo:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.35);
}

.dash-bid-row__badge {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.dash-bid-row__badge--winning { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }

.dash-bid-row__badge--outbid { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }

.dash-bid-row__badge--won { background: rgba(99, 102, 241, 0.25); color: #c7d2fe; }

.dash-bid-row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-bid-row__title {
  font-weight: 700;
  font-size: var(--font-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-bid-row__sub {
  font-size: var(--font-xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-bid-row__nums {
  text-align: right;
  flex-shrink: 0;
}

.dash-bid-row__price {
  display: block;
  font-weight: 700;
  font-size: var(--font-sm);
}

.dash-bid-row__price--warn { color: #fca5a5; }

.dash-bid-row__price--ok { color: var(--success-light); }

.dash-bid-row__hint {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dash-bid-row__chev {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.dash-bid-row__cta {
  align-self: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.dash-bid-row__cta-text {
  flex-shrink: 0;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--primary-light);
  white-space: nowrap;
}

.dash-bid-row--winning { border-left: 3px solid var(--success); }

.dash-bid-row--outbid { border-left: 3px solid var(--warning); }

.dash-bid-row--won.dash-bid-row--solo { border-left: 3px solid var(--primary); }

.stat-num {
  font-size: var(--font-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  width: 100%;
}

.tabs .tab-btn {
  font: inherit;
  font-size: var(--font-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.tabs .tab-btn:hover {
  background: var(--glass-strong);
}

.tabs .tab-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: var(--primary-light);
}

.tab-content {
  display: none;
  width: 100%;
}

.tab-content.active {
  display: block;
}

.bid-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.bid-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}

.bid-card-winning { border-left: 4px solid var(--success); }
.bid-card-outbid { border-left: 4px solid var(--warning); }
.bid-card-won { border-left: 4px solid var(--primary); }

.bid-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.bid-card-badge {
  font-size: var(--font-xs);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.bid-card-badge.winning { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.bid-card-badge.outbid { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.bid-card-badge.won { background: rgba(99, 102, 241, 0.25); color: #c7d2fe; }

.bid-card-session {
  font-weight: 700;
  flex: 1;
}

.bid-card-type {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.bid-card-phone {
  margin-bottom: var(--spacing-md);
}

.bid-card-phone .phone-name {
  font-weight: 600;
  display: block;
}

.bid-card-phone .phone-meta {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.bid-card-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.amount-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  display: block;
}

.amount-val {
  font-size: var(--font-lg);
  font-weight: 700;
}

.amount-val.highlight { color: var(--success-light); }
.amount-val.danger { color: #fca5a5; }
.amount-val.success { color: var(--success-light); }

.empty-state {
  padding: var(--spacing-3xl);
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-md);
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.notif-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.notif-item.notif-unread {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

.notif-msg {
  margin: 0 0 4px;
  font-size: var(--font-sm);
}

.notif-time {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .dashboard-stats--filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-stats:not(.dashboard-stats--filter) {
    grid-template-columns: 1fr;
  }
}

/* ========== Admin (stoc anexe, tabele) ========== */
.main-content--admin-wide {
  max-width: 1320px;
  align-items: stretch;
}

/* ─── Admin · dashboard (/admin) — shell responsive ───────────────────────── */
.admin-dashboard-page .main-content.admin-dashboard {
  box-sizing: border-box;
}

.admin-dashboard {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(12px, 2.2vw, 20px);
  padding-bottom: var(--spacing-2xl);
}

.admin-dash-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--spacing-md), 2vw, var(--spacing-lg));
  padding: clamp(1rem, 2.6vw, 1.65rem);
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(129, 140, 248, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 48px rgba(0, 0, 0, 0.38);
  background:
    radial-gradient(120% 140% at 0% -20%, rgba(99, 102, 241, 0.28), transparent 55%),
    radial-gradient(90% 100% at 100% 0%, rgba(34, 211, 238, 0.08), transparent 52%),
    linear-gradient(168deg, rgba(15, 23, 42, 0.72) 0%, rgba(12, 16, 28, 0.55) 100%);
}

.admin-dash-hero__eyebrow {
  margin: 0 0 var(--spacing-xs);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-dash-hero__title {
  margin: 0 0 var(--spacing-sm);
  font-size: clamp(1.42rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.admin-dash-hero__subtitle {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.52;
  color: rgba(203, 213, 225, 0.9);
  max-width: 60ch;
}

.admin-dash-hero__toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr));
  gap: 10px;
  width: 100%;
  padding-top: clamp(10px, 2vw, 14px);
  margin-top: 2px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.admin-dash-hero__tool.btn,
.admin-dash-hero__tool.btn-primary,
.admin-dash-hero__tool.btn-outline {
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-size: var(--font-sm, 0.875rem);
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

@media (min-width: 760px) {
  .admin-dash-hero__toolbar {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }

  .admin-dash-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-dash-hero__lead {
    max-width: none;
  }
}

/* Modale setări pe dashboard admin (GTM / tarife) */
.admin-dash-settings-modal .org-new-session-modal__panel {
  max-width: min(640px, calc(100vw - 24px));
}
.admin-dash-settings-modal--wide .org-new-session-modal__panel {
  max-width: min(720px, calc(100vw - 24px));
}
.admin-dash-settings-modal .org-new-session-modal__scroll {
  max-height: min(78vh, 760px);
}
.admin-dash-settings-modal .admin-dash-section-title {
  margin-top: 0;
}

.admin-dash-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  width: 100%;
}

.admin-dash-kpi {
  margin: 0;
  padding: clamp(14px, 2vw, 18px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-dash-kpi--click:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.12),
    0 10px 32px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.admin-dash-kpi__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
}

.admin-dash-kpi__icon--users {
  background: rgba(52, 211, 153, 0.16);
  color: #86efac;
}

.admin-dash-kpi__icon--hammer {
  background: rgba(251, 191, 36, 0.14);
  color: #fcd34d;
}

.admin-dash-kpi__body {
  min-width: 0;
}

.admin-dash-kpi__num {
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.admin-dash-kpi__label {
  display: block;
  margin-top: 4px;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.015em;
}

.admin-dash-kpi__chev {
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.82rem;
}

.admin-dash-anchor {
  scroll-margin-top: 96px;
}

.admin-dash-section-title {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.admin-dash-promo-costs__intro {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.admin-dash-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(228px, 100%), 1fr));
  gap: var(--spacing-md);
}

.admin-dash-promo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.admin-dash-promo-field__lbl {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.35;
}

.admin-dash-promo-field__input {
  width: 100%;
  box-sizing: border-box;
}

.admin-dash-promo-costs__status {
  margin-top: var(--spacing-md);
}

.admin-dash-promo-save {
  margin-top: var(--spacing-md);
}

.admin-dash-tracking-grid.admin-dash-promo-grid {
  grid-template-columns: 1fr;
}

.admin-dash-promo-field.admin-dash-promo-field--wide {
  max-width: none;
}

.admin-dash-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: calc(-1 * min(12px, 2vw));
  margin-right: calc(-1 * min(12px, 2vw));
  padding-left: min(12px, 2vw);
  padding-right: min(12px, 2vw);
  border-radius: var(--radius-md);
}

.admin-dashboard .admin-panels {
  gap: clamp(12px, 2vw, 20px);
}

.admin-dashboard .admin-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.admin-dashboard .admin-panel > .panel-header h2 {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: rgba(226, 232, 240, 0.95);
}

.admin-dashboard .admin-table {
  font-size: 0.8rem;
  min-width: 640px;
}

.admin-dashboard .recent-bid-item {
  grid-template-columns: 1fr;
}

@media (min-width: 420px) {
  .admin-dashboard .recent-bid-item {
    grid-template-columns: 1fr auto;
  }
}

.page-header--admin {
  text-align: left;
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.page-header--admin h1 {
  justify-content: flex-start;
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

/* ─── Admin · listă licitații (/admin/sessions) ───────────────────────────── */
.admin-sessions-page__main {
  max-width: 1320px;
}

.admin-sessions-hero.card {
  padding: clamp(var(--spacing-md), 2.8vw, var(--spacing-xl));
  margin-bottom: var(--spacing-xl);
  border-radius: var(--radius-lg);
}

.admin-sessions-hero__row {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-items: stretch;
}

@media (min-width: 900px) {
  .admin-sessions-hero__row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-xl);
  }
}

.admin-sessions-hero__intro {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-sessions-hero__eyebrow {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.95);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-sessions-hero__eyebrow-sep {
  opacity: 0.45;
  font-weight: 400;
  margin: 0 2px;
}

.admin-sessions-hero__dash-link {
  color: rgba(199, 210, 254, 0.95);
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  margin: -2px -6px;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-sessions-hero__dash-link:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
}

.admin-sessions-hero .admin-sessions-hero__row h1 {
  margin: 0 0 var(--spacing-sm);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.admin-sessions-hero__hint {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.95);
  max-width: 52ch;
  line-height: 1.5;
}

.admin-sessions-hero__stat {
  display: inline-flex;
  align-items: baseline;
  gap: var(--spacing-sm);
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.admin-sessions-hero__stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: rgba(167, 139, 250, 0.98);
  line-height: 1;
}

.admin-sessions-hero__stat-lbl {
  font-size: var(--font-sm);
  color: rgba(226, 232, 240, 0.9);
}

.admin-sessions-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .admin-sessions-toolbar {
    justify-content: flex-end;
    max-width: min(560px, 44vw);
  }
}

.admin-sessions-toolbar .btn-glow i {
  margin-right: 2px;
}

.admin-sessions-empty {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.admin-sessions-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: rgba(199, 210, 254, 0.95);
  font-size: 1.65rem;
}

.admin-sessions-empty h2 {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-xl);
  letter-spacing: -0.02em;
}

.admin-sessions-empty p {
  margin: 0 0 var(--spacing-xl);
  color: var(--text-muted);
  font-size: var(--font-sm);
  line-height: 1.55;
}

.admin-sessions-table-card.card {
  padding: 0;
  overflow: hidden;
}

.admin-sessions-table-card__heading {
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.35), transparent);
}

.admin-sessions-table-card__title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.admin-sessions-table-card__title i {
  opacity: 0.85;
  color: rgba(129, 140, 248, 0.95);
}

.admin-sessions-table-card__subtitle {
  margin: 0;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.9);
}

.admin-sessions-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.admin-sessions-table {
  margin: 0;
  min-width: 920px;
  font-variant-numeric: tabular-nums;
}

.admin-sessions-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  background: rgba(12, 18, 34, 0.97);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(8px);
}

.admin-sessions-th-i {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(148, 163, 184, 0.85);
}

.admin-sessions-table__col-num {
  width: 3.25rem;
  text-align: center;
}

.admin-sessions-table__col-actions {
  min-width: 15rem;
  text-align: right;
}

.admin-sessions-table__title-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  border-radius: var(--radius-sm);
  outline-offset: 2px;
}

.admin-sessions-table__title-link:hover {
  color: rgba(167, 189, 250, 0.98);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.admin-sessions-table__num {
  text-align: center;
  font-weight: 700;
  color: rgba(199, 210, 254, 0.95);
}

.admin-sessions-table__date {
  font-size: 0.8125rem;
  color: rgba(203, 213, 225, 0.95);
}

.admin-sessions-table__date-exp {
  white-space: nowrap;
}

.admin-session-creator__name {
  display: block;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.98);
  line-height: 1.3;
}

.admin-session-creator__email {
  display: block;
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.9);
  word-break: break-word;
}

.admin-session-creator__fallback {
  font-size: var(--font-sm);
}

.badge-approval-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-xs);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: rgba(134, 239, 172, 0.95);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-approval-ok i {
  font-size: 0.62rem;
  opacity: 0.92;
}

.admin-sessions-actions {
  justify-content: flex-end;
}

.admin-sessions-table tbody td {
  vertical-align: middle;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

/* Antet detaliu sesiune (admin / organizator): un rând aliniat + notă integrată */
.session-detail-hero {
  width: 100%;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg) clamp(var(--spacing-md), 3vw, var(--spacing-xl));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(152deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.42));
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.session-detail-hero__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md) var(--spacing-lg);
}

.session-detail-hero__back {
  flex-shrink: 0;
  margin: 0 !important;
}

.session-detail-hero__title {
  margin: 0;
  flex: 1 1 200px;
  min-width: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
}

.session-detail-hero__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 100%;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .session-detail-hero__toolbar {
    flex: 0 2 auto;
    justify-content: flex-end;
    max-width: min(48%, 540px);
    margin-left: auto;
  }

  .session-detail-hero__main {
    flex-wrap: nowrap;
  }

  .session-detail-hero__title {
    flex: 1 1 auto;
  }
}

.session-detail-hero .badge-type,
.session-detail-hero .badge-status {
  border-radius: 999px;
  padding: 5px 11px;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.session-detail-hero .badge-pending,
.session-detail-hero .badge-rejected,
.session-detail-hero .badge-approved-soft {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.session-detail-pill--neutral {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(226, 232, 240, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.65);
  white-space: nowrap;
}

.session-detail-pill--file {
  max-width: 100%;
}

.session-detail-pill__truncate {
  display: inline-block;
  max-width: min(14rem, 36vw);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.session-detail-hero__note {
  margin: var(--spacing-md) 0 0;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  line-height: 1.45;
  color: rgba(191, 219, 254, 0.96);
  background: rgba(59, 130, 246, 0.11);
  border: 1px solid rgba(96, 165, 250, 0.26);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.session-detail-hero__note > i:first-child {
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.92;
}

.session-detail-hero__note strong {
  color: #e0f2fe;
  font-weight: 700;
}

.actions-cell--organizer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.org-session-delete-form {
  display: inline;
  margin: 0;
}

.org-session-delete-form button {
  margin: 0;
}

/* Organizer: modal „Licitație nouă” pe /organizer */
body.org-modal-open {
  overflow: hidden;
}

.org-new-session-modal[hidden] {
  display: none !important;
}

.org-new-session-modal {
  position: fixed;
  inset: 0;
  z-index: 100560;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(var(--spacing-md), env(safe-area-inset-top, 0px)) var(--spacing-md)
    max(var(--spacing-md), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.org-new-session-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 140% 90% at 50% -20%, rgba(129, 140, 248, 0.35), transparent 52%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(6, 182, 212, 0.12), transparent 50%),
    rgba(4, 7, 18, 0.9);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.org-new-session-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background:
    linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, transparent 42%),
    var(--glass, rgba(22, 24, 40, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 28px 80px -24px rgba(0, 0, 0, 0.75),
    0 0 80px -20px rgba(99, 102, 241, 0.45);
  animation: orgSessionModalIn 0.38s cubic-bezier(0.25, 0.46, 0.45, 1);
}

@keyframes orgSessionModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

.org-new-session-modal__header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    125deg,
    rgba(99, 102, 241, 0.18) 0%,
    rgba(6, 182, 212, 0.06) 50%,
    transparent 100%
  );
}

.org-new-session-modal__head-text {
  min-width: 0;
}

.org-new-session-modal__eyebrow {
  margin: 0 0 6px;
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.95);
}

.org-new-session-modal__eyebrow i {
  margin-right: 6px;
  color: rgba(251, 191, 36, 0.95);
}

.org-new-session-modal__title {
  margin: 0;
  font-size: var(--font-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(120deg, #f8fafc, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.org-new-session-modal__title i {
  -webkit-text-fill-color: rgba(167, 196, 255, 1);
}

.org-new-session-modal__lead {
  margin: var(--spacing-sm) 0 0;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  max-width: 52ch;
  line-height: 1.45;
}

.org-new-session-modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.org-new-session-modal__close:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(165, 180, 252, 0.35);
  transform: rotate(90deg);
}

.org-new-session-modal__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--spacing-lg);
}

.org-new-session-modal__form-card {
  margin-bottom: 0;
  padding: var(--spacing-md) var(--spacing-lg);
}

.org-new-session-modal__scroll > .perm-product-modal-inner.form-card {
  margin-top: 0;
}

.org-new-session-modal__scroll .perm-product-modal-inner .session-form {
  gap: var(--spacing-md);
}

.org-new-session-modal__scroll .perm-product-modal-inner .session-form > .form-group:last-of-type {
  margin-bottom: 0;
}

.perm-photo-r2-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xs);
}

.perm-photo-r2-heading {
  margin: 0 0 var(--spacing-xs);
  font-weight: 600;
  font-size: 0.94rem;
}

.perm-photo-r2-status {
  margin: var(--spacing-xs) 0 0;
  font-size: 0.88rem;
  color: var(--text-muted, #6b7280);
  min-height: 1.25em;
}

.perm-photo-r2-toolbar .perm-photo-r2-label {
  margin: 0;
  cursor: pointer;
}

.perm-photo-r2-toolbar .perm-photo-r2-hint {
  margin: 0;
  flex: 1;
  min-width: 140px;
}

.org-new-session-modal__form-card .session-form fieldset:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 540px) {
  .org-new-session-modal__title {
    font-size: var(--font-lg);
  }

  .org-new-session-modal__scroll {
    padding: var(--spacing-md);
  }
}

/* Modal: relistare — listă licitații + dispozitive fără ofertă */
.session-reuse-picker-modal {
  z-index: 100580;
}

.session-reuse-picker-modal__panel.org-new-session-modal__panel {
  width: min(960px, 100%);
}

.session-reuse-picker-modal__scroll.org-new-session-modal__scroll {
  max-height: min(58vh, 620px);
}

.session-reuse-picker-modal__footer {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-sm) var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.session-reuse-picker__count {
  margin-right: auto;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.session-reuse-picker__status {
  margin: 0 0 var(--spacing-md);
}

.session-reuse-picker__status--error {
  color: #fca5a5;
}

.session-form-reuse-summary {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.session-reuse-picker__session {
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.35);
}

.session-reuse-picker__session > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
}

.session-reuse-picker__session > summary::-webkit-details-marker {
  display: none;
}

.session-reuse-picker__session-title {
  flex: 1 1 200px;
  min-width: 0;
}

.session-reuse-picker__session-meta {
  font-weight: 400;
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.session-reuse-picker__select-all {
  margin-left: auto;
}

.session-reuse-picker__table-wrap {
  padding: 0 var(--spacing-md) var(--spacing-md);
  overflow-x: auto;
}

.session-reuse-picker__table {
  width: 100%;
  font-size: var(--font-sm);
}

.session-reuse-picker__table th,
.session-reuse-picker__table td {
  padding: 6px 8px;
  vertical-align: middle;
}

.session-reuse-picker__th-check {
  width: 36px;
  text-align: center;
}

.session-reuse-picker__mono {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-relict-modal__form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.session-relict-modal__row {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .session-relict-modal__row {
    grid-template-columns: 1fr;
  }
}

.session-relict-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.session-relict-modal__totals {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.session-relict-modal__totals-line {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.session-relict-modal__totals-line + .session-relict-modal__totals-line {
  margin-top: 0.35rem;
}

.session-relict-modal__totals-line--muted {
  font-weight: 400;
  font-size: 0.82rem;
  opacity: 0.75;
}

.session-relict-modal__row--bulk[hidden],
.session-relict-modal__row--individual[hidden] {
  display: none !important;
}

html.session-reuse-picker-open body {
  overflow: hidden;
}

.gsm-admin-back {
  margin-bottom: var(--spacing-sm);
}

.gsm-admin-subtitle {
  text-align: left;
  width: 100%;
  margin-top: calc(-1 * var(--spacing-md));
  margin-bottom: var(--spacing-lg);
}

.gsm-admin-filters .section-title,
.gsm-admin-actions .section-title {
  font-size: var(--font-md);
  justify-content: flex-start;
  width: 100%;
  margin-bottom: var(--spacing-md);
}

.gsm-admin-filters .section-title i,
.gsm-admin-actions .section-title i {
  opacity: 0.85;
}

.gsm-admin-filters,
.gsm-admin-actions {
  width: 100%;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.admin-alert {
  width: 100%;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.admin-alert--warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.admin-alert-list {
  margin: var(--spacing-md) 0 0 var(--spacing-lg);
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.admin-alert code {
  font-size: 0.9em;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.field-hint {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: var(--spacing-md);
}

.meta-count {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-md);
  width: 100%;
}

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

.stock-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
}

.stock-actions-bar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  width: 100%;
}

.stock-add-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm);
}

.admin-input {
  min-width: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-sm);
}

.admin-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.admin-input--grow {
  flex: 1;
  min-width: 200px;
}

.admin-input--session {
  max-width: 280px;
}

.admin-input--title {
  max-width: 220px;
}

.admin-input--num {
  width: 110px;
}

.filter-check {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.admin-table-shell {
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.admin-table th,
.admin-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  vertical-align: top;
}

.admin-table th {
  background: rgba(0, 0, 0, 0.2);
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.admin-table tbody tr:hover td {
  background: rgba(99, 102, 241, 0.06);
}

.admin-table code {
  font-size: 0.85em;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.admin-table .imei-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin: var(--spacing-xl) 0 var(--spacing-2xl);
  width: 100%;
}

.pagination .page-btn {
  min-width: 40px;
  text-decoration: none;
}

/* Fallback: pagini admin care încă folosesc main.container */
main.container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-3xl);
  min-height: 100dvh;
}

/* Erori + formulare admin (ex. /admin/sessions/new) */
.alert {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  margin: 0 0 var(--spacing-lg);
  font-size: var(--font-sm);
  font-weight: 500;
  line-height: 1.45;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  margin-bottom: var(--spacing-xs);
}

.btn-back:hover {
  color: var(--primary);
  text-decoration: underline;
}

.form-card {
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    var(--shadow-md);
  margin-top: var(--spacing-md);
}

.session-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.session-form-csv-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xs);
}

.session-form-csv-template {
  flex-shrink: 0;
  white-space: nowrap;
}

.session-form .form-section {
  margin: 0;
  padding: 0 0 var(--spacing-xl);
  border: none;
  border-bottom: 1px solid var(--glass-border);
}

.session-form .form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.session-form .form-section legend {
  display: block;
  width: 100%;
  font-size: var(--font-md);
  font-weight: 700;
  color: var(--text-primary);
  padding: 0;
  margin: 0 0 var(--spacing-md);
}

.session-form .form-group {
  margin-bottom: var(--spacing-md);
}

.session-form .form-group:last-child {
  margin-bottom: 0;
}

.session-form .form-group label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.session-form .form-group input,
.session-form .form-group textarea,
.session-form .form-group select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-primary);
  font: inherit;
  font-size: var(--font-sm);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.session-form .form-group input:focus,
.session-form .form-group textarea:focus,
.session-form .form-group select:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.session-form .form-group textarea {
  resize: vertical;
  min-height: 88px;
}

.session-form .form-group input::file-selector-button {
  margin-right: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  font: inherit;
  font-size: var(--font-xs);
  font-weight: 600;
  cursor: pointer;
}

.session-form .form-group .session-form-csv-row input[type='file'],
.session-form .form-group .session-form-csv-row .session-form-csv-file {
  flex: 1 1 min(240px, 100%);
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.session-form .field-hint {
  margin-top: var(--spacing-xs);
  margin-bottom: 0;
}

.session-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-md);
}

.session-form .form-row .form-group {
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--glass-border);
}

main.container > .page-header:has(.btn-back) {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

main.container > .page-header:has(.btn-back) h1 {
  width: 100%;
}

/* Dashboard / liste admin (main.container) */
main.container > .page-header {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

main.container > .page-header h1 {
  justify-content: flex-start;
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin-bottom: var(--spacing-md);
}

.admin-stats > .stat-card,
.admin-stats > a.stat-card {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.4rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

.admin-stats .stat-icon {
  font-size: 1.05rem;
  line-height: 1;
  margin-bottom: 0;
  flex-shrink: 0;
}

.admin-stats .stat-num {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  flex-shrink: 0;
}

.admin-stats .stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.admin-stats a.stat-card.stat-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-stats a.stat-card.stat-card--link:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 1px 12px rgba(99, 102, 241, 0.12);
}

@media (max-width: 640px) {
  main.container > .page-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  width: 100%;
  margin-bottom: var(--spacing-xl);
  align-items: start;
}

.admin-panel {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.admin-panel > .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.admin-panel > .panel-header h2 {
  margin: 0;
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--text-secondary);
}

.admin-panel > .panel-header a {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
}

.admin-panel > .panel-header a:hover {
  text-decoration: underline;
}

main.container > .admin-panel {
  margin-bottom: var(--spacing-xl);
}

.recent-bids-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-height: 320px;
  overflow-y: auto;
}

.recent-bid-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--spacing-sm) var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.15);
  font-size: var(--font-sm);
}

.recent-bid-item .rb-time {
  grid-column: 1 / -1;
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.admin-table-full {
  width: 100%;
}

@media (max-width: 900px) {
  .admin-panels {
    grid-template-columns: 1fr;
  }
}

/* ========== Admin: detaliu sesiune ========== */
.gsm-session-actions {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.admin-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm);
}

/* Bara de acțiuni sesiune: UN singur rând, fără scroll orizontal — ocupă toată lățimea */
.gsm-session-actions__bar {
  flex-wrap: nowrap !important;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.gsm-session-actions__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  padding: 0.25rem 0;
  box-sizing: border-box;
}

.gsm-session-actions__rail {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(3px, 0.5vw, 7px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gsm-sa-clip {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  text-align: center;
}

.gsm-session-actions__rail .gsm-status-lock-note {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  max-width: none;
  min-height: 2.125rem;
  height: 2.125rem;
  padding: 0 clamp(6px, 1vw, 10px);
  margin: 0;
  border-radius: 999px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(165deg, rgba(51, 65, 85, 0.5), rgba(15, 23, 42, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 10px rgba(0, 0, 0, 0.28);
  font-size: clamp(0.65rem, 0.95vw, 0.75rem);
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.gsm-session-actions__rail > .btn,
.gsm-session-actions__rail > a.btn,
.gsm-session-actions__rail > button.btn,
.gsm-session-actions__rail .gsm-session-actions__delete-form .btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  height: 2.125rem !important;
  min-height: 2.125rem !important;
  max-height: 2.125rem !important;
  padding: 0 clamp(4px, 0.75vw, 10px) !important;
  border-radius: 999px !important;
  font-size: clamp(0.65rem, 0.85vw + 0.35rem, 0.78rem) !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  color: #f8fafc !important;
  background: linear-gradient(168deg, rgba(71, 85, 105, 0.55) 0%, rgba(30, 41, 59, 0.92) 48%, rgba(15, 23, 42, 0.97) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 14px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease,
    filter 0.14s ease;
}

.gsm-session-actions__rail > .btn:hover,
.gsm-session-actions__rail > a.btn:hover,
.gsm-session-actions__rail .gsm-session-actions__delete-form .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(165, 180, 252, 0.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 5px 18px rgba(99, 102, 241, 0.22),
    0 0 0 1px rgba(99, 102, 241, 0.12);
  filter: brightness(1.05);
}

.gsm-session-actions__rail > .btn:active,
.gsm-session-actions__rail > a.btn:active,
.gsm-session-actions__rail .gsm-session-actions__delete-form .btn:active {
  transform: translateY(0);
}

.gsm-session-actions__rail .btn-primary,
.gsm-session-actions__rail .btn-primary.btn-glow,
.gsm-session-actions__rail a.btn-primary {
  border-color: rgba(199, 210, 254, 0.42) !important;
  color: #fff !important;
  background: linear-gradient(155deg, #818cf8 0%, #6366f1 40%, #4f46e5 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 22px rgba(99, 102, 241, 0.38),
    0 0 36px rgba(129, 140, 248, 0.1);
}

.gsm-session-actions__rail .btn-primary:hover,
.gsm-session-actions__rail .btn-primary.btn-glow:hover {
  border-color: rgba(224, 231, 255, 0.65) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 7px 28px rgba(99, 102, 241, 0.46),
    0 0 44px rgba(165, 180, 252, 0.18);
  filter: brightness(1.05);
}

.gsm-session-actions__rail .btn-warning {
  border-color: rgba(253, 224, 71, 0.45) !important;
  color: #0f172a !important;
  background: linear-gradient(155deg, #fde047 0%, #facc15 45%, #eab308 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 18px rgba(234, 179, 8, 0.32);
}

.gsm-session-actions__rail .btn-outline.btn-danger-fill,
.gsm-session-actions__rail .btn-danger-fill {
  border-color: rgba(251, 113, 133, 0.5) !important;
  color: #ffe4e6 !important;
  background: linear-gradient(168deg, rgba(251, 113, 133, 0.35) 0%, rgba(190, 18, 60, 0.72) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 18px rgba(244, 63, 94, 0.22);
}

.gsm-session-actions__rail .btn-outline.btn-danger-fill:hover {
  border-color: rgba(254, 205, 211, 0.65) !important;
}

.gsm-session-actions__rail .gsm-session-actions__btn {
  height: 2.125rem !important;
  min-height: 2.125rem !important;
  max-height: 2.125rem !important;
}

.gsm-session-actions__rail .session-detail-credit-hint {
  opacity: 0.88;
  font-weight: 700;
  font-size: 0.85em;
  flex-shrink: 0;
}

.gsm-session-actions__delete-form {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
}

.gsm-session-actions__delete-form .btn {
  width: 100%;
}

.gsm-session-actions__rail i.fas,
.gsm-session-actions__rail i.fab {
  font-size: 0.88em;
  opacity: 0.95;
  flex-shrink: 0;
}

.gsm-status-lock-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.45);
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.35;
  max-width: min(100%, 26rem);
}

.gsm-status-lock-note .fa-lock {
  flex-shrink: 0;
  opacity: 0.85;
}

.session-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  box-sizing: border-box;
}

.session-edit-modal[hidden] {
  display: none !important;
}

body.session-edit-modal-open {
  overflow: hidden;
}

.session-edit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.82);
  backdrop-filter: blur(10px);
}

.session-edit-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.97), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(99, 102, 241, 0.08);
  animation: sessionModalIn 0.32s ease-out;
}

.session-edit-modal__panel--wide {
  width: min(720px, 100%);
}

.session-edit-modal__panel--bids {
  width: min(960px, 100%);
}

.session-edit-modal__panel--phone-bids {
  width: min(860px, 100%);
}

.session-edit-modal__panel--devices {
  width: min(1180px, calc(100vw - 20px));
  max-height: min(92vh, 920px);
  min-height: 0;
}

/* Modal dispozitive: antet dens; corpul ocupă înălțimea disponibilă (tabel cu scroll interior) */
.session-edit-modal--devices .session-edit-modal__header {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.session-edit-modal--devices .session-edit-modal__close {
  margin-top: 2px;
}

.session-edit-modal--devices .session-edit-modal__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.session-edit-modal--devices .session-edit-modal__title i {
  margin-right: 6px;
  opacity: 0.9;
}

.session-edit-modal--devices .session-edit-modal__eyebrow {
  margin: 0 0 4px;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.session-edit-modal--devices .session-edit-modal__lede {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.38;
  color: rgba(148, 163, 184, 0.95);
}

.session-edit-modal--devices .session-edit-modal__body--devices-table {
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}

.session-edit-modal--devices .session-edit-modal__body--devices-table .device-list-toolbar--modal {
  flex: none;
}

.session-edit-modal--devices .session-edit-modal__body--devices-table .device-rows-shell {
  flex: 1 1 auto;
  min-height: 200px;
  max-height: none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.dr-td-bidders--compact {
  vertical-align: middle;
  max-width: 220px;
}

.dr-bidders-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.dr-bidders-inline-meta {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dr-bidders-count {
  font-weight: 700;
  color: var(--text-secondary);
}

.dr-bidders-max strong {
  font-variant-numeric: tabular-nums;
  color: #c7d2fe;
}

.dr-phone-bids-btn {
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 7px 14px !important;
  line-height: 1.2 !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f3ff !important;
  background: linear-gradient(165deg, #a78bfa 0%, #7c3aed 40%, #5b21b6 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 5px 0 #4c1d95,
    0 7px 18px rgba(0, 0, 0, 0.38);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

.dr-phone-bids-btn:hover {
  filter: brightness(1.07) saturate(1.05);
  color: #fff !important;
}

.dr-phone-bids-btn:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 1px 0 #4c1d95,
    0 3px 10px rgba(0, 0, 0, 0.32);
}

.dr-phone-bids-btn:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.85);
  outline-offset: 2px;
}

.dr-phone-bids-btn i {
  margin-right: 4px;
  opacity: 0.95;
}

@keyframes sessionModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.session-edit-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.session-edit-modal__head-copy {
  min-width: 0;
}

.session-edit-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a5b4fc;
}

.session-edit-modal__eyebrow--slate {
  color: #94a3b8;
}

.session-edit-modal__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
}

.session-edit-modal__lede {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.session-edit-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.session-edit-modal__close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.35);
}

.session-edit-modal__body {
  padding: var(--spacing-lg);
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.session-edit-modal__form-grid {
  flex-wrap: wrap;
}

.session-edit-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.session-edit-modal__footer--form {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-lg);
}

.session-edit-modal__settings-form.admin-settings-form {
  padding: 0;
  gap: var(--spacing-md);
}

.danger-actions {
  flex-shrink: 0;
}

.admin-inline-form {
  margin: 0;
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  filter: brightness(1.05);
}

.btn-danger-fill {
  border: 1px solid rgba(239, 68, 68, 0.55) !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fecaca !important;
}

.btn-danger-fill:hover {
  background: rgba(239, 68, 68, 0.28) !important;
  border-color: var(--danger) !important;
  color: #fff !important;
}

.admin-session-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.admin-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-meta-item i {
  opacity: 0.8;
  color: var(--primary-light);
}

.admin-settings-panel {
  width: 100%;
  padding: 0;
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

.admin-settings-panel > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--spacing-lg);
  font-weight: 600;
  font-size: var(--font-md);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  user-select: none;
  border-bottom: 1px solid transparent;
}

.admin-settings-panel > summary::-webkit-details-marker {
  display: none;
}

.admin-settings-panel > summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  margin-left: auto;
  opacity: 0.6;
  transition: transform var(--transition);
}

.admin-settings-panel[open] > summary::after {
  transform: rotate(180deg);
}

.admin-settings-panel[open] > summary {
  border-bottom-color: var(--glass-border);
}

.admin-settings-form {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.admin-form-group label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.admin-input--block {
  width: 100%;
  box-sizing: border-box;
}

.bulk-admin-status {
  width: 100%;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.bulk-admin-title {
  justify-content: flex-start;
  margin-bottom: var(--spacing-md);
}

.bulk-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.bulk-stat {
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.bulk-stat-label {
  display: block;
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.bulk-stat-val {
  font-size: var(--font-md);
  font-weight: 700;
  color: var(--text-primary);
}

.bulk-adj-btn {
  margin-top: var(--spacing-sm);
}

.admin-phones-section {
  width: 100%;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.admin-phones-section .section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.admin-phones-section .section-header .section-title {
  margin-bottom: 0;
  justify-content: flex-start;
}

/* ─── Lista dispozitive: un rând compact / dispozitiv ─── */
.admin-phones-section--modern {
  overflow-x: hidden;
  max-width: 100%;
}

.device-list-header {
  align-items: flex-start;
}

@media (min-width: 768px) {
  .device-list-header {
    align-items: center;
  }
}

.device-list-header__title {
  flex: 1 1 auto;
  min-width: 0;
}

.device-list-toolbar {
  flex: 1 1 260px;
  justify-content: flex-end;
}

.device-list-search,
.device-list-filter {
  min-height: 38px;
  box-sizing: border-box;
  border-radius: var(--radius-md);
}

.device-list-search {
  flex: 1 1 200px;
  max-width: min(100%, 400px);
}

.device-rows-shell {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.14);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.device-rows-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: fixed;
}

.device-rows-table--individual {
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.device-rows-table--individual-draft {
  min-width: 980px;
}

.device-rows-table--bulk {
  min-width: 770px;
}

.device-rows-table--bulk-draft {
  min-width: 940px;
}

.device-rows-table thead th {
  padding: 7px 8px;
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.device-rows-table thead th:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.device-rows-table tbody td:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.device-rows-table tbody td {
  padding: 5px 8px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 0;
}

.device-rows-table tbody tr:hover td {
  background: rgba(99, 102, 241, 0.07);
}

.device-rows-table--individual tbody tr.phone-row.row-with-bids td {
  border-top: 1px solid rgba(34, 197, 94, 0.5);
  border-bottom: 1px solid rgba(34, 197, 94, 0.5);
  background: rgba(16, 185, 129, 0.07);
}

.device-rows-table--individual tbody tr.phone-row.row-with-bids td:first-child {
  border-left: 1px solid rgba(34, 197, 94, 0.55);
  border-radius: 10px 0 0 10px;
}

.device-rows-table--individual tbody tr.phone-row.row-with-bids td:last-child {
  border-right: 1px solid rgba(34, 197, 94, 0.55);
  border-radius: 0 10px 10px 0;
}

.device-rows-table--individual tbody tr.phone-row.row-no-bids td {
  border-top: 1px solid rgba(59, 130, 246, 0.42);
  border-bottom: 1px solid rgba(59, 130, 246, 0.42);
  background: rgba(59, 130, 246, 0.06);
}

.device-rows-table--individual tbody tr.phone-row.row-no-bids td:first-child {
  border-left: 1px solid rgba(59, 130, 246, 0.48);
  border-radius: 10px 0 0 10px;
}

.device-rows-table--individual tbody tr.phone-row.row-no-bids td:last-child {
  border-right: 1px solid rgba(59, 130, 246, 0.48);
  border-radius: 0 10px 10px 0;
}

.device-rows-table--individual tbody tr.phone-row:hover.row-with-bids:not(.row-adjudicated) td {
  background: rgba(16, 185, 129, 0.12);
}

.device-rows-table--individual tbody tr.phone-row.row-adjudicated td {
  border-top: 1px solid rgba(252, 211, 77, 0.72);
  border-bottom: 1px solid rgba(252, 211, 77, 0.72);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.11), rgba(161, 98, 7, 0.07));
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.22);
}

.device-rows-table--individual tbody tr.phone-row.row-adjudicated td:first-child {
  border-left: 1px solid rgba(252, 211, 77, 0.85);
  border-radius: 10px 0 0 10px;
}

.device-rows-table--individual tbody tr.phone-row.row-adjudicated td:last-child {
  border-right: 1px solid rgba(252, 211, 77, 0.85);
  border-radius: 0 10px 10px 0;
}

.device-rows-table--individual tbody tr.phone-row:hover.row-adjudicated td {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.16), rgba(161, 98, 7, 0.1));
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.35);
}

.device-rows-table--individual tbody tr.phone-row:hover.row-no-bids td {
  background: rgba(59, 130, 246, 0.11);
}

.device-rows-table tbody tr.phone-row[data-auction-phone-idx] {
  cursor: pointer;
}

.device-rows-table--individual tbody td {
  border-bottom: none;
}

.dr-w-num { width: 2.5%; }
.dr-w-dev { width: 10%; }
.dr-w-type { width: 5.5%; min-width: 4.5rem; }
.dr-w-imei { width: 8%; }
.dr-w-srcref { width: 6%; min-width: 3.5rem; }
.dr-w-spec { width: 9%; }
.dr-w-note { width: 15%; }
.dr-w-start { width: 5%; }
.dr-w-photo { width: 9%; }
.dr-w-bid { width: 5%; }
.dr-w-user { width: 9%; }
.dr-w-bidders { width: 17%; }
.dr-w-edit { width: 3.2%; min-width: 40px; }
.dr-w-actions { width: 5.2%; min-width: 76px; }

.dr-th-edit {
  text-align: center;
}

.dr-th-actions {
  text-align: center;
}

.dr-td-edit {
  text-align: center;
  vertical-align: middle;
}

.dr-td-actions {
  text-align: center;
  vertical-align: middle;
}

.device-type-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  color: var(--text-primary, #e2e8f0);
  white-space: nowrap;
}

.device-type-badge--sidebar {
  font-size: 0.68rem;
  margin-top: 0.15rem;
}

.sidebar-device-type {
  margin: 0.1rem 0 0.2rem;
}

.dr-action-btns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.dr-btn-edit {
  padding: 4px 8px !important;
  line-height: 1 !important;
  min-width: 0;
}

.device-rows-table--bulk .dr-w-note { width: 22%; }
.device-rows-table--bulk .dr-w-spec { width: 12%; }

.dr-num {
  text-align: center;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.95);
  font-variant-numeric: tabular-nums;
}

.dr-td-device {
  line-height: 1.2;
  min-width: 0;
}

.dr-device-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.25;
}

.dr-device-line .dr-brand {
  display: inline;
  font-weight: 700;
  font-size: 11px;
}

.dr-device-line .dr-model {
  display: inline;
  font-size: 10px;
  color: var(--text-muted);
}

.dr-device-line .dr-sep {
  opacity: 0.45;
}

.dr-th-del {
  text-align: center;
}

.dr-td-del {
  text-align: center;
  vertical-align: middle;
}

.dr-btn-del {
  padding: 4px 8px !important;
  line-height: 1 !important;
  min-width: 0;
}

.dr-brand {
  display: block;
  font-weight: 700;
  font-size: 11px;
}
.dr-model {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-td-mono {
  font-family: ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
}

.dr-clip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-note {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 26px;
  height: 26px;
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  font: inherit;
  font-size: 11px;
  line-height: 1.3;
  resize: none;
  overflow: hidden;
}

.dr-note:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.45);
}

.device-rows-table .dr-note.admin-defects-input {
  min-height: 26px;
  height: 26px;
  resize: none;
}

.dr-ro {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-ro--notes {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.35;
  max-height: 2.85em;
}

.dr-ro--start-price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.95);
}

.dr-td-money {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 11px;
}

.dr-inp-num {
  width: 100%;
  max-width: 76px;
  box-sizing: border-box;
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  font-size: 11px;
}

.dr-photo-cell {
  position: relative;
  min-width: 0;
}

.dr-photo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

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

.dr-photo-btn-upload,
.dr-photo-btn-gallery {
  padding: 4px 10px !important;
  line-height: 1.2 !important;
  font-size: 11px !important;
}

.dr-photo-cell--off .dr-photo-btn-upload {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(1);
}

.dr-photo-gallery-count {
  font-variant-numeric: tabular-nums;
}

.dr-td-photos {
  vertical-align: middle;
}

.dr-photo-thumb-link {
  display: flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

button.dr-photo-thumb-link:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.dr-photo-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  display: block;
}

.dr-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: rgba(148, 163, 184, 0.75);
  font-size: 14px;
  flex-shrink: 0;
}

/* Lightbox navigare poze din rând (admin draft) */
body.dr-row-photo-lb-open {
  overflow: hidden;
}

.dr-row-photo-lb {
  position: fixed;
  inset: 0;
  z-index: 100610;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  box-sizing: border-box;
}

.dr-row-photo-lb[hidden] {
  display: none !important;
}

.dr-row-photo-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.88);
  backdrop-filter: blur(8px);
}

.dr-row-photo-lb__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(22, 28, 44, 0.97), rgba(15, 23, 42, 0.95));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.dr-row-photo-lb__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  z-index: 2;
}

.dr-row-photo-lb__close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.dr-row-photo-lb__title {
  margin: 0;
  padding-right: 48px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dr-row-photo-lb__counter {
  margin: 0;
  font-size: var(--font-sm);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.dr-row-photo-lb__stage {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: 200px;
}

.dr-row-photo-lb__stage--single .dr-row-photo-lb__nav {
  visibility: hidden;
  pointer-events: none;
}

.dr-row-photo-lb__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
}

.dr-row-photo-lb__nav:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(165, 180, 252, 0.4);
}

.dr-row-photo-lb__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dr-row-photo-lb__img-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: min(72vh, 720px);
}

.dr-row-photo-lb__img-wrap img {
  max-width: 100%;
  max-height: min(72vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.dr-row-photo-lb__hint {
  margin: 0;
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.dr-row-photo-lb__hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-family: inherit;
}

.dr-row-photo-lb__open-tab {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dr-row-photo-lb__open-tab:hover {
  color: #c7d2fe;
}

/* Modal galerie poze (draft sesiune) */
body.gsm-photo-gallery-modal-open {
  overflow: hidden;
}

.gsm-photo-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  box-sizing: border-box;
}

.gsm-photo-gallery-modal[hidden] {
  display: none !important;
}

.gsm-photo-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.82);
  backdrop-filter: blur(10px);
}

.gsm-photo-gallery-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(22, 28, 44, 0.96), rgba(15, 23, 42, 0.94));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.gsm-photo-gallery-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gsm-photo-gallery-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.gsm-photo-gallery-modal__close {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gsm-photo-gallery-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.gsm-photo-gallery-modal__sub {
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-lg) 0;
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.gsm-photo-gallery-grid {
  padding: var(--spacing-md) var(--spacing-lg);
  overflow-y: auto;
  flex: 1;
  min-height: 120px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  align-content: start;
}

.gsm-photo-gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-sm);
  padding: var(--spacing-lg);
}

.gsm-photo-gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

.gsm-photo-gallery-card__open {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: zoom-in;
  line-height: 0;
  background: transparent;
}

.gsm-photo-gallery-card__open img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.gsm-photo-gallery-card__del {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 4px 7px !important;
  line-height: 1 !important;
  font-size: 11px !important;
  opacity: 0.95;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.gsm-photo-gallery-modal__footer {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gsm-photo-gallery-modal__file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gsm-photo-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 100620;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  box-sizing: border-box;
}

.gsm-photo-gallery-viewer[hidden] {
  display: none !important;
}

.gsm-photo-gallery-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.gsm-photo-gallery-viewer__frame {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: min(90vh, 900px);
}

.gsm-photo-gallery-viewer__frame img {
  display: block;
  max-width: min(96vw, 1100px);
  max-height: min(86vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.gsm-photo-gallery-viewer__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

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

.dr-adj-ok {
  font-size: 10px;
  font-weight: 600;
  color: #86efac;
  line-height: 1.25;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-bid-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.dr-bid-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.dr-bid-name {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-bid-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #c7d2fe;
}

.dr-lead {
  color: #fbbf24;
  font-size: 9px;
}

/* În <td>, nu folosi display:flex (rupe coloanele tabular). Inner wrapper în modal licitatori. */
.dr-bidders-phone-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-xs);
  min-width: 0;
}

.dr-bidders-phone-inner .btn-whatsapp-mini {
  flex-shrink: 0;
}

.dr-bid-phone-num {
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

/* Modal licitatori dispozitiv: grid stabil + refuz adjudicare */
.dr-phone-bidders-table {
  table-layout: fixed;
  width: 100%;
}

.dr-phone-bidders-table th,
.dr-phone-bidders-table td {
  vertical-align: top;
}

.dr-phone-bidders-table th:nth-child(1),
.dr-phone-bidders-table td:nth-child(1) {
  width: 34%;
  word-break: break-word;
}

.dr-phone-bidders-table th:nth-child(2),
.dr-phone-bidders-table td:nth-child(2) {
  width: 40%;
}

.dr-phone-bidders-table th:nth-child(3),
.dr-phone-bidders-table td:nth-child(3) {
  width: 26%;
}

.dr-phone-bidders-table tr.dr-bid-refused-row {
  background: rgba(239, 68, 68, 0.09);
}

.dr-phone-bidders-table .dr-bid-licitator-inner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}

.dr-phone-bidders-table tr.dr-bid-refused-row .dr-bid-licitator-name {
  color: #f87171;
  font-weight: 600;
}

.dr-bid-refused-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.95);
  color: #fecaca;
  font-size: 0.65rem;
  line-height: 1;
  border: 1px solid rgba(254, 202, 202, 0.35);
}

.dr-bid-refused-badge .fa-times {
  line-height: 1;
}

.btn.btn-outline.btn-whatsapp-mini {
  border-color: rgba(37, 211, 102, 0.5);
  color: #34d366;
}

.btn.btn-outline.btn-whatsapp-mini:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25d366;
  color: #4ade80;
}

.dr-adj-mini {
  padding: 2px 7px !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
}

.dr-done {
  font-size: 10px;
  font-weight: 700;
  color: #86efac;
}

.dr-hint {
  color: var(--text-muted);
  letter-spacing: 2px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: center;
}

.admin-input--filter {
  min-width: 200px;
  max-width: 320px;
}

.admin-input--filter-select {
  min-width: 160px;
}

.admin-mini-input {
  width: 100%;
  max-width: 88px;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-sm);
}

.admin-mini-input:focus {
  outline: none;
  border-color: var(--primary);
}

.admin-phones-table {
  font-size: var(--font-xs);
}

.admin-phones-table th,
.admin-phones-table td {
  white-space: nowrap;
}

.admin-phones-table .admin-phone-bidders-cell {
  white-space: normal;
  min-width: 210px;
  max-width: 300px;
  vertical-align: top;
}

.admin-phone-bidder-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-phone-bidder-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
}

.admin-phone-bidder-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--font-xs);
}

.admin-phone-bidder-name {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.admin-phone-bidder-amt {
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.admin-bidder-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-top: 2px;
  width: fit-content;
}

.admin-bidder-badge--leader {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.admin-adj-hint {
  font-size: var(--font-xs);
  max-width: 9rem;
  line-height: 1.35;
  display: inline-block;
}

.admin-adj-hint i {
  margin-right: 4px;
  opacity: 0.85;
}

.admin-phone-bidder-item .btn-sm {
  flex-shrink: 0;
  align-self: center;
}

.admin-phones-table .defects-cell {
  white-space: normal;
  max-width: 140px;
}

.admin-phones-table .defects-cell:has(.admin-defects-input) {
  max-width: 320px;
  min-width: 200px;
}

.admin-defects-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  font: inherit;
  font-size: var(--font-xs);
  line-height: 1.35;
  resize: vertical;
}

.admin-defects-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.admin-micro-hint {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.badge-src {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.25);
  color: #ddd6fe;
}

.adj-label {
  font-size: var(--font-xs);
  color: var(--success-light);
}

.adj-label i {
  margin-right: 4px;
}

.text-success {
  color: var(--success-light);
  font-weight: 600;
  font-size: var(--font-sm);
}

.admin-bids-panel {
  width: 100%;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-3xl);
}

.panel-header {
  margin-bottom: var(--spacing-md);
}

.panel-header .section-title {
  margin-bottom: 0;
  justify-content: flex-start;
}

.empty-msg {
  color: var(--text-muted);
  font-size: var(--font-sm);
  margin: 0;
  padding: var(--spacing-md) 0;
}

.admin-table-shell--tight {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .gsm-session-actions .admin-actions-bar.gsm-session-actions__bar {
    flex-direction: row;
    align-items: stretch;
  }
  .gsm-session-actions .gsm-session-actions__track {
    overflow: visible;
  }
  .gsm-session-actions .gsm-session-actions__rail {
    flex-wrap: nowrap !important;
    justify-content: space-between;
  }
}

/* --- Admin: stoc anexe (taburi + căutare live) --- */
.stock-anexe-page .stock-anexe-hero {
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.stock-anexe-hero__row {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.stock-anexe-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.stock-anexe-back:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

.stock-anexe-hero__titles {
  flex: 1;
  min-width: 200px;
}

.stock-anexe-title {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stock-anexe-tagline {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.45;
}

.stock-anexe-banner-hint {
  margin: 8px 0 0;
  font-size: var(--font-xs);
  color: #fcd34d;
}

.stock-anxe-inline-alert {
  margin-top: var(--spacing-md);
}

.stock-anexe-tabs-wrap {
  width: 100%;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--glass-border);
}

.stock-anexe-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.stock-anexe-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-secondary);
  font: inherit;
  font-size: var(--font-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.stock-anexe-tab:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text-primary);
}

.stock-anexe-tab.is-active {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.22);
  color: var(--primary-light);
}

.stock-anexe-tab__n {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-tertiary);
}

.stock-anexe-tab.is-active .stock-anexe-tab__n {
  background: rgba(99, 102, 241, 0.4);
  color: #fff;
}

.stock-anexe-tab__name {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.stock-anexe-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.stock-anexe-search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.stock-anexe-search i {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stock-anexe-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: var(--font-sm);
}

.stock-anexe-search input::placeholder {
  color: var(--text-muted);
}

.stock-anexe-search input:focus {
  outline: none;
}

.stock-anexe-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-tertiary);
  font: inherit;
  font-size: var(--font-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.stock-chip--active {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.stock-anexe-reset.btn-sm {
  padding: 8px 12px;
  font-size: var(--font-xs);
}

.stock-anexe-meta {
  margin: 0;
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.stock-draft-card {
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.stock-draft-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.stock-draft-card__title {
  font-size: var(--font-md);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-select-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.stock-select-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm) var(--spacing-md);
}

.stock-selection-banner {
  margin: 0 0 var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.stock-selection-banner .btn-link {
  padding: 0;
  margin-left: var(--spacing-sm);
  vertical-align: baseline;
}

.stock-selected-count-banner {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.stock-selected-count-banner i {
  color: rgba(16, 185, 129, 0.9);
}

.stock-selected-count-banner strong {
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  font-size: 1.05em;
}

.stock-selected-count-banner.is-zero strong {
  color: var(--text-muted);
  font-weight: 600;
}

.stock-selected-count-banner__note {
  font-size: var(--font-xs);
  opacity: 0.88;
}

.stock-draft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--spacing-md);
  align-items: end;
}

.stock-draft-field--grow {
  grid-column: span 2;
  min-width: 0;
}

@media (max-width: 720px) {
  .stock-draft-field--grow {
    grid-column: span 1;
  }
}

.stock-draft-label {
  display: block;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stock-draft-actions {
  display: flex;
  align-items: flex-end;
}

.stock-btn-add {
  width: 100%;
  min-height: 42px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.stock-draft-hint {
  margin: var(--spacing-md) 0 0;
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.stock-empty-cell {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md) !important;
  color: var(--text-muted);
}

.stock-flip-col {
  vertical-align: top;
  white-space: normal;
}

.stock-flip-proc-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  max-width: 220px;
}

.stock-flip-proc-meta {
  font-size: var(--font-xs);
  line-height: 1.35;
  color: var(--text-muted);
}

.stock-flip-proc-btn {
  border-color: rgba(34, 197, 94, 0.42) !important;
  color: rgba(187, 247, 208, 0.95) !important;
}

.stock-flip-proc-btn:hover {
  border-color: rgba(34, 197, 94, 0.65) !important;
  background: rgba(22, 163, 74, 0.12) !important;
}

body.stock-flip-staging-modal-open {
  overflow: hidden;
}

.stock-flip-staging-modal {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-bottom));
}

.stock-flip-staging-modal[hidden] {
  display: none !important;
}

.stock-flip-staging-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 22, 0.74);
  backdrop-filter: blur(6px);
}

.stock-flip-staging-modal__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
}

.stock-flip-staging-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.stock-flip-staging-modal__title {
  margin: 0;
  font-size: 1.12rem;
}

.stock-flip-staging-modal__sub {
  margin: 6px 0 0;
  font-size: var(--font-sm);
  opacity: 0.85;
  line-height: 1.45;
}

.stock-flip-staging-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(6, 10, 26, 0.45);
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stock-flip-staging-modal__close:hover {
  border-color: rgba(148, 163, 184, 0.38);
}

.stock-flip-staging-modal__scroll {
  overflow: auto;
  padding: var(--spacing-md) var(--spacing-lg);
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.stock-flip-staging-modal__section {
  margin-bottom: var(--spacing-lg);
}

.stock-flip-staging-modal__h3 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.stock-flip-staging-modal__dl {
  margin: 0;
}

.stock-flip-staging-modal__row {
  display: grid;
  grid-template-columns: minmax(96px, 120px) 1fr;
  gap: 8px 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.stock-flip-staging-modal__row:last-child {
  border-bottom: 0;
}

.stock-flip-staging-modal__row dt {
  font-weight: 600;
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}

.stock-flip-staging-modal__row dd {
  margin: 0;
  font-size: var(--font-sm);
  white-space: pre-wrap;
  word-break: break-word;
}

.stock-flip-staging-modal__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.stock-flip-staging-modal__ph {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.stock-flip-staging-modal__ph img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.stock-flip-staging-modal__err {
  color: #fecaca;
  font-weight: 600;
}

.stock-anexe-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: var(--spacing-xl) 0;
}

.admin-phones-section--bulk .field-hint {
  font-size: var(--font-xs);
}

/* Modal termeni licitație (înainte de prima ofertă pe sesiune) */
.auction-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 100400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(var(--spacing-md), env(safe-area-inset-top, 0px))
    max(var(--spacing-lg), env(safe-area-inset-right, 0px))
    max(var(--spacing-md), env(safe-area-inset-bottom, 0px))
    max(var(--spacing-lg), env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}
.auction-terms-modal[hidden] {
  display: none !important;
}
.auction-terms-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 22, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.auction-terms-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(92dvh, 880px);
  overflow: hidden;
  padding: var(--spacing-xl) var(--spacing-xl) 0;
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.auction-terms-modal__panel--framed {
  border: 3px solid #dc2626;
  box-shadow:
    0 0 0 2px rgba(220, 38, 38, 0.45),
    0 0 48px rgba(220, 38, 38, 0.22),
    0 28px 72px rgba(0, 0, 0, 0.5);
}
.auction-terms-modal__panel.card {
  margin-bottom: 0;
  padding: var(--spacing-xl) var(--spacing-xl) 0;
}
.auction-terms-modal__title {
  margin: 0 0 10px;
  flex-shrink: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary, #f8fafc);
}
.auction-terms-modal__subtitle {
  margin: 0 0 var(--spacing-md);
  flex-shrink: 0;
  font-size: var(--font-md, 1rem);
  font-weight: 600;
  color: var(--text-primary, #e2e8f0);
  line-height: 1.55;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
}
.auction-terms-modal__dots {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0 0 var(--spacing-md);
  padding: 0;
  justify-content: center;
  flex-shrink: 0;
}
.auction-terms-modal__dots li {
  margin: 0;
}
.auction-terms-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.08);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: default;
  opacity: 0.85;
}
.auction-terms-dot.is-active {
  border-color: #f87171;
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.55), rgba(185, 28, 28, 0.4));
  color: #fff;
  opacity: 1;
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.45);
}
.auction-terms-modal__panes {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 2px;
  margin-bottom: var(--spacing-sm);
}
.auction-terms-pane[hidden] {
  display: none !important;
}
.auction-terms-pane__title {
  margin: 0 0 var(--spacing-md);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary, #f1f5f9);
  text-transform: none;
}
.auction-terms-pane__title i {
  opacity: 1;
  color: #f87171;
}
.auction-terms-pane__lead {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-md, 1rem);
  font-weight: 600;
  color: var(--text-primary, #e2e8f0);
  line-height: 1.6;
}
.auction-terms-pane__lead a {
  color: #fecaca;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auction-terms-pane__lead a:hover {
  color: #fff;
}
.auction-terms-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-md, 1rem);
  line-height: 1.55;
  color: var(--text-primary, #f1f5f9);
}
.auction-terms-list li {
  margin-bottom: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #dc2626;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.auction-terms-list li strong {
  color: #fecaca;
  font-weight: 800;
}
.auction-terms-list li:last-child {
  margin-bottom: 0;
}
.auction-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: var(--spacing-md);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.14);
  border: 2px solid rgba(220, 38, 38, 0.45);
  font-size: var(--font-md, 1rem);
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  color: var(--text-primary, #f8fafc);
}
.auction-terms-check input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #dc2626;
}
.auction-terms-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-top: auto;
  padding: var(--spacing-md) var(--spacing-xl)
    max(var(--spacing-lg), env(safe-area-inset-bottom, 0px));
  border-top: 2px solid rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.96) 28%, rgba(15, 23, 42, 0.98) 100%);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 2;
}
.auction-terms-modal__actions .btn {
  min-height: 46px;
}
.auction-terms-modal__actions #auctionTermsNext,
.auction-terms-modal__actions #auctionTermsAccept {
  flex: 1 1 auto;
  min-width: min(100%, 9.5rem);
}
.auction-terms-modal__actions #auctionTermsBack {
  flex: 0 1 auto;
}
.auction-terms-modal__actions-spacer {
  flex: 1;
  min-width: 8px;
}
/* Pașii 1–2: doar Înapoi + Continuă — .btn forțează display și poate ignora [hidden] */
#auctionTermsNext[hidden],
#auctionTermsAccept[hidden],
.auction-terms-modal__btn-accept[hidden] {
  display: none !important;
}
.auction-terms-modal .auction-terms-modal__btn-accept:not([hidden]) {
  min-height: 48px;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-md, 1rem);
  font-weight: 800;
}
body.auction-page-body--terms-modal {
  overflow: hidden;
}

@media (max-width: 640px) {
  .auction-terms-modal {
    padding: 0;
    align-items: stretch;
  }
  .auction-terms-modal__panel,
  .auction-terms-modal__panel.card {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    padding: max(14px, env(safe-area-inset-top, 0px)) 14px 0;
  }
  .auction-terms-modal__panel--framed {
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .auction-terms-modal__title {
    font-size: 1.25rem;
  }
  .auction-terms-modal__subtitle {
    font-size: 0.92rem;
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .auction-terms-modal__dots {
    gap: 8px;
    margin-bottom: 12px;
  }
  .auction-terms-dot {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }
  .auction-terms-pane__title {
    font-size: 1.05rem;
  }
  .auction-terms-list li {
    padding: 12px 14px;
    font-size: 0.92rem;
  }
  .auction-terms-modal__actions {
    padding-left: 14px;
    padding-right: 14px;
    gap: 10px;
  }
  .auction-terms-modal__actions-spacer {
    display: none;
  }
  .auction-terms-modal__actions #auctionTermsBack {
    order: 1;
    flex: 1 1 calc(50% - 5px);
  }
  .auction-terms-modal__actions #auctionTermsNext,
  .auction-terms-modal__actions #auctionTermsAccept {
    order: 2;
    flex: 1 1 calc(50% - 5px);
  }
  .auction-terms-modal__actions #auctionTermsAccept:not([hidden]) {
    flex: 1 1 100%;
    order: 2;
  }
}

/* Ecran succes: oferte plasate la toate dispozitivele (licitație individuală) */
.auction-all-done-modal {
  position: fixed;
  inset: 0;
  z-index: 100450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  box-sizing: border-box;
}
.auction-all-done-modal[hidden] {
  display: none !important;
}
.auction-all-done-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 12, 0.82);
  backdrop-filter: blur(8px);
}
.auction-all-done-modal__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  margin: 0;
  border-radius: var(--radius-lg);
  border: 3px solid #22c55e;
  box-shadow:
    0 0 0 2px rgba(34, 197, 94, 0.35),
    0 0 48px rgba(34, 197, 94, 0.2),
    0 28px 72px rgba(0, 0, 0, 0.45);
}
.auction-all-done-modal__icon {
  font-size: 3.25rem;
  color: #4ade80;
  margin-bottom: var(--spacing-md);
  line-height: 1;
}
.auction-all-done-modal__title {
  margin: 0 0 var(--spacing-sm);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary, #f8fafc);
}
.auction-all-done-modal__text {
  margin: 0 0 var(--spacing-lg);
  font-size: var(--font-md, 1rem);
  line-height: 1.55;
  color: var(--text-secondary, #cbd5e1);
}
.auction-all-done-modal__text strong {
  color: #86efac;
  font-weight: 800;
}
.auction-all-done-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 520px) {
  .auction-all-done-modal__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.auction-all-done-modal__actions .btn {
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
}
a.auction-all-done-modal__btn-home {
  text-decoration: none;
  box-sizing: border-box;
}
.auction-all-done-modal__btn-home {
  flex: 1 1 auto;
  min-width: min(220px, 100%);
}
.auction-all-done-modal__btn-stay {
  flex: 1 1 auto;
  min-width: min(220px, 100%);
}
body.auction-page-body--all-done-modal {
  overflow: hidden;
}

/* ─── Admin: tablou sesiune (statistici + grafice) ───────────────────────── */
.admin-session-dashboard {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-xl);
  overflow: hidden;
}

.session-dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
}

.session-dash-title {
  margin-bottom: 6px;
}

.session-dash-sub {
  margin: 0;
  color: var(--text-secondary, #94a3b8);
  font-size: var(--font-sm);
  max-width: 36rem;
  line-height: 1.5;
}

.session-dash-countdown-card {
  min-width: min(100%, 280px);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--glass-border);
}

.session-dash-countdown-card--live {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.7));
}

.session-dash-countdown-card--muted {
  opacity: 0.85;
}

.session-dash-countdown-label {
  display: block;
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.session-dash-countdown {
  font-size: 1.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #86efac;
}

.session-dash-countdown--static {
  font-size: var(--font-md);
  font-weight: 700;
  color: var(--text-primary);
}

.session-dash-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.session-dash-kpi {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.session-dash-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.35);
}

.session-dash-kpi--primary {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.12));
  border-color: rgba(99, 102, 241, 0.35);
}

@media (max-width: 640px) {
  .session-dash-kpi--primary {
    grid-column: span 1;
  }
}

.session-dash-kpi__icon {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.session-dash-kpi__val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.session-dash-kpi__lbl {
  display: block;
  margin-top: 6px;
  font-size: var(--font-xs);
  color: var(--text-secondary);
  line-height: 1.35;
}

.session-dash-visual-row {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 900px) {
  .session-dash-visual-row {
    grid-template-columns: 1fr;
  }
}

.session-dash-donut-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
  justify-content: center;
}

.session-dash-donut {
  --cov: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    from -90deg,
    #6366f1 calc(var(--cov) * 3.6deg),
    rgba(148, 163, 184, 0.28) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.session-dash-donut__inner {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.session-dash-donut__pct {
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.session-dash-donut__hint {
  font-size: var(--font-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.session-dash-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--font-sm);
  line-height: 1.7;
}

.session-dash-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.session-dash-dot--on {
  background: #818cf8;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
}

.session-dash-dot--off {
  background: rgba(148, 163, 184, 0.45);
}

.session-dash-mini-title {
  margin: 0 0 var(--spacing-sm);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.session-dash-stacked-card {
  min-width: 0;
}

.session-dash-stacked {
  display: flex;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.session-dash-stacked__on {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: var(--font-xs);
  font-weight: 700;
  color: #052e16;
  text-align: center;
  transition: width 0.4s ease;
}

.session-dash-stacked__off {
  background: rgba(71, 85, 105, 0.45);
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: var(--font-xs);
  color: var(--text-secondary);
}

/* Un singur segment (celălalt contor e zero): ocupă bara întreagă */
.session-dash-stacked__segment--solo {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
}

.session-dash-stacked__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.session-dash-stacked--binary {
  height: 48px;
}

.session-dash-stacked__on--full,
.session-dash-stacked__off--full {
  flex: 1;
  width: 100%;
}

.session-dash-stacked-card--wide {
  margin-top: var(--spacing-md);
}

.session-dash-hint {
  margin: var(--spacing-sm) 0 0;
  font-size: var(--font-xs);
  color: var(--text-tertiary);
  line-height: 1.45;
}

.session-dash-hint--tight {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.session-dash-bars-section {
  margin-bottom: var(--spacing-xl);
}

.session-dash-bars-scroll {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: var(--spacing-md);
  border-top: 1px solid var(--glass-border);
  padding-top: var(--spacing-md);
}

.session-dash-bar-row {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 28%) 72px;
  gap: 10px 14px;
  align-items: center;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 720px) {
  .session-dash-bar-row {
    grid-template-columns: 1fr;
  }
}

.session-dash-bar-meta {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.session-dash-bar-rank {
  font-size: var(--font-xs);
  font-weight: 800;
  color: var(--text-tertiary);
  text-align: center;
}

.session-dash-bar-label {
  min-width: 0;
  font-size: var(--font-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-dash-bar-idx {
  font-weight: 800;
  color: #a5b4fc;
  margin-right: 6px;
}

.session-dash-bar-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: var(--font-sm);
}

.session-dash-bar-count small {
  font-weight: 600;
  opacity: 0.75;
}

.session-dash-bar-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.session-dash-bar-fill {
  height: 100%;
  border-radius: 6px;
  min-width: 2px;
  transition: width 0.45s ease;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.session-dash-bar-fill--heat-0 {
  background: rgba(148, 163, 184, 0.35);
  box-shadow: none;
}

.session-dash-bar-fill--heat-1 {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
}

.session-dash-bar-fill--heat-2 {
  background: linear-gradient(90deg, #a78bfa, #6366f1);
}

.session-dash-bar-fill--heat-3 {
  background: linear-gradient(90deg, #f472b6, #c026d3, #6366f1);
  box-shadow: 0 0 16px rgba(192, 38, 211, 0.35);
}

.session-dash-bar-high {
  font-size: var(--font-xs);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #86efac;
}

.session-dash-bar-high--muted {
  color: var(--text-muted);
  font-weight: 600;
}

.session-dash-bars-section--leading-users {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--glass-border);
}

.session-dash-bar-row--clickable {
  cursor: pointer;
  transition: background 0.15s ease;
}

.session-dash-bar-row--clickable:hover,
.session-dash-bar-row--clickable:focus {
  background: rgba(99, 102, 241, 0.1);
  outline: none;
}

.session-dash-bar-row--clickable:focus-visible {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.45);
}

.session-edit-modal--leading-phones .session-edit-modal__panel--leading-phones {
  max-width: 720px;
  width: min(720px, 100vw - 2rem);
}

.session-edit-modal__body--leading-phones {
  max-height: min(70vh, 520px);
  overflow: auto;
}

.leading-user-phones-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.leading-user-phones-table th,
.leading-user-phones-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.leading-user-phones-table th {
  font-weight: 700;
  color: var(--text-secondary);
  position: sticky;
  top: 0;
  background: var(--bg-card, rgba(15, 23, 42, 0.92));
  z-index: 1;
}

.leading-user-phones-table td:last-child,
.leading-user-phones-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

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

.session-dash-bulk-note {
  margin: var(--spacing-md) 0 var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: var(--font-sm);
  line-height: 1.55;
  color: var(--text-secondary);
}

.session-dash-bulk-note p {
  margin: 0;
}

.session-dash-bulk-note i {
  margin-right: 8px;
  color: #60a5fa;
}

.session-dash-leading-sum {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.session-dash-leading-sum__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 42rem;
}

.session-dash-leading-sum__label {
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.session-dash-leading-sum__val {
  font-size: 1.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #6ee7b7;
  letter-spacing: -0.02em;
}

.session-dash-leading-sum__hint {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 700;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.badge-rejected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 700;
  background: rgba(248, 113, 113, 0.18);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.badge-approved-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 600;
  background: rgba(52, 211, 153, 0.12);
  color: #86efac;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.gsm-moderation-panel {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
}

/* Dashboard admin: organizator + Telegram în două badge-uri compacte */
.admin-dash-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: var(--spacing-lg);
}

.admin-dash-badge {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
}

.admin-dash-badge--org {
  background: rgba(99, 102, 241, 0.09);
  border-color: rgba(99, 102, 241, 0.22);
}

.admin-dash-badge--tg {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(99, 102, 241, 0.07) 100%);
  border-color: rgba(34, 211, 238, 0.2);
}

.admin-dash-badge__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #a5b4fc;
  font-size: 0.95rem;
}

.admin-dash-badge__icon--tg {
  color: #22d3ee;
}

.admin-dash-badge__body {
  min-width: 0;
}

.admin-dash-badge__body--grow {
  flex: 1;
}

.admin-dash-badge__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.admin-dash-badge__title {
  font-weight: 800;
  font-size: var(--font-sm);
  letter-spacing: -0.02em;
}

.admin-dash-badge__hint {
  margin: 0.2rem 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-muted);
}

.admin-dash-badge__pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.admin-dash-mini-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.admin-dash-mini-pill strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #e5e7eb;
  margin-left: 2px;
}

.admin-dash-badge__btn {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .admin-dash-badge__btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .admin-dash-badge {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-dash-badge__icon {
    display: none;
  }
}

.gsm-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  user-select: none;
}

.gsm-admin-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gsm-admin-toggle__ui {
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  position: relative;
  transition: background 0.2s ease;
}

.gsm-admin-toggle__ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.gsm-admin-toggle input:focus-visible + .gsm-admin-toggle__ui {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.45);
}

.gsm-admin-toggle input:checked + .gsm-admin-toggle__ui {
  background: rgba(99, 102, 241, 0.55);
}

.gsm-admin-toggle input:checked + .gsm-admin-toggle__ui::after {
  transform: translateX(18px);
}

.gsm-admin-toggle__lbl {
  font-weight: 600;
  font-size: var(--font-sm);
}

.gsm-admin-toggle--dense {
  gap: 0.35rem;
}

.gsm-admin-toggle--dense .gsm-admin-toggle__ui {
  width: 36px;
  height: 20px;
}

.gsm-admin-toggle--dense .gsm-admin-toggle__ui::after {
  width: 14px;
  height: 14px;
}

.gsm-admin-toggle--dense input:checked + .gsm-admin-toggle__ui::after {
  transform: translateX(16px);
}

.gsm-admin-toggle--dense .gsm-admin-toggle__lbl {
  font-size: 11px;
  white-space: nowrap;
}

.org-add-phone-panel {
  margin-bottom: var(--spacing-lg);
}

.req-star {
  color: #fb923c;
  font-weight: 800;
}

.org-storage-select {
  cursor: pointer;
}

/* ═══ Admin: Telegram broadcast modal + teaser card ═══ */
@keyframes tgBcBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes tgBcSheetIn {
  from {
    opacity: 0;
    transform: translateY(calc(12px + 2vh)) scale(0.965);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes tgBcRowReveal {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tgBcHeroGlow {
  0% {
    opacity: 0.45;
    transform: rotate(0deg) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: rotate(6deg) scale(1.04);
  }
  100% {
    opacity: 0.45;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes tgBcPulseOrb {
  0% {
    opacity: 0.35;
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.35);
  }
  55% {
    opacity: 0.95;
    transform: scale(1);
    box-shadow: 0 0 28px 4px rgba(34, 211, 238, 0.2);
  }
  100% {
    opacity: 0.35;
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.15);
  }
}

@keyframes tgBcSendBusy {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes tgBcShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes tgBcSweep {
  0% {
    translate: -100%;
    opacity: 0.5;
  }
  55% {
    translate: 0%;
    opacity: 0.18;
  }
  100% {
    translate: 100%;
    opacity: 0;
  }
}


/* Modal Telegram: tot sub #telegramBroadcastModal — înălțime fixă listă + scroll intern (fără :has). */
#telegramBroadcastModal.tg-bc-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  isolation: isolate;
}

#telegramBroadcastModal[hidden] {
  display: none !important;
}

#telegramBroadcastModal .tg-bc-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(99, 102, 241, 0.16), transparent 42%),
    rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: tgBcBackdropIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#telegramBroadcastModal.tg-bc-modal--open .tg-bc-modal__backdrop {
  opacity: 1;
}

#telegramBroadcastModal .tg-bc-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(15, 23, 42, 0.92) 40%,
    rgba(17, 24, 39, 0.96) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(34, 211, 238, 0.12);
  overflow: hidden;
  opacity: 0;
  animation: tgBcSheetIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
  outline: none;
}

#telegramBroadcastModal:not(.tg-bc-modal--open) .tg-bc-modal__backdrop,
#telegramBroadcastModal:not(.tg-bc-modal--open) .tg-bc-modal__sheet {
  animation: none;
}

#telegramBroadcastModal.tg-bc-modal--open .tg-bc-modal__sheet {
  opacity: 1;
}

#telegramBroadcastModal .tg-bc-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#telegramBroadcastModal .tg-bc-modal__close:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: rotate(90deg);
}

#telegramBroadcastModal .tg-bc-modal__hero {
  flex: 0 0 auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  padding-right: 3rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#telegramBroadcastModal .tg-bc-modal__hero-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: radial-gradient(ellipse 120% 80% at 0% 0%, rgba(34, 211, 238, 0.45), transparent 52%),
    radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.4), transparent 45%);
}

#telegramBroadcastModal .tg-bc-modal__hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 0.5rem;
}

#telegramBroadcastModal .tg-bc-modal__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(34, 211, 238, 0.16);
  color: #5eead4;
  border: 1px solid rgba(34, 211, 238, 0.35);
}

#telegramBroadcastModal .tg-bc-modal__live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.2);
  animation: tgBcPulseOrb 2.8s ease-in-out infinite;
}

#telegramBroadcastModal .tg-bc-modal__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  position: relative;
  letter-spacing: -0.02em;
}

#telegramBroadcastModal .tg-bc-modal__subtitle {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: var(--font-sm);
  position: relative;
}

#telegramBroadcastModal .tg-bc-modal__body {
  flex: 1 1 auto;
  box-sizing: border-box;
  min-height: 0;
  padding: 1rem clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#telegramBroadcastModal .tg-bc-toolbar {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

#telegramBroadcastModal .tg-bc-toolbar__main {
  flex: 1 1 220px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
}

#telegramBroadcastModal .tg-bc-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#telegramBroadcastModal .tg-bc-search-wrap {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.5);
  box-sizing: border-box;
}

#telegramBroadcastModal .tg-bc-search-wrap:focus-within {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

#telegramBroadcastModal .tg-bc-search-wrap__ico {
  opacity: 0.65;
}

#telegramBroadcastModal .tg-bc-search {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  color: inherit;
}

#telegramBroadcastModal .tg-bc-chip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

#telegramBroadcastModal .tg-bc-chip-toggle input[type='checkbox'] {
  accent-color: #22d3ee;
  width: 1rem;
  height: 1rem;
}

#telegramBroadcastModal .tg-bc-mode-banner {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}

#telegramBroadcastModal .tg-bc-mode-banner__pulse {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #22d3ee;
  animation: tgBcPulseOrb 3s infinite;
}

#telegramBroadcastModal .tg-bc-list-wrap {
  flex: 0 0 auto;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(11rem, 32vh, 22rem);
  max-height: 40vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#telegramBroadcastModal .tg-bc-user-list {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0.45rem;
  width: 100%;
  flex: 1 1 0%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Stare gol: setată de JS (.tg-bc-list-wrap--empty) — fără :has() */
#telegramBroadcastModal .tg-bc-list-wrap--empty .tg-bc-user-list {
  display: none !important;
}

#telegramBroadcastModal .tg-bc-list-wrap--empty .tg-bc-empty:not([hidden]) {
  flex: 1 1 auto;
  margin: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#telegramBroadcastModal .tg-bc-empty:not([hidden]) {
  padding: 1.75rem;
  text-align: center;
  color: var(--text-secondary);
}

#telegramBroadcastModal .tg-bc-empty[hidden] {
  display: none !important;
}

#telegramBroadcastModal .tg-bc-row {
  margin-bottom: 0.38rem;
  animation: tgBcRowReveal 0.43s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#telegramBroadcastModal .tg-bc-row__hit {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 11px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
  color: inherit;
  font: inherit;
}

#telegramBroadcastModal .tg-bc-row__hit:hover:not(.tg-bc-row__hit--disabled) {
  transform: translateX(3px);
  border-color: rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.07);
}

#telegramBroadcastModal .tg-bc-row__hit.tg-bc-row--on {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.12), inset 0 0 0 1px rgba(34, 211, 238, 0.15);
}

#telegramBroadcastModal .tg-bc-row__hit--disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

#telegramBroadcastModal .tg-bc-row__check input {
  width: 18px;
  height: 18px;
  accent-color: #22d3ee;
}

#telegramBroadcastModal .tg-bc-row__main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

#telegramBroadcastModal .tg-bc-row__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  overflow: hidden;
  background: linear-gradient(140deg, #6366f1, #22c55e);
  display: grid;
  place-items: center;
}

#telegramBroadcastModal .tg-bc-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#telegramBroadcastModal .tg-bc-row__avatar-letters {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
}

#telegramBroadcastModal .tg-bc-row__textcol {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

#telegramBroadcastModal .tg-bc-row__textcol strong {
  font-weight: 700;
}

#telegramBroadcastModal .tg-bc-row__textcol small {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#telegramBroadcastModal .tg-bc-row__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

#telegramBroadcastModal .tg-bc-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

#telegramBroadcastModal .tg-bc-badge--ok {
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.14);
}

#telegramBroadcastModal .tg-bc-badge--muted {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

#telegramBroadcastModal .tg-bc-badge--ban {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

#telegramBroadcastModal .tg-bc-skeleton-stack {
  position: absolute;
  inset: 0.45rem;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#telegramBroadcastModal .tg-bc-skeleton-stack[hidden] {
  display: none !important;
}

#telegramBroadcastModal .tg-bc-skel {
  height: 54px;
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: tgBcShimmer 1.05s infinite linear;
}

#telegramBroadcastModal .tg-bc-compose {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

#telegramBroadcastModal .tg-bc-compose__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: var(--font-sm);
  margin-bottom: 0.35rem;
}

#telegramBroadcastModal .tg-bc-textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem;
  resize: vertical;
  min-height: 120px;
  max-height: 40vh;
  font: inherit;
  background: rgba(15, 23, 42, 0.45);
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#telegramBroadcastModal .tg-bc-textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

#telegramBroadcastModal .tg-bc-compose__footer {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

#telegramBroadcastModal .tg-bc-counter {
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
  font-size: var(--font-sm);
}

#telegramBroadcastModal .tg-bc-send-btn {
  padding-inline: 1.35rem;
  position: relative;
  overflow: hidden;
}

#telegramBroadcastModal .tg-bc-send-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

#telegramBroadcastModal .tg-bc-send-btn:hover:not(:disabled)::before {
  animation: tgBcSweep 0.9s ease;
}

#telegramBroadcastModal .tg-bc-send-btn--busy .tg-bc-send-btn__inner .fa-paper-plane {
  display: inline-block;
  animation: tgBcSendBusy 0.72s linear infinite;
}

#telegramBroadcastModal .tg-bc-result {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 11px;
  font-size: var(--font-sm);
  font-weight: 600;
}

#telegramBroadcastModal .tg-bc-result[hidden] {
  display: none !important;
}

#telegramBroadcastModal .tg-bc-result--ok {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

#telegramBroadcastModal .tg-bc-result--err {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.32);
}

/* Popup după login: îndemn legare Telegram (utilizatori fără telegramChatId) */
.tg-nudge-modal[hidden] {
  display: none !important;
}

.tg-nudge-modal {
  position: fixed;
  inset: 0;
  z-index: 100100;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(var(--spacing-md), env(safe-area-inset-top, 0px)) max(var(--spacing-md), env(safe-area-inset-right, 0px))
    max(var(--spacing-md), env(safe-area-inset-bottom, 0px)) max(var(--spacing-md), env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.tg-nudge-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tg-nudge-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 15, 28, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tg-nudge-modal__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tg-nudge-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.tg-nudge-modal__close:hover {
  background: rgba(239, 68, 68, 0.2);
}

.tg-nudge-modal__accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a78bfa);
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

.tg-nudge-modal__body {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.tg-nudge-modal__icon-wrap {
  width: 4rem;
  height: 4rem;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.35), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.35);
}

.tg-nudge-modal__icon {
  font-size: 2rem;
  color: #5eead4;
}

.tg-nudge-modal__title {
  margin: 0 0 var(--spacing-md);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.3;
}

.tg-nudge-modal__desc {
  margin: 0 0 var(--spacing-md);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  line-height: 1.55;
  text-align: left;
}

.tg-nudge-modal__bot {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin: 0 0 var(--spacing-md);
}

.tg-nudge-modal__warn {
  font-size: var(--font-sm);
  color: #fcd34d;
  margin: 0 0 var(--spacing-md);
  text-align: left;
}

.tg-nudge-modal__warn code {
  font-size: 0.82em;
}

.tg-nudge-modal__actions-row {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.tg-nudge-modal__actions-row .btn-xl {
  width: 100%;
  justify-content: center;
}

.tg-nudge-code-wrap {
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(34, 211, 238, 0.24);
  text-align: left;
  margin-bottom: var(--spacing-md);
}

.tg-nudge-code-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-sm);
}

.tg-nudge-code-val {
  margin: 0 0 var(--spacing-sm);
}

.tg-nudge-code-val code {
  font-size: 1.1rem;
  font-weight: 800;
  word-break: break-all;
}

.tg-nudge-code-exp {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.tg-nudge-deep {
  width: 100%;
  margin-bottom: var(--spacing-sm);
  justify-content: center;
}

.tg-nudge-recheck {
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .tg-nudge-modal {
    transition: none !important;
  }

  #telegramBroadcastModal .tg-bc-modal__backdrop,
  #telegramBroadcastModal .tg-bc-modal__sheet,
  #telegramBroadcastModal .tg-bc-modal__live-dot,
  #telegramBroadcastModal .tg-bc-mode-banner__pulse,
  #telegramBroadcastModal .tg-bc-row,
  #telegramBroadcastModal .tg-bc-skel,
  #telegramBroadcastModal .tg-bc-send-btn:hover:not(:disabled)::before {
    animation: none !important;
  }

  #telegramBroadcastModal .tg-bc-modal__backdrop {
    opacity: 1;
  }

  #telegramBroadcastModal .tg-bc-modal__sheet {
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   Admin director utilizatori (/admin/users) — registry premium
   ════════════════════════════════════════════════════════════════════════════ */

.gsm-admin-users-page {
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(129, 140, 248, 0.14), transparent 62%),
    radial-gradient(900px 500px at 108% 12%, rgba(6, 182, 212, 0.09), transparent 58%),
    radial-gradient(800px 400px at 50% 108%, rgba(251, 191, 36, 0.045), transparent 52%),
    #0a0c14;
  min-height: 100vh;
  /* Logo nav .nav-brand-logo--ltg = 44px + padding vertical navbar + bordură */
  --gsm-public-navbar-strip: calc(44px + 2 * var(--spacing-md) + 1px);
}

.gsm-admin-users {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--gsm-public-navbar-strip) + var(--spacing-md));
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
  padding-bottom: calc(var(--spacing-2xl) + 20px);
}

.gsm-admin-users__masthead {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.gsm-admin-users__masthead-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(99, 102, 241, 0.22) 0%, rgba(17, 24, 39, 0.94) 42%, rgba(6, 182, 212, 0.1) 100%);
  opacity: 1;
}

.gsm-admin-users__masthead-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
}

@media (min-width: 640px) {
  .gsm-admin-users__masthead-inner {
    align-items: center;
  }
}

.gsm-admin-users__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.gsm-admin-users__h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  background: linear-gradient(90deg, #f8fafc 0%, #cbd5e1 52%, #818cf8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gsm-admin-users__subtitle {
  margin: var(--spacing-sm) 0 0;
  max-width: 56ch;
  font-size: var(--font-sm);
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.55;
}

.gsm-admin-users__masthead-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.45), rgba(99, 102, 241, 0.28));
  border: 1px solid rgba(224, 231, 255, 0.28);
  box-shadow: 0 12px 44px rgba(99, 102, 241, 0.35);
  min-width: 120px;
}

.gsm-admin-users__masthead-count {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f8fafc;
  text-shadow: 0 10px 38px rgba(99, 102, 241, 0.85);
}

.gsm-admin-users__masthead-lbl {
  margin-top: 6px;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(224, 231, 255, 0.92);
}

.gsm-admin-users__kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.gsm-admin-users__kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: var(--spacing-md) var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 17, 31, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gsm-admin-users__kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.gsm-admin-users__kpi > i {
  font-size: 1.1rem;
  opacity: 0.95;
}

.gsm-admin-users__kpi-val {
  font-size: var(--font-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.gsm-admin-users__kpi-lbl {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.86;
}

.gsm-admin-users__kpi--violet {
  border-color: rgba(165, 180, 252, 0.38);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
}
.gsm-admin-users__kpi--violet i {
  color: #a5b4fc;
}
.gsm-admin-users__kpi--violet .gsm-admin-users__kpi-val {
  color: #e0e7ff;
}

.gsm-admin-users__kpi--cyan {
  border-color: rgba(103, 232, 249, 0.38);
}
.gsm-admin-users__kpi--cyan i {
  color: #22d3ee;
}
.gsm-admin-users__kpi--cyan .gsm-admin-users__kpi-val {
  color: #ecfeff;
}

.gsm-admin-users__kpi--emerald {
  border-color: rgba(110, 231, 183, 0.35);
}
.gsm-admin-users__kpi--emerald i {
  color: #34d399;
}
.gsm-admin-users__kpi--emerald .gsm-admin-users__kpi-val {
  color: #d1fae5;
}

.gsm-admin-users__kpi--amber {
  border-color: rgba(253, 224, 71, 0.32);
}
.gsm-admin-users__kpi--amber i {
  color: #facc15;
}
.gsm-admin-users__kpi--amber .gsm-admin-users__kpi-val {
  color: #fefce8;
}

.gsm-admin-users__kpi--rose {
  border-color: rgba(251, 207, 232, 0.35);
}
.gsm-admin-users__kpi--rose i {
  color: #f472b6;
}
.gsm-admin-users__kpi--rose .gsm-admin-users__kpi-val {
  color: #fce7f3;
}

.gsm-admin-users__kpi--slate {
  border-color: rgba(148, 163, 184, 0.22);
  color: rgba(226, 232, 240, 0.95);
}
.gsm-admin-users__kpi--warn.gsm-admin-users__kpi--slate i {
  color: #f87171;
}

.gsm-admin-users__search-panel {
  margin-bottom: var(--spacing-lg);
}

.gsm-admin-users__search {
  display: block;
  position: relative;
  max-width: min(720px, 100%);
}

.gsm-admin-users__search-input {
  width: 100%;
  padding: 1.05rem 1.15rem 1.05rem 3.15rem;
  font-size: var(--font-md);
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(11, 16, 32, 0.72);
  color: var(--text-primary);
  outline: none;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.gsm-admin-users__search-input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.gsm-admin-users__search-input:focus {
  border-color: rgba(129, 140, 248, 0.82);
  background: rgba(12, 20, 40, 0.88);
  box-shadow:
    0 14px 50px rgba(99, 102, 241, 0.28),
    0 0 0 4px rgba(99, 102, 241, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.gsm-admin-users__search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(129, 140, 248, 0.95);
  font-size: 1.1rem;
  pointer-events: none;
}

.gsm-admin-users__search-glow {
  display: none;
}

.gsm-admin-users__filter-meta {
  margin: var(--spacing-sm) 0 0 0.35rem;
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(186, 230, 253, 0.65);
}

.gsm-admin-users__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: var(--spacing-lg);
}

.gsm-admin-user-card {
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.gsm-admin-user-card--banned .gsm-admin-user-card__shell {
  border-color: rgba(248, 113, 113, 0.38);
  box-shadow:
    0 16px 48px rgba(185, 28, 28, 0.18),
    inset 0 0 0 1px rgba(248, 113, 113, 0.12);
  opacity: 0.96;
}

.gsm-admin-user-card__shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg);
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.38) 0%, rgba(10, 14, 26, 0.92) 100%),
    rgba(8, 12, 24, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gsm-admin-user-card:hover {
  transform: translateY(-3px);
}

.gsm-admin-user-card__top {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.gsm-admin-user-card__avatar-slot {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(99, 102, 241, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.18);
}

.gsm-admin-user-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gsm-admin-user-card__avatar--fallback {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: var(--font-md);
  letter-spacing: 0.06em;
  color: #f1f5f9;
  background: linear-gradient(140deg, #6366f1 0%, #0ea5e9 55%, #22c55e 120%);
}

.admin-user-detail-head {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.admin-user-detail-head__avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 12px 28px rgba(99, 102, 241, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

.admin-user-detail-head__avatar-fallback {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.35rem;
  color: #f1f5f9;
  background: linear-gradient(140deg, #6366f1 0%, #0ea5e9 55%, #22c55e 120%);
  box-shadow:
    0 12px 28px rgba(99, 102, 241, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

.admin-user-detail-head__text {
  min-width: 0;
  flex: 1;
}

.admin-session-creator__row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-session-creator__avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.admin-session-creator__text {
  min-width: 0;
}

.session-detail-hero__note--with-avatar > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.session-detail-creator-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.session-detail-creator-copy {
  min-width: 0;
}

.ltg-user-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #6366f1, #22c55e);
  font-size: var(--font-sm);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.ltg-user-avatar__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ltg-user-avatar__letters {
  position: relative;
  z-index: 0;
}

.ltg-user-avatar--has-img .ltg-user-avatar__letters {
  opacity: 0;
  visibility: hidden;
}

.ltg-user-avatar--dashlist {
  width: 42px;
  height: 42px;
  font-size: var(--font-xs);
}

.ltg-dashlist__profile {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: inherit;
}

.ltg-dashlist__profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-user-avatar-wrap {
  display: inline-flex;
  margin-right: 6px;
  vertical-align: middle;
}

.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .nav-user-avatar-wrap {
    margin-right: 4px;
  }
}

.gsm-admin-user-card__who {
  min-width: 0;
}

.gsm-admin-user-card__name {
  margin: 0;
  font-size: var(--font-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gsm-admin-user-card__email {
  margin: 4px 0 0;
  font-size: var(--font-xs);
  word-break: break-all;
  color: rgba(186, 230, 253, 0.78);
}

.gsm-admin-user-card__phone,
.gsm-admin-user-card__co {
  margin: 4px 0 0;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.95);
}

.gsm-admin-user-card__phone i,
.gsm-admin-user-card__co i {
  margin-right: 6px;
  opacity: 0.8;
}

.gsm-admin-user-card__signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--spacing-md);
}

.gsm-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.gsm-pill i {
  font-size: 0.75rem;
  opacity: 0.92;
}

.gsm-pill--admin {
  border-color: rgba(196, 181, 253, 0.45);
  color: #e9d5ff;
  background: rgba(88, 28, 135, 0.25);
}

.gsm-pill--org {
  border-color: rgba(103, 232, 249, 0.38);
  color: #cffafe;
  background: rgba(8, 47, 73, 0.45);
}

.gsm-pill--ban {
  border-color: rgba(252, 165, 165, 0.55);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.22);
}

.gsm-pill--ok {
  border-color: rgba(110, 231, 183, 0.4);
  color: #bbf7d0;
  background: rgba(6, 78, 59, 0.22);
}

.gsm-pill--tg-on {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  background: rgba(12, 74, 110, 0.35);
}

.gsm-pill--tg-off {
  opacity: 0.65;
}

.gsm-pill--bid {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}

.gsm-pill--win {
  border-color: rgba(251, 113, 133, 0.4);
  color: #ffe4e6;
}

.gsm-pill--email-unverified {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fef3c7;
  background: rgba(120, 53, 15, 0.35);
}

.gsm-admin-user-card__rating {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(251, 191, 36, 0.15);
  background: radial-gradient(circle at 20% -20%, rgba(251, 191, 36, 0.12), transparent 55%);
}

.gsm-admin-user-card__rating-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gsm-admin-user-card__rating-lbl {
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(253, 230, 138, 0.65);
}

.gsm-admin-user-card__rating-val {
  font-weight: 800;
  color: #fef3c7;
  font-size: var(--font-sm);
}

.gsm-admin-user-card__rating-val i {
  color: #fcd34d;
  margin-right: 4px;
}

.gsm-admin-user-card__rating-val--org i {
  color: #93c5fd;
}

.gsm-admin-user-card__rating-val--org {
  color: #dbeafe;
}

.gsm-admin-user-card__rating-n {
  font-weight: 650;
  color: rgba(254, 243, 199, 0.55);
}

.gsm-admin-user-card__rating-none {
  color: rgba(148, 163, 184, 0.75);
  font-weight: 600;
}

.gsm-admin-user-card__rating-sep {
  width: 1px;
  align-self: stretch;
  margin: 0 var(--spacing-sm);
  background: rgba(251, 191, 36, 0.2);
}

.gsm-admin-user-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin: var(--spacing-md) 0 0;
  padding: var(--spacing-sm) 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.gsm-admin-user-card__stat {
  padding: var(--spacing-sm) var(--spacing-sm);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

.gsm-admin-user-card__stat dt {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(148, 163, 184, 0.85);
}

.gsm-admin-user-card__stat dd {
  margin: 4px 0 0;
  font-size: var(--font-md);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.gsm-admin-user-card__stat-unit {
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(186, 230, 253, 0.6);
}

.gsm-admin-user-card__actions {
  margin-top: auto;
  padding-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.gsm-admin-user-card__icon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gsm-admin-icon-act {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.7);
  color: rgba(226, 232, 240, 0.86);
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition:
    transform 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease,
    box-shadow 0.2s ease;
}

.gsm-admin-icon-act:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(30, 41, 79, 0.85);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
}

.gsm-admin-icon-act--accent {
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.35), rgba(15, 23, 42, 0.8));
  border-color: rgba(165, 180, 252, 0.5);
  color: #eef2ff;
}

.gsm-admin-icon-act--warn {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.gsm-admin-icon-act--ok {
  border-color: rgba(52, 211, 153, 0.5);
  color: #bbf7d0;
}

.gsm-admin-icon-act--vio {
  border-color: rgba(167, 139, 250, 0.45);
  color: #ede9fe;
}

.gsm-admin-icon-act--cyan {
  border-color: rgba(34, 211, 238, 0.45);
  color: #cffafe;
}

.gsm-admin-icon-act--amber {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fde68a;
}

.gsm-admin-icon-act--muted {
  opacity: 0.75;
}

.gsm-admin-icon-act--danger {
  border-color: rgba(248, 113, 113, 0.65);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.22);
}

.gsm-admin-icon-act--danger:hover {
  border-color: rgba(252, 165, 165, 0.75);
  color: #ffe4e6;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.28);
}

.gsm-admin-user-delete-modal__backdrop {
  background: rgba(2, 6, 23, 0.72);
}

.gsm-admin-user-delete-modal__panel {
  border-color: rgba(248, 113, 113, 0.28);
}

.gsm-admin-user-delete-modal__eyebrow {
  color: #fecaca !important;
}

.gsm-admin-user-delete-modal__target {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.92);
}

.gsm-admin-user-delete-modal__mail {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.95);
  word-break: break-all;
}

.gsm-admin-user-delete-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  padding-top: 0.5rem;
}

.gsm-admin-icon-act--edit {
  border-color: rgba(96, 165, 250, 0.45);
  color: #bfdbfe;
  background: rgba(30, 58, 138, 0.22);
}

.gsm-admin-user-edit-modal__panel {
  width: min(640px, calc(100vw - 1.25rem));
  max-height: min(92vh, 860px);
}

.gsm-admin-user-edit-modal__body {
  overflow: auto;
  max-height: min(62vh, 560px);
}

.gsm-admin-user-edit-modal__target {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.92);
}

.gsm-admin-user-edit-modal__status {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
}
.gsm-admin-user-edit-modal__status--ok {
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.42);
  color: #86efac;
}
.gsm-admin-user-edit-modal__status--error {
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}
.gsm-admin-user-edit-modal__status--pending {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
}

.gsm-admin-user-edit-form__section + .gsm-admin-user-edit-form__section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gsm-admin-user-edit-form__section-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.gsm-admin-user-edit-form__grid {
  display: grid;
  gap: 0.65rem;
}
.gsm-admin-user-edit-form__grid--2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) {
  .gsm-admin-user-edit-form__grid--2 {
    grid-template-columns: 1fr;
  }
}

.gsm-admin-user-edit-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}
.gsm-admin-user-edit-form__field > span {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.95);
}

.gsm-admin-user-edit-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.gsm-admin-user-card__since {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .gsm-admin-user-card:hover,
  .gsm-admin-users__kpi:hover,
  .gsm-admin-icon-act:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Profil public utilizator /user/:id — design premium + animații
   ═══════════════════════════════════════════════════════════════════════════ */

.gsm-public-profile {
  position: relative;
  min-height: 100vh;
  background: #05060d;
  color: #e8edf7;
  /* Înălțime efectivă navbar fix: logo 40px + padding vertical + bordură */
  --gsm-public-navbar-strip: calc(40px + 2 * var(--spacing-md) + 1px);
}

.gsm-public-profile__noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gsm-public-profile__aurora {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gsm-public-profile__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: gsmPprofFloat 22s ease-in-out infinite;
}

.gsm-public-profile__orb--1 {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.95), transparent 65%);
  animation-delay: 0s;
}

.gsm-public-profile__orb--2 {
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  top: 18%;
  right: -14%;
  background: radial-gradient(circle at 70% 40%, rgba(6, 182, 212, 0.62), transparent 68%);
  animation-delay: -7s;
}

.gsm-public-profile__orb--3 {
  width: min(360px, 55vw);
  height: min(360px, 55vw);
  bottom: -8%;
  left: 22%;
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.28), transparent 70%);
  animation-delay: -12s;
}

@keyframes gsmPprofFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2.5%, -2%) scale(1.06);
  }
  66% {
    transform: translate(-2%, 2%) scale(0.96);
  }
}

.gsm-public-profile__main {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
  /* Sub navbar-ul fix (z-index 1000); viewport-fit pentru iOS; extra jos pentru bottom bar mobil */
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--gsm-public-navbar-strip) + var(--spacing-md));
  padding-left: max(var(--spacing-lg), env(safe-area-inset-left, 0px));
  padding-right: max(var(--spacing-lg), env(safe-area-inset-right, 0px));
  padding-bottom: calc(var(--spacing-2xl) + 32px + var(--nav-bottom, 0px));
  overflow-x: hidden;
}

.gsm-public-profile__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.gsm-pprof-admin-email-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: calc(-1 * var(--spacing-sm)) 0 var(--spacing-lg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  color: #fef3c7;
  background: rgba(120, 53, 15, 0.4);
  border: 1px solid rgba(251, 191, 36, 0.45);
  line-height: 1.45;
}

.gsm-pprof-admin-email-banner i {
  margin-top: 2px;
  color: #fde68a;
  flex-shrink: 0;
}

.gsm-public-profile__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-sm);
  font-weight: 700;
  color: rgba(196, 206, 246, 0.88);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gsm-public-profile__back:hover {
  color: #f8fafc;
  border-color: rgba(129, 140, 248, 0.55);
  transform: translateX(-2px);
}

.gsm-public-profile__back--admin:hover {
  border-color: rgba(251, 191, 36, 0.5);
}

button.gsm-public-profile__back {
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.gsm-public-profile__back--insight:hover {
  border-color: rgba(52, 211, 153, 0.5);
}

.gsm-pprof-section__head--admin {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.gsm-pprof-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--spacing-sm);
}

.gsm-pprof-admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: rgba(224, 231, 255, 0.95);
}

.gsm-pprof-admin-chip--ban {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

.gsm-pprof-admin-chip--tg {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(34, 211, 238, 0.35);
  color: #a5f3fc;
}

.gsm-pprof-admin-chip--admin {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.38);
  color: #fde68a;
}

.gsm-pprof-admin-chip--email-unv {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fef3c7;
}

.gsm-pprof-admin-head-actions {
  flex-shrink: 0;
}

.gsm-pprof-admin-dashboard__title {
  margin-bottom: var(--spacing-md);
}

.gsm-pprof-admin-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gsm-pprof-admin-log-teaser__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--spacing-md);
}

.gsm-pprof-admin-log-teaser .gsm-pprof-admin-block__title--inline {
  margin-bottom: 0;
  width: 100%;
}

.gsm-pprof-admin-log-teaser__msg {
  margin: 0;
  flex: 1;
  min-width: 12rem;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.gsm-pprof-admin-log-teaser__btn {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .gsm-pprof-admin-log-teaser__btn {
    width: 100%;
    justify-content: center;
  }
}

.gsm-admin-activity-modal__panel.dashboard-network-modal__panel {
  max-width: min(980px, 96vw);
}

.dashboard-profile-modal.gsm-admin-insight-modal .gsm-admin-insight-modal__panel.dashboard-network-modal__panel {
  width: min(980px, 96vw);
  max-width: min(980px, 96vw);
}

.gsm-admin-insight-modal .gsm-admin-insight-modal__scroll {
  max-height: min(72vh, 720px);
}

.gsm-admin-insight-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.gsm-admin-insight-modal__admin-links {
  margin-top: var(--spacing-xs);
}

.gsm-admin-activity-modal--stack.dashboard-profile-modal {
  z-index: 100600;
}

.gsm-admin-activity-modal .dashboard-network-modal__scroll {
  max-height: min(72vh, 640px);
}

.gsm-pprof-admin-insights .admin-table-shell {
  margin-top: var(--spacing-sm);
}

.gsm-pprof-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(30, 41, 59, 0.45) 0%, rgba(11, 17, 38, 0.85) 52%, rgba(16, 34, 62, 0.75) 100%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gsm-pprof-hero__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 20% 15%, rgba(99, 102, 241, 0.42), transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(6, 182, 212, 0.28), transparent 50%);
  opacity: 0.75;
  animation: gsmPprofHeroGlow 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes gsmPprofHeroGlow {
  0% {
    opacity: 0.55;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 0.92;
    transform: scale(1.05) translate(-1.5%, 1%);
  }
}

.gsm-pprof-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 3.5vw, 2.75rem);
}

.gsm-pprof-hero__inner--with-account {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gsm-pprof-hero__account-dash {
  width: 100%;
  margin-top: clamp(var(--spacing-lg), 3.5vw, var(--spacing-xl));
  padding-top: clamp(var(--spacing-md), 2vw, var(--spacing-xl));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.gsm-pprof-section__head--account-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.gsm-pprof-hero__account-title {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5ff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gsm-pprof-hero__account-title i {
  opacity: 0.88;
  color: rgba(165, 180, 252, 0.95);
  font-size: 0.95em;
}

.gsm-pprof-hero__account-lead {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.45;
  color: rgba(196, 206, 246, 0.78);
  max-width: 44rem;
}

/* Banda compactă „Contul meu” în coloana de identitate (sub nume și pills) */
.gsm-pprof-hero__account-strip {
  flex: 1 1 100%;
  width: 100%;
  margin-top: clamp(0.75rem, 2vw, 1.15rem);
  padding-top: clamp(0.6rem, 1.5vw, 0.95rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gsm-public-profile .gsm-pprof-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.gsm-pprof-hero__account-strip__actions.gsm-pprof-account-actions {
  width: 100%;
  justify-content: flex-end;
}

/* Badge-uri mari — Licitanti / Organizatori (profil proprietar) */
.gsm-public-profile .gsm-pprof-dash-badge {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 10px;
  min-height: 2.85rem;
  padding: 6px 8px 6px 10px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform 0.16s ease,
    box-shadow 0.18s ease,
    border-color 0.14s ease;
}

.gsm-public-profile .gsm-pprof-dash-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gsm-public-profile .gsm-pprof-dash-badge:active {
  transform: translateY(0);
}

.gsm-public-profile .gsm-pprof-dash-badge:focus-visible {
  outline: 2px solid rgba(196, 181, 253, 0.95);
  outline-offset: 3px;
}

.gsm-public-profile .gsm-pprof-dash-badge__glow {
  position: absolute;
  inset: auto -30% -50% -20%;
  height: 120%;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.gsm-public-profile .gsm-pprof-dash-badge--bidders {
  background: linear-gradient(135deg, rgba(34, 197, 180, 0.35) 0%, rgba(8, 88, 78, 0.65) 45%, rgba(15, 23, 42, 0.92) 100%);
  border-color: rgba(45, 212, 191, 0.45);
  color: #ecfdf9;
}

.gsm-public-profile .gsm-pprof-dash-badge--bidders .gsm-pprof-dash-badge__glow {
  background: radial-gradient(circle at 30% 30%, rgba(94, 234, 212, 0.9), transparent 58%);
}

.gsm-public-profile .gsm-pprof-dash-badge--organizers {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.32) 0%, rgba(120, 53, 15, 0.55) 38%, rgba(30, 20, 50, 0.94) 100%);
  border-color: rgba(252, 211, 77, 0.44);
  color: #fffbeb;
}

.gsm-public-profile .gsm-pprof-dash-badge--organizers .gsm-pprof-dash-badge__glow {
  background: radial-gradient(circle at 28% 32%, rgba(253, 224, 71, 0.75), transparent 55%);
}

.gsm-public-profile .gsm-pprof-dash-badge__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.gsm-public-profile .gsm-pprof-dash-badge--bidders .gsm-pprof-dash-badge__icon {
  background: rgba(13, 148, 136, 0.55);
  border: 1px solid rgba(153, 246, 228, 0.35);
  color: #ccfbf1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gsm-public-profile .gsm-pprof-dash-badge--organizers .gsm-pprof-dash-badge__icon {
  background: rgba(180, 83, 9, 0.5);
  border: 1px solid rgba(254, 240, 138, 0.38);
  color: #fef9c3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gsm-public-profile .gsm-pprof-dash-badge__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gsm-public-profile .gsm-pprof-dash-badge__lbl {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.gsm-public-profile .gsm-pprof-dash-badge__sub {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.72;
}

.gsm-public-profile .gsm-pprof-dash-badge__count {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  min-width: 2rem;
  height: 2rem;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.gsm-public-profile .gsm-pprof-dash-badge--bidders .gsm-pprof-dash-badge__count {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.28), rgba(15, 118, 110, 0.55));
  color: #f0fdfa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.gsm-public-profile .gsm-pprof-dash-badge--organizers .gsm-pprof-dash-badge__count {
  background: linear-gradient(180deg, rgba(253, 224, 71, 0.38), rgba(146, 64, 14, 0.55));
  color: #fffbeb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.gsm-public-profile .gsm-pprof-dash-badge--offers-hub {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(49, 46, 129, 0.7) 42%, rgba(15, 23, 42, 0.94) 100%);
  border-color: rgba(167, 139, 250, 0.5);
  color: #ede9fe;
}

.gsm-public-profile .gsm-pprof-dash-badge--offers-hub .gsm-pprof-dash-badge__glow {
  background: radial-gradient(circle at 30% 28%, rgba(196, 181, 253, 0.85), transparent 55%);
}

.gsm-public-profile .gsm-pprof-dash-badge--offers-hub .gsm-pprof-dash-badge__icon {
  background: rgba(79, 70, 229, 0.55);
  border: 1px solid rgba(216, 180, 254, 0.4);
  color: #e9d5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gsm-public-profile .gsm-pprof-dash-badge--offers-hub .gsm-pprof-dash-badge__count {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.35), rgba(67, 56, 202, 0.58));
  color: #f5f3ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

@media (min-width: 421px) {
  .gsm-public-profile .gsm-pprof-dash-badge {
    min-width: min(200px, 100%);
    max-width: 280px;
  }
}

@media (max-width: 420px) {
  .gsm-public-profile .gsm-pprof-dash-badge {
    width: 100%;
  }

  .gsm-public-profile .gsm-pprof-dash-badge__meta {
    flex: 1;
  }

  .gsm-public-profile .gsm-pprof-dash-badge__count {
    margin-left: auto;
  }

  .gsm-pprof-hero__account-strip__actions.gsm-pprof-account-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gsm-pprof-hero__account-strip__actions.gsm-pprof-account-actions .btn {
    justify-content: center;
  }
}

.gsm-public-profile .gsm-pprof-account-badge-tabs--modal {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.gsm-account-offers-modal .gsm-account-offers-modal__eyebrow {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 226, 0.85);
}

.gsm-account-offers-modal .gsm-account-offers-modal__tabpanels .empty-state {
  margin-top: var(--spacing-sm);
}

.gsm-account-offers-modal .gsm-account-offers-modal__tabpanels .notifications-list {
  padding-bottom: var(--spacing-sm);
}

/* Badge-uri/tab-uri discrete — zonă „Contul meu” în profil (nu dashboard clasic) */
.gsm-public-profile .gsm-pprof-account-badge-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 2px 0 var(--spacing-md);
}

.gsm-public-profile .gsm-pprof-acct-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  margin: 0;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(226, 232, 253, 0.92);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

.gsm-public-profile .gsm-pprof-acct-tab > i:first-child {
  font-size: 0.74rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.gsm-public-profile .gsm-pprof-acct-tab__lbl {
  white-space: nowrap;
}

.gsm-public-profile .gsm-pprof-acct-tab__cnt {
  margin-left: 1px;
  min-width: 1.4rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.1);
}

.gsm-public-profile .gsm-pprof-acct-tab--win {
  border-color: rgba(52, 211, 153, 0.32);
}

.gsm-public-profile .gsm-pprof-acct-tab--win > i:first-child {
  color: #6ee7b7;
}

.gsm-public-profile .gsm-pprof-acct-tab--outbid {
  border-color: rgba(251, 191, 36, 0.35);
}

.gsm-public-profile .gsm-pprof-acct-tab--outbid > i:first-child {
  color: #fcd34d;
}

.gsm-public-profile .gsm-pprof-acct-tab--wonall {
  border-color: rgba(129, 140, 248, 0.38);
}

.gsm-public-profile .gsm-pprof-acct-tab--wonall > i:first-child {
  color: #a5b4fc;
}

.gsm-public-profile .gsm-pprof-acct-tab--bell {
  border-color: rgba(34, 211, 238, 0.35);
}

.gsm-public-profile .gsm-pprof-acct-tab--bell > i:first-child {
  color: #67e8f9;
}

.gsm-public-profile .gsm-pprof-acct-tab:hover {
  transform: translateY(-1px);
  background: rgba(30, 41, 59, 0.55);
}

.gsm-public-profile .gsm-pprof-acct-tab:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.75);
  outline-offset: 2px;
}

.gsm-public-profile .gsm-pprof-acct-tab.is-active {
  border-color: rgba(129, 140, 248, 0.62);
  background: rgba(99, 102, 241, 0.16);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.22), 0 4px 18px rgba(0, 0, 0, 0.18);
}

.gsm-public-profile .gsm-pprof-acct-tab.is-active .gsm-pprof-acct-tab__cnt {
  background: rgba(99, 102, 241, 0.38);
  color: #f5f7ff;
}

.gsm-pprof-hero__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(var(--spacing-md), 3vw, var(--spacing-xl));
}

.gsm-pprof-hero__identity-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(var(--spacing-lg), 4vw, var(--spacing-xl));
  flex: 1 1 min(340px, 100%);
  min-width: 0;
}

.gsm-pprof-hero__badge-wrap {
  position: relative;
  flex-shrink: 0;
}

.gsm-pprof-hero__logo-ring {
  position: relative;
  width: clamp(108px, 22vw, 140px);
  height: clamp(108px, 22vw, 140px);
  border-radius: 28px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.85), rgba(6, 182, 212, 0.65), rgba(251, 191, 36, 0.65));
  box-shadow:
    0 20px 52px rgba(99, 102, 241, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.gsm-pprof-hero__logo-ring--mono {
  background: linear-gradient(145deg, rgba(148, 163, 184, 0.65), rgba(99, 102, 241, 0.65));
}

.gsm-pprof-hero__logo-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  background: rgba(6, 8, 20, 0.92);
  z-index: 0;
}

.gsm-pprof-hero__logo,
.gsm-pprof-hero__fallback {
  position: absolute;
  inset: 10px;
  z-index: 1;
  border-radius: 20px;
}

.gsm-pprof-hero__logo {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

.gsm-pprof-hero__fallback {
  display: none;
  place-items: center;
  margin: auto;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  font-size: clamp(2rem, 6vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f8fafc;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.35), rgba(8, 12, 30, 0.95));
}

.gsm-pprof-hero__fallback--on {
  display: grid;
}

.gsm-pprof-hero__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 32px;
  border: 1px solid rgba(129, 140, 248, 0.35);
  animation: gsmPprofPulse 3s ease-out infinite;
  pointer-events: none;
}

.gsm-pprof-hero__edit-account-fab {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 4;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.88), rgba(30, 27, 75, 0.96));
  color: #f8fafc;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease;
}

.gsm-pprof-hero__edit-account-fab:hover {
  border-color: rgba(196, 181, 253, 0.55);
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(79, 70, 229, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.gsm-pprof-hero__edit-account-fab:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.95);
  outline-offset: 2px;
}

.gsm-pprof-hero__edit-account-fab:active {
  transform: translateY(0);
}

/* Al doilea FAB: Facturare FGO (colț stânga-jos logo), pen rămâne dreapta-jos */
.gsm-pprof-hero__fgo-settings-fab {
  right: auto;
  left: 4px;
  bottom: 4px;
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.92), rgba(6, 78, 59, 0.96));
}

.gsm-pprof-hero__fgo-settings-fab:hover {
  border-color: rgba(110, 231, 183, 0.55);
  box-shadow:
    0 6px 18px rgba(16, 185, 129, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dashboard-profile-modal__body--fgo-scroll {
  max-height: min(78vh, 42rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 480px) {
  .gsm-pprof-hero__edit-account-fab:not(.gsm-pprof-hero__fgo-settings-fab) {
    width: 2.25rem;
    height: 2.25rem;
    right: 2px;
    bottom: 2px;
    font-size: 0.88rem;
    border-radius: 11px;
  }
  .gsm-pprof-hero__fgo-settings-fab {
    width: 2.25rem;
    height: 2.25rem;
    left: 2px;
    bottom: 2px;
    right: auto;
    font-size: 0.88rem;
    border-radius: 11px;
  }
}

@keyframes gsmPprofPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.06);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.gsm-pprof-hero__text {
  flex: 1;
  min-width: 0;
}

.gsm-pprof-hero__label {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(129, 140, 248, 0.95);
}

.gsm-pprof-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.gsm-pprof-hero__name-contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(8px, 2vw, 14px);
}

.gsm-pprof-hero__name-contact > .gsm-pprof-hero__title {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.gsm-pprof-hero__name-contact .gsm-pprof-hero__contact-chiprow--rail {
  flex-shrink: 0;
  align-self: stretch;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  margin-top: 0 !important;
  justify-content: flex-start !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.45) transparent;
}

.gsm-pprof-hero__name-contact .gsm-pprof-hero__contact-chiprow--rail::-webkit-scrollbar {
  height: 4px;
}

.gsm-pprof-hero__name-contact .gsm-pprof-hero__contact-chiprow--rail::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 248, 0.4);
  border-radius: 999px;
}

.gsm-pprof-hero__contact-chiprow {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(10px, 1.8vw, 14px);
  max-width: 100%;
}

.gsm-pprof-cbadge {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    border-color 0.14s ease;
}

.gsm-pprof-cbadge:hover {
  transform: translateY(-2px);
}

.gsm-pprof-cbadge:active {
  transform: translateY(0);
}

.gsm-pprof-cbadge:focus-visible {
  outline: 2px solid rgba(226, 232, 240, 0.9);
  outline-offset: 3px;
}

button.gsm-pprof-cbadge {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.gsm-pprof-cbadge__icon {
  display: grid;
  place-items: center;
  width: 2.125rem;
  min-width: 2.125rem;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.gsm-pprof-cbadge__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 2px;
  min-width: 0;
}

.gsm-pprof-cbadge__num {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.74em;
  background: rgba(0, 0, 0, 0.2);
}

/* Telefon — smarald */
.gsm-pprof-cbadge--phone {
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.38) 0%, rgba(6, 95, 70, 0.52) 100%);
}

.gsm-pprof-cbadge--phone .gsm-pprof-cbadge__icon {
  background: rgba(6, 78, 59, 0.55);
  color: #6ee7b7;
}

.gsm-pprof-cbadge--phone:hover {
  border-color: rgba(110, 231, 183, 0.75);
  box-shadow:
    0 6px 24px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Email — cer / cyan */
.gsm-pprof-cbadge--mail {
  color: #ecfeff;
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32) 0%, rgba(14, 116, 144, 0.45) 100%);
}

.gsm-pprof-cbadge--mail .gsm-pprof-cbadge__icon {
  background: rgba(21, 94, 117, 0.55);
  color: #7dd3fc;
}

.gsm-pprof-cbadge--mail:hover {
  border-color: rgba(125, 211, 252, 0.75);
  box-shadow:
    0 6px 24px rgba(56, 189, 248, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Recenzii — violet cald */
.gsm-pprof-cbadge--reviews {
  color: #faf5ff;
  border-color: rgba(192, 132, 252, 0.52);
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.36) 0%, rgba(88, 28, 135, 0.48) 100%);
}

.gsm-pprof-cbadge--reviews .gsm-pprof-cbadge__icon {
  background: rgba(88, 28, 135, 0.55);
  color: #e9d5ff;
}

.gsm-pprof-cbadge--reviews .gsm-pprof-cbadge__num {
  background: rgba(255, 255, 255, 0.22);
}

.gsm-pprof-cbadge--reviews:hover {
  border-color: rgba(233, 213, 255, 0.7);
  box-shadow:
    0 6px 24px rgba(147, 51, 234, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gsm-pprof-cbadge--phone .gsm-pprof-cbadge__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(260px, 52vw);
}

.gsm-pprof-cbadge--mail .gsm-pprof-cbadge__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(300px, 58vw);
}

.gsm-pprof-cbadge--reviews .gsm-pprof-cbadge__label {
  flex-wrap: wrap;
}

.gsm-pprof-hero__contact-none {
  display: inline-block;
  flex-shrink: 0;
  padding: 7px 0;
  margin-left: 2px;
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.9);
  font-style: italic;
}

.gsm-pprof-hero__company {
  margin: 10px 0 0;
  font-size: var(--font-md);
  color: rgba(186, 230, 253, 0.95);
}

.gsm-pprof-hero__company i {
  margin-right: 8px;
  opacity: 0.85;
}

.gsm-pprof-hero__since {
  margin: 8px 0 0;
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.95);
}

.gsm-pprof-hero__since i {
  margin-right: 8px;
}

.gsm-pprof-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--spacing-md);
}

.gsm-pprof-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.gsm-pprof-pill i {
  font-size: 0.85rem;
}

.gsm-pprof-pill--org {
  border-color: rgba(103, 232, 249, 0.45);
  color: #ecfeff;
}

.gsm-pprof-pill--tg {
  border-color: rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
}

.gsm-pprof-pill--bid {
  border-color: rgba(253, 224, 71, 0.45);
  color: #fef9c3;
}

.gsm-pprof-pill--win {
  border-color: rgba(251, 113, 133, 0.45);
  color: #ffe4e6;
}

.gsm-pprof-hero__own-banner {
  margin: var(--spacing-md) 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 650;
  color: rgba(224, 231, 255, 0.95);
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(165, 180, 252, 0.28);
}

.gsm-pprof-hero__own-banner i {
  margin-right: 8px;
  color: #a5b4fc;
}

/* Hero: zona „Activitate” — coloană dreaptă, carduri unul sub altul (≤900px: full-width) */
.gsm-pprof-hero__activity {
  box-sizing: border-box;
}

.gsm-pprof-hero__activity--aside {
  width: clamp(268px, 30vw, 308px);
  flex: 0 0 clamp(268px, 30vw, 308px);
  max-width: 100%;
  margin-top: 0;
  padding-top: 0;
  padding-left: clamp(var(--spacing-md), 2.8vw, var(--spacing-xl));
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.gsm-pprof-hero__activity-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 14px);
  margin-top: 0;
}

@media (max-width: 900px) {
  .gsm-pprof-hero__activity--aside {
    flex: 1 1 100%;
    width: 100%;
    padding-left: 0;
    margin-top: clamp(var(--spacing-md), 2.6vw, var(--spacing-lg));
    padding-top: clamp(var(--spacing-md), 2vw, var(--spacing-lg));
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.gsm-pprof-hero__activity--aside .gsm-pprof-mini-activity__stats--3 {
  gap: 6px;
}

.gsm-pprof-hero__activity--aside .gsm-pprof-mini-stat__v {
  font-size: clamp(0.92rem, 2.8vw, 1.22rem);
}

.gsm-pprof-mini-activity {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 26, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gsm-pprof-mini-activity--bids {
  border-color: rgba(129, 140, 248, 0.35);
}

.gsm-pprof-mini-activity--wins {
  border-color: rgba(251, 191, 36, 0.32);
}

.gsm-pprof-mini-activity--host {
  border-color: rgba(6, 182, 212, 0.3);
}

.gsm-pprof-mini-activity__hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.92);
}

.gsm-pprof-mini-activity__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.06);
  color: #a5b4fc;
}

.gsm-pprof-mini-activity--wins .gsm-pprof-mini-activity__icon {
  color: #fde68a;
}

.gsm-pprof-mini-activity--host .gsm-pprof-mini-activity__icon {
  color: #67e8f9;
}

.gsm-pprof-mini-activity__ttl {
  min-width: 0;
}

.gsm-pprof-mini-activity__stats {
  display: grid;
  gap: 8px;
}

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

.gsm-pprof-mini-activity__stats--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 380px) {
  .gsm-pprof-mini-activity__stats--3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.gsm-pprof-mini-stat {
  min-width: 0;
}

.gsm-pprof-mini-stat__v {
  display: block;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f8fafc;
}

.gsm-pprof-mini-stat__v--accent {
  background: linear-gradient(93deg, #f8fafc 0%, #c4b5fd 92%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gsm-pprof-mini-stat__v--gold {
  color: #fde68a;
}

.gsm-pprof-mini-stat__unit {
  font-size: 0.55em;
  font-weight: 800;
  text-decoration: none;
  opacity: 0.78;
}

.gsm-pprof-mini-stat__k {
  display: block;
  margin-top: 3px;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.94);
}

.gsm-pprof-mini-activity__foot {
  margin: 8px 0 0;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.58rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.76);
}

.gsm-pprof-mini-activity__muted {
  margin: 6px 0 0;
  font-size: 0.61rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .gsm-pprof-mini-activity {
    transition: none;
  }
}

/* Profil public: bandă rating + contact (imediat sub hero) */
.gsm-pprof-scoreboard {
  margin: 0 0 var(--spacing-2xl);
  padding: var(--spacing-lg) var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(
    145deg,
    rgba(24, 32, 58, 0.88) 0%,
    rgba(15, 23, 42, 0.78) 100%
  );
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gsm-pprof-scoreboard__head {
  margin-bottom: var(--spacing-md);
}

.gsm-pprof-scoreboard__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(241, 245, 249, 0.98);
}

.gsm-pprof-scoreboard__title i {
  color: #fde047;
}

.gsm-pprof-scoreboard__lead {
  margin: 0;
  max-width: 72ch;
  font-size: var(--font-sm);
  line-height: 1.55;
  color: rgba(186, 198, 230, 0.9);
}

.gsm-pprof-scoreboard__inline-a {
  color: #a5b4fc;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gsm-pprof-scoreboard__inline-a:hover {
  color: #c4b5fd;
}

button.gsm-pprof-scoreboard__inline-trigger {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 650;
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

button.gsm-pprof-scoreboard__inline-trigger:hover {
  color: #c4b5fd;
}

button.gsm-pprof-scoreboard__inline-trigger:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.75);
  outline-offset: 2px;
  border-radius: 2px;
}

.gsm-reviews-modal__panel.dashboard-network-modal__panel {
  max-width: min(560px, 96vw);
}

.gsm-reviews-modal__scroll.dashboard-network-modal__scroll {
  max-height: min(78vh, 640px);
  padding-right: var(--spacing-xs);
}

.gsm-reviews-modal__rate-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  margin: 0 0 var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(129, 140, 248, 0.24);
  background: rgba(24, 32, 58, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.gsm-reviews-modal__rate-hint {
  margin: 0;
  flex: 1 1 200px;
  min-width: 0;
  font-size: var(--font-xs);
  line-height: 1.45;
  font-weight: 600;
  color: rgba(186, 198, 230, 0.82);
}

.gsm-reviews-modal__rate-btn {
  font-weight: 750;
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
  flex-shrink: 0;
}

.gsm-reviews-modal__rate-btn:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.gsm-reviews-modal__subtitle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.gsm-reviews-modal__edit-hint {
  display: block;
  font-size: 0.92em;
  font-weight: 500;
  color: rgba(196, 206, 246, 0.78);
}

.gsm-reviews-modal__empty {
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.gsm-reviews-modal__panel .gsm-pprof-review-card {
  margin-bottom: var(--spacing-sm);
}

.gsm-pprof-scoreboard__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.75fr);
  gap: var(--spacing-md);
  align-items: stretch;
}

@media (max-width: 820px) {
  .gsm-pprof-scoreboard__grid {
    grid-template-columns: 1fr;
  }
}

.gsm-pprof-scoreboard__ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--spacing-sm);
}

.gsm-pprof-mini-rep {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 16, 32, 0.55);
}

.gsm-pprof-mini-rep--bid {
  border-color: rgba(253, 224, 71, 0.2);
}

.gsm-pprof-mini-rep--org {
  border-color: rgba(56, 189, 248, 0.22);
}

.gsm-pprof-mini-rep__h {
  margin: 0 0 10px;
  font-size: var(--font-sm);
  font-weight: 800;
  color: rgba(226, 232, 240, 0.92);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsm-pprof-mini-rep__h i {
  opacity: 0.88;
}

.gsm-pprof-mini-rep__stars {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: #fde047;
  letter-spacing: 1px;
}

.gsm-pprof-mini-rep__stars--org {
  color: #38bdf8;
}

.gsm-pprof-mini-rep__big {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.1;
}

.gsm-pprof-mini-rep__max {
  margin-left: 4px;
  font-size: 0.45em;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.85);
}

.gsm-pprof-mini-rep__meta {
  margin: 6px 0 0;
  font-size: var(--font-xs);
  color: rgba(186, 198, 230, 0.82);
}

.gsm-pprof-mini-rep__empty {
  margin: 0 0 8px;
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.9);
}

.gsm-pprof-mini-rep__link {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--font-xs);
  font-weight: 700;
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gsm-pprof-mini-rep__link:hover {
  color: #c4b5fd;
}

.gsm-pprof-contact-panel {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: rgba(49, 46, 129, 0.18);
}

.gsm-pprof-contact-panel__h {
  margin: 0 0 12px;
  font-size: var(--font-sm);
  font-weight: 800;
  color: rgba(241, 245, 249, 0.95);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsm-pprof-contact-panel__h i {
  color: #a5b4fc;
}

.gsm-pprof-contact-panel__row {
  margin: 0 0 10px;
}

.gsm-pprof-contact-panel__row:last-of-type {
  margin-bottom: 0;
}

.gsm-pprof-contact-panel__a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-sm);
  font-weight: 650;
  color: #e0e7ff;
  word-break: break-word;
}

.gsm-pprof-contact-panel__a i {
  flex-shrink: 0;
  width: 1.1em;
  text-align: center;
  color: #a5b4fc;
}

.gsm-pprof-contact-panel__a:hover {
  color: #fff;
}

.gsm-pprof-contact-panel__none {
  margin: 0 0 10px;
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.88);
}

.gsm-pprof-contact-panel__reviews {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gsm-pprof-contact-panel__reviews-a {
  font-size: var(--font-sm);
  font-weight: 700;
  color: #fde047;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gsm-pprof-contact-panel__reviews-a i {
  font-size: 0.9em;
  opacity: 0.9;
}

.gsm-pprof-contact-panel__reviews-a:hover {
  color: #fef08a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gsm-pprof-scoreboard__grid--rep > .gsm-pprof-reputation-in-score {
  min-width: 0;
}

.gsm-pprof-scoreboard__grid--rep-single {
  grid-template-columns: 1fr;
}

.gsm-pprof-rate-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  margin: 0 0 var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(129, 140, 248, 0.24);
  background: rgba(24, 32, 58, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.gsm-pprof-rate-add__hint {
  margin: 0;
  flex: 1 1 200px;
  min-width: 0;
  font-size: var(--font-xs);
  line-height: 1.45;
  font-weight: 600;
  color: rgba(186, 198, 230, 0.82);
}

.gsm-pprof-rate-add__btn {
  font-weight: 750;
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
  flex-shrink: 0;
}

.gsm-pprof-rate-add__btn:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.gsm-pprof-section {
  margin-bottom: var(--spacing-2xl);
}

.gsm-pprof-section__head {
  margin-bottom: var(--spacing-lg);
}

.gsm-pprof-section__head--reviews {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-md);
}

@media (min-width: 720px) {
  .gsm-pprof-section__head--reviews {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    column-gap: var(--spacing-xl);
    row-gap: var(--spacing-sm);
  }

  .gsm-pprof-section__head--reviews > div:first-child {
    flex: 1 1 280px;
  }

  .gsm-pprof-section__head--reviews .gsm-pprof-reviews__rate-tip {
    flex: 1 1 220px;
    max-width: 36ch;
    margin-left: auto;
    text-align: right;
    align-self: center;
  }
}

.gsm-pprof-reviews__rate-tip {
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-xs);
  line-height: 1.5;
  font-weight: 600;
  color: rgba(167, 180, 220, 0.92);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: var(--radius-md);
}

.gsm-pprof-reviews__rate-tip i {
  margin-right: 6px;
  color: #a5b4fc;
}

.gsm-pprof-section__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gsm-pprof-section__title i {
  color: rgba(129, 140, 248, 0.95);
}

.gsm-pprof-section__lead {
  margin: 0;
  max-width: 66ch;
  font-size: var(--font-sm);
  line-height: 1.55;
  color: rgba(186, 198, 230, 0.88);
}

.gsm-pprof-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--spacing-md);
}

.gsm-pprof-tile {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 18, 36, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gsm-pprof-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow:
    0 22px 58px rgba(99, 102, 241, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gsm-pprof-tile--wide {
  grid-column: 1 / -1;
}

.gsm-pprof-tile__h {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-sm);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsm-pprof-tile__h i {
  color: #a5b4fc;
}

.gsm-pprof-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-md);
}

.gsm-pprof-metrics--stack {
  grid-template-columns: 1fr;
}

.gsm-pprof-metric__val {
  display: block;
  font-size: var(--font-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.gsm-pprof-metric__val--hero {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  background: linear-gradient(90deg, #f8fafc, #a5b4fc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gsm-pprof-metric__val--gold {
  color: #fde68a;
}

.gsm-pprof-metric__val small {
  font-size: 0.55em;
  font-weight: 800;
  opacity: 0.75;
}

.gsm-pprof-metric__lbl {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.gsm-pprof-tile__footnote {
  margin: var(--spacing-md) 0 0;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.75);
  line-height: 1.45;
}

.gsm-pprof-tile__muted {
  margin: var(--spacing-sm) 0 0;
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.78);
}

.gsm-pprof-rep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--spacing-md);
}

.gsm-pprof-rep-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 15, 32, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.gsm-pprof-rep-card--bid {
  border-color: rgba(253, 224, 71, 0.18);
}

.gsm-pprof-rep-card--org {
  border-color: rgba(96, 165, 250, 0.22);
}

.gsm-pprof-rep-card__head {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.gsm-pprof-rep-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(165, 180, 252, 0.35);
  color: #e0e7ff;
}

.gsm-pprof-rep-card--org .gsm-pprof-rep-card__icon {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(125, 211, 252, 0.35);
  color: #dbeafe;
}

.gsm-pprof-rep-card__title {
  margin: 0 0 4px;
  font-size: var(--font-md);
  font-weight: 900;
}

.gsm-pprof-rep-card__score {
  margin: 0;
  font-size: var(--font-sm);
  color: rgba(226, 232, 240, 0.92);
}

.gsm-pprof-rep-card__score strong {
  font-size: 1.15em;
  margin-left: 4px;
}

.gsm-pprof-rep-card__empty {
  margin: 0;
  color: rgba(148, 163, 184, 0.85);
  font-size: var(--font-sm);
}

.gsm-pprof-stars {
  margin-right: 6px;
  color: #fcd34d;
}

.gsm-pprof-stars--blue {
  color: #93c5fd;
}

.gsm-pprof-rep-n {
  opacity: 0.75;
  font-weight: 600;
}

.gsm-pprof-hist {
  margin-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gsm-pprof-hist__row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 8px;
  font-size: var(--font-xs);
}

.gsm-pprof-hist__s {
  color: rgba(253, 230, 138, 0.75);
  font-weight: 800;
}

.gsm-pprof-hist__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.gsm-pprof-hist__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: 0;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.4), rgba(251, 191, 36, 1));
  transition: width 0.95s cubic-bezier(0.25, 0.46, 0.45, 1);
}

.gsm-pprof-hist__fill--org {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(147, 197, 253, 1));
}

.gsm-pprof-hist__n {
  text-align: right;
  color: rgba(148, 163, 184, 0.88);
  font-weight: 700;
}

.gsm-pprof-cta {
  margin-bottom: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.12));
  box-shadow:
    0 20px 60px rgba(99, 102, 241, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gsm-pprof-cta__inner {
  padding: clamp(1.15rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.gsm-pprof-cta__title {
  margin: 0 0 6px;
  font-size: var(--font-lg);
  font-weight: 900;
}

.gsm-pprof-cta__lead {
  margin: 0;
  max-width: 52ch;
  font-size: var(--font-sm);
  color: rgba(224, 231, 255, 0.88);
  line-height: 1.5;
}

.gsm-pprof-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.gsm-pprof-cta__btn {
  min-width: 200px;
  justify-content: center;
}

.gsm-pprof-cta__btn--ghost {
  border-width: 2px;
}

.gsm-pprof-hint {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 18, 36, 0.55);
  font-size: var(--font-sm);
}

.gsm-pprof-hint a {
  color: #93c5fd;
  font-weight: 750;
}

.gsm-pprof-hint--muted {
  color: rgba(148, 163, 184, 0.9);
}

.gsm-pprof-empty {
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.25);
  color: rgba(148, 163, 184, 0.92);
}

.gsm-pprof-empty i {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0.6;
}

.gsm-pprof-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.gsm-pprof-review-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 32, 0.65);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  animation: gsmPprofCardIn 0.65s ease backwards;
  animation-delay: calc(min(var(--pprof-i), 14) * 55ms);
}

@keyframes gsmPprofCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gsm-pprof-review-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: 8px;
}

.gsm-pprof-review-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

.gsm-pprof-review-card__kind {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(253, 224, 71, 0.15);
  border: 1px solid rgba(253, 224, 71, 0.28);
  color: #fde68a;
}

.gsm-pprof-review-card__kind--org {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(125, 211, 252, 0.32);
  color: #bae6fd;
}

.gsm-pprof-review-card__edit {
  flex-shrink: 0;
  font-weight: 750;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
}
  color: #fcd34d;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.gsm-pprof-review-card__meta {
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.9);
}

.gsm-pprof-review-card__author {
  font-weight: 800;
  color: rgba(226, 232, 240, 0.95);
}

.gsm-pprof-review-card__body {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.92);
}

/* scroll reveal defaults */
.gsm-pprof-rise {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.72s cubic-bezier(0.25, 0.46, 0.45, 1),
    transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 1);
}

.gsm-pprof-rise--in {
  opacity: 1;
  transform: none;
}

.gsm-pprof-rise--2 {
  transition-delay: 55ms;
}
.gsm-pprof-rise--3 {
  transition-delay: 95ms;
}
.gsm-pprof-rise--4 {
  transition-delay: 130ms;
}
.gsm-pprof-rise--5 {
  transition-delay: 165ms;
}

@media (prefers-reduced-motion: reduce) {
  .gsm-public-profile__orb,
  .gsm-pprof-hero__glow,
  .gsm-pprof-hero__pulse {
    animation: none !important;
  }

  .gsm-pprof-review-card {
    animation: none !important;
  }

  .gsm-pprof-hist__fill {
    transition: none !important;
  }

  .gsm-pprof-rise {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .gsm-pprof-tile:hover {
    transform: none;
  }
}

/* ─── Profil public /user/:id — mobil (layout tip aplicație) ─── */
@media (max-width: 768px) {
  body.gsm-public-profile {
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    /* În partea de sus nu mai există sidebar; rămâne doar safe-area + puțin spațiu */
    --gsm-public-navbar-strip: clamp(8px, 2.2vw, 14px);
  }

  .gsm-public-profile__main {
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--spacing-sm));
    padding-left: max(var(--spacing-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--spacing-md), env(safe-area-inset-right, 0px));
    padding-bottom: calc(var(--spacing-2xl) + 28px + var(--nav-bottom, 0px));
  }

  /* Bară superioară segmentată tip control nativ — un canal, separatori firavi */
  .gsm-public-profile__toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin-bottom: var(--spacing-md);
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 18, 35, 0.82);
    backdrop-filter: blur(14px) saturate(1.35);
    -webkit-backdrop-filter: blur(14px) saturate(1.35);
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .gsm-public-profile__toolbar > * + * {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back,
  .gsm-public-profile__toolbar button.gsm-public-profile__back {
    flex: 1 1 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    width: auto;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px clamp(5px, 1.9vw, 9px);
    border-radius: 0;
    border: none !important;
    box-shadow: none;
    background: transparent;
    box-sizing: border-box;
    font-size: clamp(0.62rem, 2.95vw, 0.8125rem);
    line-height: 1.22;
    text-align: center;
    letter-spacing: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: rgba(129, 140, 248, 0.16);
    touch-action: manipulation;
    transform: none;
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back i,
  .gsm-public-profile__toolbar button.gsm-public-profile__back i {
    flex-shrink: 0;
    font-size: 1.06rem;
    opacity: 0.92;
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back:active,
  .gsm-public-profile__toolbar button.gsm-public-profile__back:active {
    background: rgba(255, 255, 255, 0.07);
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back:focus-visible,
  .gsm-public-profile__toolbar button.gsm-public-profile__back:focus-visible {
    outline: 2px solid rgba(165, 180, 252, 0.8);
    outline-offset: -2px;
    z-index: 1;
    position: relative;
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back:hover {
    transform: none;
    border-color: transparent;
    color: #f1f5f9;
    background: rgba(99, 102, 241, 0.1);
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back--admin:hover {
    border-color: transparent;
    background: rgba(251, 191, 36, 0.1);
    color: #fef3c7;
  }

  .gsm-public-profile__toolbar .gsm-public-profile__back--insight:hover {
    border-color: transparent;
    background: rgba(52, 211, 153, 0.1);
    color: #ecfdf5;
  }

  .gsm-public-profile .gsm-pprof-dash-badge {
    width: 100%;
    max-width: none;
    min-width: 0 !important;
    min-height: 48px;
  }

  .gsm-pprof-hero__account-strip__actions.gsm-pprof-account-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gsm-pprof-hero__account-strip__actions.gsm-pprof-account-actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }

  .gsm-public-profile .gsm-pprof-account-actions {
    justify-content: stretch;
    width: 100%;
  }

  .gsm-public-profile .gsm-pprof-dash-badge__count {
    min-width: 2.75rem;
    text-align: center;
  }

  .gsm-pprof-hero {
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
  }

  .gsm-pprof-hero__inner {
    padding: var(--spacing-lg) max(var(--spacing-sm), env(safe-area-inset-left, 0px)) var(--spacing-lg)
      max(var(--spacing-sm), env(safe-area-inset-right, 0px));
  }

  .gsm-pprof-hero__identity {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
  }

  .gsm-pprof-hero__identity-primary {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    gap: var(--spacing-md);
  }

  .gsm-pprof-hero__badge-wrap {
    margin-inline: auto;
  }

  .gsm-pprof-hero__text {
    width: 100%;
    text-align: center;
  }

  .gsm-pprof-hero__name-contact .gsm-pprof-hero__contact-chiprow--rail {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    overflow-x: visible;
    overscroll-behavior-x: auto;
    padding-inline: max(0px, env(safe-area-inset-left, 0px));
    scrollbar-width: none;
  }

  .gsm-pprof-hero__name-contact .gsm-pprof-hero__contact-chiprow--rail::-webkit-scrollbar {
    display: none;
  }

  .gsm-pprof-cbadge {
    flex: 0 1 auto;
    max-width: min(340px, 100%);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
  }

  .gsm-pprof-cbadge--mail .gsm-pprof-cbadge__label,
  .gsm-pprof-cbadge--phone .gsm-pprof-cbadge__label {
    max-width: min(260px, 78vw);
  }

  .gsm-pprof-cbadge:focus-visible {
    outline-offset: 2px;
  }

  .gsm-pprof-hero__pills {
    justify-content: center;
    padding-inline: 2px;
  }

  .gsm-pprof-hero__company,
  .gsm-pprof-hero__since {
    text-align: center;
  }

  .gsm-pprof-hero__contact-none {
    margin-left: 0;
    text-align: center;
    width: 100%;
    padding-inline: var(--spacing-sm);
  }

  .gsm-pprof-hero__own-banner {
    text-align: left;
  }

  .gsm-pprof-section__head--account-split {
    flex-direction: column;
    align-items: stretch;
  }

  .gsm-pprof-hero__account-title {
    font-size: clamp(1rem, 4vw, 1.22rem);
  }

  .gsm-pprof-hero__title {
    font-size: clamp(1.4rem, 6.8vw, 2.05rem);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .gsm-pprof-scoreboard {
    padding-left: max(var(--spacing-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--spacing-md), env(safe-area-inset-right, 0px));
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
  }

  .gsm-pprof-scoreboard__lead {
    max-width: none;
    font-size: var(--font-xs);
    line-height: 1.5;
  }

  .gsm-pprof-rep-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .gsm-pprof-rep-card {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
  }

  .gsm-pprof-rep-card__head {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }

  .gsm-pprof-mini-activity {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  /* footer site sub conținut — respiră deasupra barei de navigare mobil */
  .gsm-public-profile .site-footer {
    position: relative;
    z-index: 1;
    padding-bottom: max(var(--spacing-md), calc(env(safe-area-inset-bottom, 0px) * 0.35));
  }
}

/* ─── Organizator: promo Telegram pe pagina licitație ─── */
.org-promo-tg-modal {
  position: fixed;
  inset: 0;
  z-index: 12020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.org-promo-tg-modal[hidden] {
  display: none !important;
}
.org-promo-tg-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.org-promo-tg-modal__sheet {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: min(1040px, calc(100vw - 2rem));
  max-width: 100%;
  margin: auto;
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.org-promo-tg-modal__sheet.card {
  width: min(1040px, calc(100vw - 2rem));
  max-width: 100%;
  margin-bottom: 0;
  padding: 0;
}
.org-promo-tg-modal__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.15rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  flex-shrink: 0;
}
.org-promo-tg-modal__head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.org-promo-tg-modal__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(96, 165, 250, 0.98);
}
.org-promo-tg-modal__title {
  margin: 0;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  line-height: 1.25;
}
.org-promo-tg-modal__sub {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.85);
}
.org-promo-tg-modal__sub a {
  color: rgba(125, 211, 252, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.org-promo-tg-modal__close {
  flex: 0 0 auto;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.85);
  cursor: pointer;
  padding: 0.45rem;
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1;
}
.org-promo-tg-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.org-promo-tg-modal__body {
  padding: 1rem 1.35rem 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  flex: 1 1 auto;
}
.org-promo-tg-modal__credit-note {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  color: rgba(252, 211, 77, 0.98);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
}
.org-promo-tg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 768px) {
  .org-promo-tg-grid {
    grid-template-columns: 1fr;
  }
  .org-promo-tg-modal__sheet {
    width: calc(100vw - 1.25rem);
    max-height: min(94vh, 900px);
  }
}
@media (max-width: 480px) {
  .org-promo-tg-modal {
    padding: 0.5rem;
    align-items: stretch;
  }
  .org-promo-tg-modal__sheet {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    border-radius: 16px;
    max-height: calc(100dvh - 1rem);
  }
}
.org-promo-tg-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.55);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.12s;
  min-width: 0;
}
.org-promo-tg-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.12);
  transform: translateY(-1px);
}
.org-promo-tg-card--selected {
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.1);
}
.org-promo-tg-card__icon {
  font-size: 1.35rem;
  color: rgba(147, 197, 253, 0.95);
}
.org-promo-tg-card__title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.org-promo-tg-card__desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.72);
}
.org-promo-tg-card__preview {
  width: 100%;
  max-width: 100%;
  margin: 0.4rem 0 0;
  padding: 0.6rem 0.65rem;
  box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 12rem;
  overflow: auto;
  text-align: left;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
}
.org-promo-tg-card__cost {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(251, 191, 36, 0.98);
}
.org-promo-tg-modal__email-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.92);
  cursor: pointer;
  margin: 0 0 0.65rem 0;
  max-width: 42rem;
}
.org-promo-tg-modal__email-opt input {
  margin-top: 0.18rem;
  flex-shrink: 0;
}
.org-promo-tg-modal__footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}
.org-promo-tg-modal__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.85rem 1.35rem 1.15rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.35);
}
@media (max-width: 520px) {
  .org-promo-tg-modal__footer-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .org-promo-tg-modal__footer-row .btn {
    width: 100%;
    justify-content: center;
  }
  .org-promo-tg-modal__selection {
    text-align: center;
  }
}
.org-promo-tg-modal__selection {
  flex: 1 1 auto;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.78);
  min-width: 0;
}
.gsm-btn-organizer-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(14, 165, 233, 0.14);
  color: #e0f2fe;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.gsm-btn-organizer-promo:hover {
  background: rgba(14, 165, 233, 0.26);
  border-color: rgba(125, 211, 252, 0.65);
}

/* Flyover: trimitere + succes (promo Telegram / email) */
.org-promo-tg-modal__flyover {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}
.org-promo-tg-modal__flyover[hidden] {
  display: none !important;
}
.org-promo-tg-modal__flyover-inner {
  width: 100%;
  max-width: 22rem;
}
.org-promo-tg-modal__flyover-state--success[hidden] {
  display: none !important;
}
.org-promo-tg-modal__spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.22);
  border-top-color: rgba(56, 189, 248, 0.95);
  animation: org-promo-flyover-spin 0.72s linear infinite;
}
@keyframes org-promo-flyover-spin {
  to {
    transform: rotate(360deg);
  }
}
.org-promo-tg-modal__flyover-title {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.org-promo-tg-modal__flyover-sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.78);
}
.org-promo-tg-modal__flyover-state--success .org-promo-tg-modal__flyover-sub {
  margin-top: 0.35rem;
}
.org-promo-tg-modal__success-icon {
  font-size: 3rem;
  line-height: 1;
  color: #34d399;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 14px rgba(52, 211, 153, 0.35));
}
.org-promo-tg-modal__flyover .btn {
  margin-top: 1.35rem;
  width: 100%;
  max-width: 16rem;
}
.org-promo-tg-modal--sending .org-promo-tg-modal__close {
  pointer-events: none;
  opacity: 0.45;
}
.org-promo-tg-modal--sending .org-promo-tg-modal__backdrop,
.org-promo-tg-modal--sending [data-org-promo-dismiss] {
  pointer-events: none;
}
.org-promo-tg-modal--sending [data-org-promo-dismiss-session] {
  pointer-events: none;
}
.org-promo-tg-modal--sending .org-promo-tg-modal__body,
.org-promo-tg-modal--sending .org-promo-tg-modal__footer {
  pointer-events: none;
  user-select: none;
  opacity: 0.52;
}

/* Promo: modal alegere dispozitive (pick_devices) — deasupra org-promo-tg-modal (12020) */
.org-promo-pick-modal {
  position: fixed;
  inset: 0;
  z-index: 12030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.org-promo-pick-modal[hidden] {
  display: none !important;
}
.org-promo-pick-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.org-promo-pick-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.org-promo-pick-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.5rem;
}
.org-promo-pick-modal__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}
.org-promo-pick-modal__title {
  margin: 0;
  font-size: 1.15rem;
}
.org-promo-pick-modal__sub {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
}
.org-promo-pick-modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}
.org-promo-pick-modal__toolbar {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.1rem 0.5rem;
}
.org-promo-pick-list {
  list-style: none;
  margin: 0;
  padding: 0 0.65rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.org-promo-pick-item {
  margin: 0 0 0.35rem;
}
.org-promo-pick-item__label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.org-promo-pick-item__label:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.08);
}
.org-promo-pick-item__check {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.org-promo-pick-item__num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}
.org-promo-pick-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.org-promo-pick-item__title {
  font-weight: 600;
  font-size: 0.92rem;
}
.org-promo-pick-item__meta {
  font-size: 0.78rem;
  opacity: 0.75;
}
.org-promo-pick-item__price {
  font-size: 0.8rem;
  color: #7dd3fc;
}
.org-promo-pick-modal__empty {
  padding: 1rem 1.1rem;
  opacity: 0.8;
}
.org-promo-pick-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.org-promo-pick-modal__manual {
  margin: 0 1.1rem 0.65rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.06);
}
.org-promo-pick-modal__manual[hidden] {
  display: none !important;
}
.org-promo-pick-modal__manual-hint {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.85;
}
.org-promo-pick-modal__manual-text {
  width: 100%;
  min-height: 9rem;
  max-height: 14rem;
  resize: vertical;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
}
.org-promo-pick-modal__manual-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.org-promo-pick-modal__manual-status {
  margin: 0 1.1rem 0.35rem;
  min-height: 1.1rem;
  font-size: 0.78rem;
  opacity: 0.85;
}
.org-promo-pick-modal__manual-status[data-tone="ok"] {
  color: #6ee7b7;
}
.org-promo-pick-modal__manual-status[data-tone="err"] {
  color: #fca5a5;
}
.org-promo-pick-modal__manual-status[data-tone="info"] {
  color: #93c5fd;
}

/* ========== MOBILE: bottom bar + hide sidebar ========== */
@media (max-width: 768px) {
  :root {
    --nav-left: 0px;
    --nav-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
  }

  .app-sidebar {
    display: none;
  }

  .app-bottombar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(12, 18, 34, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    align-items: stretch;
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .app-bottombar__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 6px 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .app-bottombar__tab--user {
    gap: 0;
    justify-content: center;
  }

  .app-bottombar__tab--user .app-sidebar__user-btn-visual {
    margin: 0;
  }

  .app-bottombar__tab--user.app-bottombar__tab--active .app-sidebar__avatar-ring {
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.45) inset,
      0 4px 18px rgba(99, 102, 241, 0.45);
  }

  .app-bottombar__tab--user:active .app-sidebar__avatar-ring {
    transform: scale(0.94);
  }

  .app-bottombar__tab:not(.app-bottombar__tab--user) i {
    font-size: 1.15rem;
    transition: transform var(--transition-bounce), color var(--transition);
  }

  .app-bottombar__tab--user .app-sidebar__avatar-ring {
    transition: transform var(--transition-bounce), box-shadow var(--transition);
  }

  .app-bottombar__tab--active {
    color: var(--primary-light);
  }

  .app-bottombar__tab:not(.app-bottombar__tab--user).app-bottombar__tab--active i {
    transform: scale(1.1);
  }

  .app-bottombar__tab:not(.app-bottombar__tab--user):active i {
    transform: scale(0.9);
  }

  .app-bottombar__badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: var(--danger);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
  }

  .app-search-overlay {
    padding: var(--spacing-xl) var(--spacing-md);
    align-items: flex-start;
    justify-content: flex-start;
  }

  .app-search-overlay__kbd {
    display: none;
  }


  .app-search-overlay__bar {
    border-radius: var(--radius-md);
  }

  .app-search-overlay__input {
    font-size: var(--font-md);
  }

  body.auth-body {
    --auth-navbar-reserve: var(--spacing-md);
  }

  /* --nav-bottom pe body include deja bara fixă + safe-area; fără +env pe main → dispar spațiile fictive pentru „browser bar”. */
  .main-content {
    padding-bottom: var(--spacing-lg);
  }

  .main-content.main-content--wizard {
    padding-bottom: var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-sidebar,
  .app-sidebar__link,
  .app-sidebar__link i,
  .app-sidebar__logo,
  .app-bottombar__tab:not(.app-bottombar__tab--user) i,
  .app-bottombar__tab--user .app-sidebar__avatar-ring,
  .user-spotlight__backdrop,
  .user-spotlight__dialog,
  .app-search-overlay--spotlight .app-search-overlay__inner,
  .user-spotlight,
  .app-search-overlay {
    transition: none;
    animation: none;
  }

  .app-sidebar:hover {
    width: var(--sidebar-w);
  }

  .app-sidebar:hover .app-sidebar__label {
    opacity: 0;
  }
}

/* ========== HOMEPAGE PREMIUM HERO + GUEST CTA ========== */
.main-content--home-premium {
  max-width: 1180px;
  width: 100%;
}

.home-hero-premium {
  position: relative;
  width: 100%;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: radial-gradient(120% 100% at 10% 0%, rgba(99, 102, 241, 0.35) 0%, transparent 55%),
    radial-gradient(90% 80% at 90% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, rgba(18, 26, 48, 0.96) 0%, rgba(10, 14, 28, 0.98) 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-hero-premium__aura {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg at 50% 50%, rgba(99, 102, 241, 0.09), transparent, rgba(6, 182, 212, 0.08), transparent);
  opacity: 0.9;
  pointer-events: none;
  animation: homeHeroAura 22s linear infinite;
}

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

.home-hero-premium__inner {
  position: relative;
  padding: clamp(1.35rem, 4vw, 2.35rem);
  z-index: 1;
}

.home-hero-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 var(--spacing-md);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.12);
}

.home-hero-premium__title {
  margin: 0 0 var(--spacing-md);
  font-size: clamp(1.5rem, 4.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.home-hero-premium__lead {
  margin: 0 0 var(--spacing-xl);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 62ch;
}

.home-hero-premium__lead strong {
  color: #eef2ff;
  font-weight: 700;
}

.home-hero-premium__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.home-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 5.25rem;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.home-hero-stat__val {
  font-size: 1.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-hero-stat__lab {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.home-hero-stat--accent {
  border-color: rgba(99, 102, 241, 0.42);
  background: rgba(99, 102, 241, 0.08);
}

.home-hero-stat--accent .home-hero-stat__val {
  color: #a5b4fc;
}

.home-hero-stat--accent2 {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(139, 92, 246, 0.08);
}

.home-hero-stat--accent2 .home-hero-stat__val {
  color: #d8b4fe;
}

.home-hero-stat--muted {
  opacity: 0.92;
}

.home-hero-stat--draft .home-hero-stat__val {
  color: #fbbf24;
}

.home-hero-premium__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.home-hero-premium__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-premium__chips i {
  color: #5eead4;
  font-size: 0.95rem;
}

/* Intro compact homepage (înlocuiește hero-ul static din flux) */
.home-intro-compact {
  width: 100%;
  margin-bottom: clamp(1rem, 3vw, 1.85rem);
  padding: clamp(1rem, 3vw, 1.35rem) 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.home-intro-compact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.home-intro-compact__title {
  margin: 0;
  /* În rând: ocupă lățimea rămasă. NU `flex-basis: 16rem` în coloană mobilă — acolo baza e pe înălțime și lasă „gaură” enormă sub titlu. */
  flex: 1 1 0;
  min-width: 0;
  font-size: clamp(1.25rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
}

.home-intro-compact__pulsebtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  padding: 0.52rem 1rem 0.52rem 0.82rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--font-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: radial-gradient(120% 140% at 20% 0%, rgba(99, 102, 241, 0.35), rgba(15, 23, 42, 0.85));
  color: #e0e7ff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  -webkit-tap-highlight-color: rgba(129, 140, 248, 0.2);
  touch-action: manipulation;
}

.home-intro-compact__pulsebtn:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.9);
  outline-offset: 2px;
}

.home-intro-compact__pulsebtn:hover {
  border-color: rgba(165, 180, 252, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 10px 34px rgba(99, 102, 241, 0.22), 0 6px 24px rgba(0, 0, 0, 0.38);
}

.home-intro-compact__pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.25);
  animation: homeBriefDot 1.85s ease-in-out infinite;
}

@keyframes homeBriefDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.88;
  }
}

/* Modal sumar dinamic homepage */
.home-live-brief-modal {
  position: fixed;
  inset: 0;
  z-index: 12150;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.25s,
    opacity 0.26s cubic-bezier(0.25, 0.46, 0.45, 1);
}

.home-live-brief-modal--open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  perspective: 1600px;
  perspective-origin: 50% 38%;
}

.home-live-brief-lock {
  overflow: hidden;
}

.home-live-brief-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
  background:
    radial-gradient(ellipse 100% 80% at 20% -10%, rgba(99, 102, 241, 0.32), transparent 52%),
    radial-gradient(ellipse 90% 70% at 100% 30%, rgba(168, 85, 247, 0.22), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(34, 211, 238, 0.12), transparent 45%),
    rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  animation: homeBriefBackdropDrift 24s ease-in-out infinite alternate;
}

@keyframes homeBriefBackdropDrift {
  from {
    filter: saturate(1) hue-rotate(0deg);
  }
  to {
    filter: saturate(1.15) hue-rotate(12deg);
  }
}

.home-live-brief-modal__shell {
  position: absolute;
  left: max(10px, env(safe-area-inset-left, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  top: max(10px, env(safe-area-inset-top, 0px));
  margin: auto;
  width: auto;
  max-width: min(1120px, calc(100vw - 20px));
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  border-radius: clamp(14px, 2.2vw, 22px);
  border: 1px solid rgba(165, 180, 252, 0.28);
  background: linear-gradient(145deg, rgba(29, 35, 64, 0.55) 0%, rgba(8, 10, 22, 0.92) 45%, rgba(6, 8, 18, 0.98) 100%);
  box-shadow:
    0 4px 0 1px rgba(165, 180, 252, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.65) inset,
    0 48px 120px rgba(0, 0, 0, 0.65),
    0 -48px 100px -50px rgba(99, 102, 241, 0.28);
  outline: none;
  transform: translate3d(0, 42px, 0) scale(0.9) rotateX(4deg);
  transform-origin: 50% 80%;
  filter: saturate(1.08);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.85, 0.25, 1),
    box-shadow 0.45s ease,
    filter 0.45s ease;
}

.home-live-brief-modal--open .home-live-brief-modal__shell {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.home-live-brief-modal__x {
  position: absolute;
  top: max(14px, env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 6;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.08rem;
  color: rgba(226, 232, 240, 0.95);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: background 0.15s ease, color 0.15s ease, transform 0.2s cubic-bezier(0.25, 0.82, 0.28, 1),
    border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.home-live-brief-modal__x:hover {
  background: radial-gradient(circle at 30% 20%, rgba(254, 202, 202, 0.25), rgba(127, 29, 29, 0.6));
  color: #fff;
  border-color: rgba(252, 165, 165, 0.45);
  transform: rotate(90deg) scale(1.06);
}

.home-live-brief-modal__scroll {
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: inherit;
  isolation: isolate;
}

/* FX sub strat (orbite, grain, grafic unde) */
.home-live-brief-modal__fx {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
}

.home-live-brief-modal__noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-live-brief-modal__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  animation: homeBriefOrbFloat 18s ease-in-out infinite alternate;
}

.home-live-brief-modal__orb--a {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  top: -18%;
  left: -22%;
  background: radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.92), transparent 68%);
  animation-duration: 20s;
}

.home-live-brief-modal__orb--b {
  width: min(360px, 55vw);
  height: min(360px, 55vw);
  top: 20%;
  right: -26%;
  background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.5), transparent 70%);
  animation-duration: 16s;
  animation-delay: -4s;
}

.home-live-brief-modal__orb--c {
  width: min(300px, 50vw);
  height: min(300px, 50vw);
  bottom: -20%;
  left: 38%;
  background: radial-gradient(circle at 50% 40%, rgba(251, 191, 36, 0.28), transparent 72%);
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes homeBriefOrbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, 4%) scale(1.08);
  }
}

.home-live-brief-modal__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.45;
}

.home-live-brief-modal__ring--1 {
  width: clamp(520px, 140vw, 880px);
  height: clamp(520px, 140vw, 880px);
  bottom: -60%;
  left: -34%;
  animation: homeBriefRingSpin 40s linear infinite;
}

.home-live-brief-modal__ring--2 {
  width: clamp(360px, 90vw, 560px);
  height: clamp(360px, 90vw, 560px);
  top: -40%;
  right: -38%;
  border-color: rgba(129, 140, 248, 0.12);
  animation: homeBriefRingSpin 55s linear infinite reverse;
}

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

.home-live-brief-modal__wave-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(76px, 14vh, 120px);
  opacity: 0.85;
  pointer-events: none;
}

@keyframes homeBriefEnt {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-live-brief-modal--open .home-live-brief-ent {
  animation: homeBriefEnt 0.65s cubic-bezier(0.2, 0.85, 0.24, 1) backwards;
  animation-delay: var(--hbe-del, 0s);
}

.home-live-brief-modal__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.8vw, 1.85rem);
  padding: clamp(1.05rem, 3.2vw, 1.75rem)
    clamp(1.05rem, 3.8vw, 2.35rem)
    clamp(1.25rem, 3.8vw, 2rem)
    clamp(1.05rem, 3.8vw, 2.35rem);
  padding-top: max(52px, calc(env(safe-area-inset-top, 0px) + 38px));
  box-sizing: border-box;
}

@media (min-width: 940px) {
  .home-live-brief-modal__layout {
    grid-template-columns: 1.06fr minmax(292px, 0.94fr);
    align-items: start;
    gap: clamp(1.35rem, 3vw, 2.75rem);
  }
}

.home-live-brief-modal__hero-col {
  min-width: 0;
}

.home-live-brief-modal__aside {
  min-width: 0;
}

@media (min-width: 940px) {
  .home-live-brief-modal__aside {
    position: sticky;
    top: 0;
    align-self: start;
    max-height: min(78vh, 760px);
    padding: clamp(0.95rem, 2.4vw, 1.35rem);
    border-radius: var(--radius-lg);
    background: radial-gradient(90% 40% at 10% -10%, rgba(99, 102, 241, 0.12), transparent 55%), rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: auto;
  }
}

.home-live-brief-modal__brand {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 2.8vw, 1.35rem);
  margin-bottom: 0;
}

.home-live-brief-modal__logo-ring {
  flex-shrink: 0;
  width: clamp(74px, 15vw, 92px);
  height: clamp(74px, 15vw, 92px);
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 62%),
    linear-gradient(160deg, rgba(99, 102, 241, 0.35), rgba(15, 23, 42, 0.85));
  border: 2px solid rgba(165, 180, 252, 0.45);
  box-shadow:
    0 12px 40px rgba(99, 102, 241, 0.32),
    0 0 0 1px rgba(0, 0, 0, 0.4) inset;
  animation: homeBriefLogoPulse 6s ease-in-out infinite alternate;
}

.home-live-brief-modal__logo-ring img {
  width: clamp(62px, 12vw, 76px);
  height: clamp(62px, 12vw, 76px);
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5));
}

@keyframes homeBriefLogoPulse {
  from {
    box-shadow:
      0 12px 40px rgba(99, 102, 241, 0.28),
      0 0 0 1px rgba(0, 0, 0, 0.4) inset,
      0 0 0 rgba(52, 211, 153, 0);
  }
  to {
    box-shadow:
      0 18px 55px rgba(99, 102, 241, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 0 52px rgba(52, 211, 153, 0.12);
    border-color: rgba(186, 198, 255, 0.65);
  }
}

.home-live-brief-modal__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.home-live-brief-modal__brand-name {
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #f8fafc;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}

.home-live-brief-modal__brand-tag {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #a5b4fc, #5eead4);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-live-brief-modal__statusrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: clamp(0.75rem, 2vw, 1.05rem);
  margin-bottom: var(--spacing-sm);
}

.home-live-brief-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: clamp(0.45rem, 2vw, 0.85rem) 0 var(--spacing-sm);
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  font-size: var(--font-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(129, 140, 248, 0.45);
  color: #eef2ff;
  background: linear-gradient(
    145deg,
    rgba(129, 140, 248, 0.18),
    rgba(30, 27, 75, 0.55)
  );
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.15);
}

.home-live-brief-modal__hero-title {
  margin: 0 0 var(--spacing-md);
  font-size: clamp(1.6rem, 4.8vw, 2.65rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #f8fafc;
  background: radial-gradient(circle at 20% -20%, #fff 0%, #e8edff 30%, rgba(186, 198, 255, 0.85) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-live-brief-modal__hero-lead {
  margin: 0 0 var(--spacing-lg);
  font-size: clamp(0.9rem, 2.1vw, 1.05rem);
  line-height: 1.68;
  color: rgba(241, 245, 249, 0.9);
  max-width: 58ch;
}

.home-live-brief-modal__hero-lead strong {
  color: #eef2ff;
  font-weight: 700;
}

.home-live-brief-modal__spectrum {
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  gap: 3px;
  height: clamp(54px, 10vw, 72px);
  margin: 0 0 var(--spacing-lg);
  padding: 12px clamp(12px, 4vw, 18px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.6), rgba(4, 6, 14, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 40px rgba(0, 0, 0, 0.38);
}

.home-live-brief-modal__spectrum-bar {
  flex: 1;
  max-width: 10px;
  min-width: 2px;
  border-radius: 3px;
  align-self: flex-end;
  height: 32%;
  background: linear-gradient(180deg, #a855f7, #818cf8 45%, rgba(34, 211, 238, 0.9));
  transform-origin: 50% 100%;
  animation: homeBriefSpectrumPulse 3.2s ease-in-out infinite alternate;
  opacity: 0.88;
}

.home-live-brief-modal__spectrum-bar:nth-child(4n + 1) {
  height: 68%;
}

.home-live-brief-modal__spectrum-bar:nth-child(4n + 2) {
  height: 48%;
}

.home-live-brief-modal__spectrum-bar:nth-child(4n + 3) {
  height: 85%;
}

.home-live-brief-modal__spectrum-bar:nth-child(4n) {
  height: 40%;
}

.home-live-brief-modal__spectrum-bar:nth-child(5n + 2) {
  height: 95%;
}

.home-live-brief-modal__spectrum-bar:nth-child(7n + 3) {
  height: 24%;
}

.home-live-brief-modal__spectrum-bar:nth-child(3n) {
  animation-duration: 3.95s;
  background: linear-gradient(180deg, #34d399, #22d3ee, #818cf8);
}

.home-live-brief-modal__spectrum-bar:nth-child(5n + 2) {
  animation-duration: 2.85s;
  animation-delay: -0.4s;
  opacity: 0.92;
}

.home-live-brief-modal__spectrum-bar:nth-child(odd) {
  opacity: 0.78;
}

@keyframes homeBriefSpectrumPulse {
  from {
    transform: scaleY(0.92);
    filter: saturate(1);
  }
  to {
    transform: scaleY(1.14);
    filter: saturate(1.35) brightness(1.08);
  }
}

.home-live-brief-statgrid {
  --hb-pct: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(10px, 2vw, 14px);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 940px) {
  .home-live-brief-statgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-live-brief-hstat {
  --hb-pct: 55;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  padding: clamp(11px, 2.2vw, 13px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(120% 140% at 10% -10%, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.82, 0.28, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.home-live-brief-hstat:hover {
  transform: translateY(-3px);
  border-color: rgba(165, 180, 252, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.42);
}

.home-live-brief-hstat__icon {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: rgba(241, 245, 249, 0.95);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-live-brief-hstat__val {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  font-size: clamp(1.45rem, 4vw, 1.82rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: right;
}

.home-live-brief-hstat__lab {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 4px;
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(148, 163, 184, 0.95);
}

.home-live-brief-hstat__meter {
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  margin-top: 8px;
  height: 4px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.home-live-brief-hstat__meter > i {
  display: block;
  height: 100%;
  width: calc(var(--hb-pct, 0) * 1%);
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #5eead4, #818cf8);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.25);
  transition: width 0.55s cubic-bezier(0.2, 0.82, 0.28, 1);
}

.home-live-brief-hstat__meter--indigo > i {
  background: linear-gradient(90deg, #6366f1, #818cf8, #60a5fa);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

.home-live-brief-hstat__meter--violet > i {
  background: linear-gradient(90deg, #a855f7, #818cf8, #6366f1);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
}

.home-live-brief-hstat__meter--amber > i {
  background: linear-gradient(90deg, #fcd34d, #fbbf24, #fb923c);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.25);
}

.home-live-brief-hstat__meter--slate > i {
  background: linear-gradient(90deg, #64748b, #94a3b8);
  box-shadow: none;
}

.home-live-brief-hstat--live {
  border-color: rgba(52, 211, 153, 0.32);
}

.home-live-brief-hstat--live .home-live-brief-hstat__val span {
  color: #6ee7b7;
}

.home-live-brief-hstat--live .home-live-brief-hstat__icon {
  color: #6ee7b7;
}

.home-live-brief-hstat--draft .home-live-brief-hstat__val span {
  color: #fde68a;
}

.home-live-brief-hstat--draft .home-live-brief-hstat__icon {
  color: #fbbf24;
}

.home-live-brief-hstat--accent .home-live-brief-hstat__val span {
  color: #a5b4fc;
}

.home-live-brief-hstat--accent .home-live-brief-hstat__icon {
  color: #a5b4fc;
}

.home-live-brief-hstat--violet .home-live-brief-hstat__val span {
  color: #d8b4fe;
}

.home-live-brief-hstat--muted .home-live-brief-hstat__val span {
  color: #cbd5e1;
}

.home-live-brief-modal__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.home-live-brief-modal__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.92rem;
  border-radius: 999px;
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 20% -20%, rgba(99, 102, 241, 0.15), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(6px);
}

.home-live-brief-modal__chips i {
  color: #5eead4;
  font-size: 0.95rem;
}

.home-live-brief-modal__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.32rem 0.82rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #bbf7d0;
  background: rgba(22, 101, 52, 0.2);
}

.home-live-brief-modal__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

.home-live-brief-modal__pill--pulse .home-live-brief-modal__pill-dot {
  animation: homeBriefPillGlow 0.85s ease;
}

@keyframes homeBriefPillGlow {
  0%,
  100% {
    box-shadow: none;
    transform: scale(1);
  }
  35% {
    box-shadow:
      0 0 0 4px rgba(52, 211, 153, 0.25),
      0 0 18px rgba(52, 211, 153, 0.45);
    transform: scale(1.15);
  }
}

.home-live-brief-modal__time {
  margin: 0;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.9);
  white-space: nowrap;
}

.home-hero-stat--live {
  border-color: rgba(52, 211, 153, 0.32);
  background: rgba(6, 95, 70, 0.15);
}

.home-hero-stat--live .home-hero-stat__val {
  color: #6ee7b7;
}

@keyframes homeStatFlash {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.08);
    filter: brightness(1.25);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.home-hero-stat--flash .home-hero-stat__val {
  animation: homeStatFlash 0.55s cubic-bezier(0.25, 0.82, 0.28, 1);
}

.home-live-brief-hstat--flash .home-live-brief-hstat__val {
  animation: homeStatFlash 0.55s cubic-bezier(0.25, 0.82, 0.28, 1);
}

.home-live-brief-modal__lists {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 939px) {
  .home-live-brief-modal__lists {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-live-brief-modal__aside {
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-md) 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    margin-top: var(--spacing-xs);
  }
}

.home-live-brief-modal__listtitle {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--font-sm);
  font-weight: 800;
  color: rgba(248, 250, 252, 0.95);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.home-live-brief-modal__listtitle i {
  color: #fbbf24;
  font-size: 0.95rem;
}

.home-live-brief-modal__listblock--past .home-live-brief-modal__listtitle i {
  color: #94a3b8;
}

.home-live-brief-modal__empty {
  margin: 0;
  font-size: var(--font-sm);
  color: rgba(148, 163, 184, 0.88);
  font-style: italic;
}

.home-live-brief-modal__spotlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-live-brief-spot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: rgba(241, 245, 249, 0.97);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.home-live-brief-spot:hover {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(2px);
}

.home-live-brief-spot__type {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #a5b4fc;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.25);
  white-space: nowrap;
}

.home-live-brief-spot--draft .home-live-brief-spot__type {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.28);
}

.home-live-brief-spot__title {
  min-width: 0;
  font-size: var(--font-sm);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.home-live-brief-spot__meta {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  text-align: right;
  white-space: nowrap;
}

.home-live-brief-spot--past {
  grid-template-columns: 1fr auto;
  opacity: 0.92;
}

.home-live-brief-spot--past .home-live-brief-spot__meta {
  color: #94a3b8;
}

@media (max-width: 420px) {
  .home-live-brief-spot {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .home-live-brief-spot__meta {
    text-align: left;
    white-space: normal;
  }

  .home-live-brief-spot--past {
    grid-template-columns: 1fr;
  }

  .home-live-brief-modal__shell {
    max-height: 92vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-intro-compact__pulse-dot,
  .home-live-brief-modal__pill--pulse .home-live-brief-modal__pill-dot,
  .home-hero-stat--flash .home-hero-stat__val,
  .home-live-brief-hstat--flash .home-live-brief-hstat__val {
    animation: none !important;
  }

  .home-live-brief-modal__backdrop,
  .home-live-brief-modal__orb,
  .home-live-brief-modal__ring,
  .home-live-brief-modal__logo-ring,
  .home-live-brief-modal__spectrum-bar,
  .home-live-brief-modal--open .home-live-brief-ent {
    animation: none !important;
  }

  .home-live-brief-modal,
  .home-live-brief-modal__shell,
  .home-live-brief-spot,
  .home-live-brief-modal__x,
  .home-intro-compact__pulsebtn,
  .home-live-brief-hstat {
    transition: none !important;
  }

  .home-live-brief-modal--open {
    perspective: none;
  }

  .home-live-brief-modal--open .home-live-brief-modal__shell {
    transform: none !important;
  }

  .home-live-brief-spot:hover,
  .home-live-brief-hstat:hover {
    transform: none;
  }

  .home-live-brief-modal__x:hover {
    transform: none;
  }

  .home-intro-compact__pulsebtn:hover {
    transform: none;
  }
}

.home-category--tablet {
  width: 100%;
  margin-bottom: var(--spacing-2xl);
}

.home-category-tablet {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.home-category-tablet__device--ipad-landscape {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  border-radius: clamp(26px, 4vw, 40px);
  padding: 10px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 12%),
    linear-gradient(
      122deg,
      #4e5158 0%,
      #35373d 22%,
      #46484f 48%,
      #2a2c31 62%,
      #3d4047 100%
    );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 2px 3px rgba(255, 255, 255, 0.06) inset,
    0 -3px 8px rgba(0, 0, 0, 0.35) inset,
    0 36px 72px rgba(0, 0, 0, 0.48),
    0 14px 32px rgba(0, 0, 0, 0.28);
}

.home-category-tablet__device--ipad-landscape.home-category-tablet__device--past {
  filter: saturate(0.85) brightness(0.96);
  opacity: 0.99;
}

.home-category-tablet__device--ipad-landscape::before,
.home-category-tablet__device--ipad-landscape::after {
  content: none;
  display: none;
}

/* Linii tip „antennă” pe muchia de sus (plastic spate) */
.home-category-tablet__antenna-line {
  position: absolute;
  top: 7px;
  height: 2px;
  width: 18%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.45), transparent);
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

.home-category-tablet__antenna-line--tl {
  left: 9%;
}

.home-category-tablet__antenna-line--tr {
  right: 9%;
}

/* Bandă sus: pe landscape doar plastic (fără cameră); în portret cameră centrată deasupra ecranului */
.home-category-tablet__chin-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  min-height: 12px;
}

.home-category-tablet__camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #0f172a, #020617 72%);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.12) inset,
    0 1px 5px rgba(0, 0, 0, 0.65);
}

/* Landscape: cameră pe muchia scurtă STÂNGA, centrată pe verticală — opus butonului Home (dreapta) */
.home-category-tablet__camera--side-landscape {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Portret: aceeași logică (opus Home jos) → cameră sus centrat; ascunsă pe landscape */
.home-category-tablet__camera--top-portrait {
  display: none;
}

/* Landscape: ramă stânga | ecran | ramă dreapta cu Home */
.home-category-tablet__body {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.home-category-tablet__rail {
  flex-shrink: 0;
  align-self: stretch;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.home-category-tablet__rail--start {
  position: relative;
  width: 16px;
  flex: 0 0 16px;
  border-radius: 11px 0 0 11px;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

/* Paddle-uri volum pe muchia scurtă (doar desktop landscape) */
.home-category-tablet__paddle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5f6369, #3b3d42 50%, #2e3035);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    1px 0 0 rgba(255, 255, 255, 0.05);
}

.home-category-tablet__paddle--v1 {
  top: 22%;
  height: 24px;
}

.home-category-tablet__paddle--v2 {
  top: auto;
  bottom: 22%;
  height: 24px;
}

/* Șuruburi decor pe ramă (foarte discrete) */
.home-category-tablet__screw {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6b6f76, #3a3c41 70%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.5) inset;
  opacity: 0.55;
}

.home-category-tablet__screw--t {
  top: 10px;
}

.home-category-tablet__screw--b {
  bottom: 10px;
}

/* Zonă Home — lățime fixă ca să înconjoare cercul perfect */
.home-category-tablet__rail--end {
  width: 58px;
  flex: 0 0 58px;
  border-radius: 0 11px 11px 0;
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  gap: 0;
  box-sizing: border-box;
}

/* Buton Home — disc închis space gray + pătrat stil iOS vechi */
.home-category-tablet__home {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: default;
  pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #5e636b, #3e4248 42%, #2a2c31 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 2px 3px rgba(255, 255, 255, 0.1) inset,
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.home-category-tablet__home-inner {
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(180, 186, 198, 0.55);
  border-radius: 2px;
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.35);
  opacity: 0.88;
}

.home-category-tablet__screen-wrap {
  flex: 1;
  min-width: 0;
  padding: 5px;
  border-radius: 11px;
  background: linear-gradient(180deg, #1a1d24 0%, #0b0c10 100%);
  box-shadow:
    inset 0 0 0 2px #020305,
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-category-tablet__screen {
  position: relative;
  border-radius: 7px;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(185deg, #0d1324 0%, #030712 45%, #02050c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 48px rgba(0, 0, 0, 0.45);
  min-height: 100px;
}

/* Pseudo: tăietură reflex pe geam */
.home-category-tablet__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
  opacity: 0.65;
}

.home-category-tablet__screen > * {
  position: relative;
  z-index: 1;
}


/* ≤1024px: layout tip telefon (după regulile de bază tableta, altfel row/58px le suprascriu). */
@media (max-width: 1024px) {
  .home-category-tablet__device--ipad-landscape::before,
  .home-category-tablet__device--ipad-landscape::after {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
    z-index: 3;
    width: 3px;
    left: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #5a5d63, #383a3f 55%, #2a2c30);
    box-shadow:
      0 0 0 0.5px rgba(0, 0, 0, 0.4) inset,
      1px 0 0 rgba(255, 255, 255, 0.04);
  }

  .home-category-tablet__device--ipad-landscape::before {
    top: 33%;
    height: 32px;
  }

  .home-category-tablet__device--ipad-landscape::after {
    top: 47%;
    height: 20px;
  }

  .home-category-tablet__device--ipad-landscape {
    padding: 10px 14px 10px;
    border-radius: 24px;
  }

  .home-category-tablet__antenna-line--tl {
    width: 22%;
    left: 6%;
  }

  .home-category-tablet__antenna-line--tr {
    width: 22%;
    right: 6%;
  }

  .home-category-tablet__chin-top {
    display: flex;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 7px 12px 8px;
    min-height: 20px;
  }

  .home-category-tablet__camera--top-portrait {
    display: block;
  }

  .home-category-tablet__camera--side-landscape {
    display: none;
  }

  .home-category-tablet__body {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .home-category-tablet__rail--start {
    display: none;
  }

  .home-category-tablet__screen-wrap {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 12px;
    padding: 4px;
  }

  .home-category-tablet__screen {
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
  }

  .home-category-tablet__rail--end {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-top: auto;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px 14px 9px;
    border-radius: 0 0 18px 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .home-category-tablet__home {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    align-self: center;
  }

  .home-category-tablet__home-inner {
    width: 13px;
    height: 13px;
  }
}

.home-category__accent {
  display: none;
}

.home-category__blurb {
  margin: -0.25rem 0 var(--spacing-lg);
  font-size: var(--font-sm);
  line-height: 1.55;
  color: var(--text-tertiary);
  max-width: 52ch;
}

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

/* ========== Modal homepage · Radar live (hub) ========== */
.home-live-brief-modal__shell--hub {
  max-height: min(94vh, 980px);
}

.home-live-hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.45rem);
  padding: clamp(1.1rem, 3vw, 1.65rem);
  padding-top: clamp(2.85rem, 5vw, 3.25rem);
}

.home-live-hub__head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.home-live-hub__brand-lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
}

.home-live-hub__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-left: auto;
}

.home-live-hub__title {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.home-live-hub__lead {
  margin: 0;
  max-width: 62ch;
  font-size: var(--font-xs);
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.82);
}

/* Banda compactă „dashboard” — toate KPI într-un rând flex */
.home-live-hub__dash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0.2rem 0 0.5rem;
  padding: 0.32rem 0.45rem;
  border-radius: 11px;
  background: rgba(4, 8, 20, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.home-live-hub__dash-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}

.home-live-hub__dash-group--activity {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.home-live-hub__dash-vr {
  flex: 0 0 auto;
  width: 1px;
  height: 1.1rem;
  align-self: center;
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.35), transparent);
  opacity: 0.85;
}

@media (max-width: 520px) {
  .home-live-hub__dash-vr {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.28), transparent);
  }

  .home-live-hub__dash-group--activity {
    justify-content: flex-start;
  }
}

.home-live-hub__dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.12rem 0.4rem 0.12rem 0.32rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(241, 245, 249, 0.95);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-live-hub__dash-chip i {
  font-size: 0.58rem;
  opacity: 0.88;
  width: 1em;
  text-align: center;
}

.home-live-hub__dash-num {
  font-size: 0.78rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  min-width: 0.85em;
  text-align: center;
}

.home-live-hub__dash-lab {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: rgba(203, 213, 225, 0.72);
}

.home-live-hub__dash-chip--live {
  border-color: rgba(52, 211, 153, 0.22);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(15, 23, 42, 0.7));
}

.home-live-hub__dash-chip--live i {
  color: #5eead4;
}

.home-live-hub__dash-chip--draft {
  border-color: rgba(251, 191, 36, 0.25);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(15, 23, 42, 0.72));
}

.home-live-hub__dash-chip--draft i {
  color: #fbbf24;
}

.home-live-hub__dash-chip--ind {
  border-color: rgba(99, 102, 241, 0.22);
}

.home-live-hub__dash-chip--ind i {
  color: #a5b4fc;
}

.home-live-hub__dash-chip--lot {
  border-color: rgba(167, 139, 250, 0.22);
}

.home-live-hub__dash-chip--lot i {
  color: #c4b5fd;
}

.home-live-hub__dash-chip--end {
  border-color: rgba(148, 163, 184, 0.18);
}

.home-live-hub__dash-chip--end i {
  color: rgba(148, 163, 184, 0.9);
}

.home-live-hub__dash-chip--pulse {
  border-color: rgba(34, 211, 238, 0.22);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(15, 23, 42, 0.65));
}

.home-live-hub__dash-chip--pulse i {
  color: #67e8f9;
}

@keyframes homeDashChipFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    border-color: rgba(52, 211, 153, 0.5);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    border-color: rgba(255, 255, 255, 0.07);
  }
}

.home-live-hub__dash-chip--flash {
  animation: homeDashChipFlash 0.85s ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-live-hub__dash-chip--flash {
    animation: none;
  }
}

.home-live-hub__block-title {
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.95);
}

.home-live-hub__block-title i {
  font-size: 0.95rem;
  opacity: 0.9;
  color: #5eead4;
}

.home-live-hub__gallery {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.35rem;
  margin: 0 -0.15rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-live-hub__gallery::-webkit-scrollbar {
  height: 5px;
}

.home-live-hub__gallery::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 248, 0.35);
  border-radius: 999px;
}

.home-live-hub__gal-card {
  position: relative;
  flex: 0 0 auto;
  width: min(132px, 36vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(9, 12, 24, 0.65);
  padding: 5px;
}

.home-live-hub__gal-bidcount {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  max-width: calc(100% - 10px);
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  line-height: 1.2;
}

.home-live-hub__gal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.home-live-hub__gal-card:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.95);
  outline-offset: 3px;
}

.home-live-hub__gal-frame {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-md) - 3px);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.96));
}

.home-live-hub__gal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-live-hub__gal-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: rgba(148, 163, 184, 0.45);
}

.home-live-hub__gal-card--empty .home-live-hub__gal-frame {
  opacity: 0.5;
}

.home-live-hub__gal-type {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #a5b4fc;
  padding: 0 3px;
}

.home-live-hub__gal-dev {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(226, 232, 240, 0.85);
  padding: 0 3px 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-live-hub__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 880px) {
  .home-live-hub__split {
    grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr);
    align-items: stretch;
  }
}

.home-live-hub__panel {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(5, 8, 18, 0.42);
}

.home-live-hub__panel--feed {
  border-color: rgba(251, 191, 36, 0.12);
  background: linear-gradient(165deg, rgba(251, 191, 36, 0.06), rgba(5, 8, 18, 0.5));
}

.home-live-hub__panel--chart {
  border-color: rgba(34, 211, 238, 0.15);
  background: linear-gradient(195deg, rgba(34, 211, 238, 0.07), rgba(5, 8, 18, 0.52));
}

.home-live-hub__feed-scroll {
  max-height: clamp(220px, 32vh, 320px);
  overflow: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.home-live-hub__feed {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-live-hub__feed-row--compact {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.45rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.55);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.16s ease;
}

.home-live-hub__feed-row--compact:hover {
  border-color: rgba(253, 224, 71, 0.28);
  background: rgba(30, 41, 59, 0.65);
}

/* Rând compact: iconuri | oră | acțiune (cine ce face) | sumă; rând2 meta */
.home-live-hub__feed-kind {
  grid-row: 1;
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.58rem;
  color: rgba(251, 191, 36, 0.95);
}

.home-live-hub__feed-kind .fa-arrow-up {
  color: #4ade80;
}

.home-live-hub__feed-kind .fa-arrow-down {
  color: #fb923c;
}

.home-live-hub__feed-kind .fa-level-up-alt,
.home-live-hub__feed-kind .fa-gavel {
  color: #a5b4fc;
}

.home-live-hub__feed-time {
  grid-row: 1;
  grid-column: 2;
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(148, 163, 184, 0.9);
  white-space: nowrap;
}

.home-live-hub__feed-amount {
  grid-row: 1;
  grid-column: 4;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #5eead4;
  white-space: nowrap;
}

.home-live-hub__feed-core {
  grid-row: 1;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.3rem;
  min-width: 0;
}

.home-live-hub__feed-who {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8fafc;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-live-hub__feed-verb {
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.94);
  white-space: normal;
}

.home-live-hub__feed-who--sup {
  color: rgba(226, 232, 240, 0.85);
}

.home-live-hub__feed-vs {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.75);
}

.home-live-hub__feed-row--compact:has(.home-live-hub__feed-legacy) .home-live-hub__feed-amount {
  display: none;
}

.home-live-hub__feed-meta {
  grid-row: 2;
  grid-column: 1 / -1;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(186, 230, 253, 0.78);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-live-hub__feed-legacy {
  grid-row: 1;
  grid-column: 3 / -1;
  font-size: 0.62rem;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 520px) {
  .home-live-hub__feed-row--compact {
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto auto;
  }

  .home-live-hub__feed-kind {
    grid-row: 1;
    grid-column: 1;
  }

  .home-live-hub__feed-time {
    grid-column: 2;
  }

  .home-live-hub__feed-amount {
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
  }

  .home-live-hub__feed-core,
  .home-live-hub__feed-legacy {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .home-live-hub__feed-meta {
    grid-row: 3;
  }
}

.home-live-hub__feed-row:not(.home-live-hub__feed-row--compact) {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.5rem;
  align-items: start;
  padding: 0.52rem 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.55);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.16s ease;
}

@keyframes homeHubFeedPop {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
    border-color: rgba(52, 211, 153, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
    border-color: rgba(255, 255, 255, 0.06);
  }
}

.home-live-hub__feed-row--pop {
  animation: homeHubFeedPop 1.1s ease-out 1;
}

.home-live-hub__empty {
  margin: 0.4rem 0 0;
  font-size: var(--font-xs);
  color: rgba(148, 163, 184, 0.8);
}

.home-live-hub__chart-hint {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.82);
}

.home-live-hub__chart {
  width: 100%;
}

.home-live-hub__chart-svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 88px;
}

.home-live-hub__chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.home-live-hub__shortcuts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-live-hub__shortcuts {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.home-live-hub__shortcut-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.9);
}

.home-live-hub__shortcut-title--past {
  color: rgba(148, 163, 184, 0.85);
}

.home-live-hub__shortcut-cta {
  margin: 0.65rem 0 0;
  text-align: center;
}

.home-live-hub__shortcut-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(167, 139, 250, 0.95);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(109, 40, 217, 0.1);
  transition: background 0.15s ease, color 0.15s ease;
}

.home-live-hub__shortcut-more:hover {
  color: #e9d5ff;
  background: rgba(109, 40, 217, 0.18);
}

@media (max-width: 768px) {
  .home-live-brief-modal__shell--hub {
    max-height: min(96vh, 1000px);
    top: max(6px, env(safe-area-inset-top, 0px));
    bottom: max(6px, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-live-hub__feed-row--pop {
    animation: none;
  }
}

/* ========== FOOTER PREMIUM ========== */
.site-footer.site-footer--premium {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 0;
  text-align: left;
  font-size: var(--font-sm);
  color: var(--text-muted);
  border-top: none;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 18, 0.92) 24%, #050810 100%);
}

.site-footer.site-footer--premium .site-footer__gradient-top {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.9) 18%,
    rgba(34, 211, 238, 0.85) 50%,
    rgba(167, 139, 250, 0.9) 82%,
    transparent 100%
  );
  opacity: 0.95;
}

.site-footer.site-footer--premium .site-footer__inner {
  display: grid;
  grid-template-columns: 1.35fr minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--spacing-lg);
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.footer-brand__logo-link {
  display: block;
  line-height: 0;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.2);
  transition: transform 0.25s ease;
}

.footer-brand__logo-link:hover {
  transform: translateY(-2px) scale(1.03);
}

.footer-brand__logo-link:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 4px;
}

.footer-brand__logo {
  display: block;
  width: 56px;
  height: auto;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.footer-brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-brand__name {
  font-size: var(--font-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.footer-brand__tagline {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  line-height: 1.45;
}

.footer-brand__legal {
  margin: var(--spacing-sm) 0 0;
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.footer-block__title {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.footer-block__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-block__nav a {
  color: rgba(226, 232, 240, 0.75);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-block__nav a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact-link i {
  width: 1.1rem;
  text-align: center;
  color: #818cf8;
}

.footer-contact-link--wa i {
  color: #34d399;
}

.site-footer.site-footer--premium .site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
}

.site-footer.site-footer--premium .site-footer__copy {
  display: inline-block;
  margin: 0;
  font-size: var(--font-xs);
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.9);
}

.site-footer.site-footer--premium .site-footer__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 1rem;
  margin: 0 auto var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--font-xs);
  line-height: 1.4;
}

.site-footer.site-footer--premium .site-footer__partners-label {
  color: rgba(148, 163, 184, 0.85);
  letter-spacing: 0.02em;
}

.site-footer.site-footer--premium .site-footer__partners a {
  color: rgba(226, 232, 240, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer.site-footer--premium .site-footer__partners a:hover,
.site-footer.site-footer--premium .site-footer__partners a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* Footer „dock” autohide: implicit `app.locals.footerDock` (Licitație GSM); rutele pot renunța cu locals.footerDock: false */
body.footer-dockhide-active .site-footer.site-footer--premium.site-footer--dockhide {
  position: fixed;
  left: var(--nav-left);
  right: 0;
  bottom: var(--nav-bottom, 0px);
  z-index: 1780;
  margin-top: 0;
  max-height: min(76vh, 620px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(0, calc(110% + 24px), 0);
  pointer-events: none;
  box-shadow: 0 -24px 0 rgba(0, 0, 0, 0);
  transition:
    transform 0.48s cubic-bezier(0.2, 0.85, 0.26, 1),
    box-shadow 0.38s ease,
    filter 0.32s ease;
  will-change: transform;
  border-top: none;
  background: linear-gradient(188deg, rgba(10, 13, 26, 0.98) 0%, #050810 100%);
}

body.footer-dockhide-active .site-footer.site-footer--premium.site-footer--dockhide.site-footer--dockhide--open {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  box-shadow: 0 -36px 120px rgba(0, 0, 0, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  body.footer-dockhide-active .site-footer.site-footer--premium.site-footer--dockhide {
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .home-intro-compact {
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-md);
  }

  .home-intro-compact__row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .home-intro-compact__title {
    flex: 0 0 auto;
    width: 100%;
  }

  .home-intro-compact__pulsebtn {
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 22rem;
  }

  .home-hero-premium__stats .home-hero-stat {
    flex: 1 1 calc(50% - var(--spacing-sm));
    min-width: calc(50% - var(--spacing-sm));
  }

  .site-footer.site-footer--premium .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
  }

  .footer-block__nav a:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-premium__aura {
    animation: none;
  }
}

/* —— Magazin permanent (vitrină + sidebar licitație) —— */
.landing-shop-crumb-sep {
  margin: 0 0.45rem;
  opacity: 0.55;
}
.landing-shop-crumb-current {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.gsm-perm-store-card.gsm-session-card--clickable {
  position: relative;
}

.perm-shop-hero {
  margin-bottom: var(--spacing-lg, 1.25rem);
  padding: clamp(1rem, 2.8vw, 1.65rem);
}
.perm-shop-hero__row {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
}
.perm-shop-hero__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.perm-shop-hero__hint {
  margin: 0.35rem 0 0;
  color: rgba(148, 163, 184, 0.95);
}
.perm-shop-hero__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
}
.perm-shop-grid-wrap {
  margin-top: 0.5rem;
}
.perm-shop-results-hint {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.92);
}
.perm-shop-results-hint span {
  font-weight: 700;
  color: rgba(226, 232, 240, 0.98);
}
.perm-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(246px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.35rem);
}
.perm-shop-product {
  display: flex;
  gap: var(--spacing-sm);
  padding: clamp(0.75rem, 2vw, 1rem);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.perm-shop-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}
.perm-shop-product__thumb {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(15, 23, 42, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.perm-shop-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.perm-shop-product__thumb-ph {
  color: rgba(148, 163, 184, 0.7);
  font-size: 1.75rem;
}
.perm-shop-product__ribbon {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(127, 29, 29, 0.9);
  color: #fee2e2;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 3px 0;
  letter-spacing: 0.02em;
}
.perm-shop-product__body {
  min-width: 0;
}
.perm-shop-product__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
}
.perm-shop-product__meta {
  margin: 0 0 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
}
.perm-shop-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(30, 41, 69, 0.55);
}
.perm-shop-chip--grade {
  background: rgba(59, 130, 246, 0.15);
}
.perm-shop-product__price {
  margin: 0 0 0.25rem;
  font-weight: 800;
  font-size: 1.07rem;
  color: rgba(252, 211, 77, 0.96);
}
.perm-shop-product__session {
  margin: 0;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.7);
}

.gsm-badge-soft-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
  color: rgb(167, 243, 208);
  border: 1px solid rgba(34, 197, 94, 0.32);
}

.badge-soft-stock.gsm-badge-soft-stock i {
  opacity: 0.88;
}

.gsm-permanent-stock-lbl {
  font-variant-numeric: tabular-nums;
}

/* ── Marketplace: antet pagină + coș (doar în secțiunea marketplace) ── */
.mp-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(10px, 2vw, 18px);
}
.mp-page-head .landing-ended__crumb {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}
.mp-page-head--stack-crumb .landing-ended__crumb {
  flex: 1 1 100%;
}
@media (min-width: 640px) {
  .mp-page-head--stack-crumb .landing-ended__crumb {
    flex: 1 1 auto;
  }
}
.mp-page-toolbar {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: flex-start;
}
.mp-cart-launcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.45rem 1rem;
}
.mp-cart-launcher-btn__text {
  font-weight: 650;
}
.mp-cart-launcher-btn__badge {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2rem;
  text-align: center;
  background: rgba(59, 130, 246, 0.92);
  color: #fff;
  margin-left: 2px;
}
.marketplace-product-body .mp-page-head {
  margin-bottom: 1rem;
}

/* ── Marketplace: PDP + coș ── */
.marketplace-product-body .mp-breadcrumb {
  margin-bottom: 0;
}
.mp-product {
  padding: 1rem 1.1rem 1.25rem;
}
.mp-product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .mp-product__grid {
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
    gap: 1.75rem;
  }
}
.mp-gallery__hero {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.45);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mp-gallery__ph {
  font-size: 3rem;
  color: rgba(148, 163, 184, 0.5);
  padding: 2rem;
}
.mp-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mp-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
}
.mp-gallery__thumb.is-active {
  border-color: rgba(59, 130, 246, 0.85);
}
.mp-gallery__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.mp-detail__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.95);
}
.mp-detail__title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  line-height: 1.25;
}
.mp-detail__session {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.85);
}
.mp-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}
.mp-detail__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: rgba(252, 211, 77, 0.96);
  margin: 0 0 0.5rem;
}
.mp-detail__stock {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.9);
}
.mp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.25rem 0 1rem;
}
.mp-banner {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.mp-banner--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: rgb(187, 247, 208);
}
.mp-obs__title {
  font-size: 1rem;
  margin: 1rem 0 0.35rem;
}
.mp-obs__text,
.mp-obs__list {
  font-size: 0.92rem;
  color: rgba(203, 213, 225, 0.95);
  margin: 0;
  padding-left: 1.1rem;
}
.app-sidebar__link .app-sidebar__cart-badge {
  margin-left: auto;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
  background: rgba(59, 130, 246, 0.9);
  color: #fff;
}
.mp-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 12030;
}
.mp-cart-drawer[hidden] {
  display: none !important;
}
body.mp-cart-open {
  overflow: hidden;
}
.mp-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(4px);
}
.mp-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100vw - 40px);
  max-width: 100%;
  border-radius: 0;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.mp-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.mp-cart-drawer__title {
  margin: 0;
  font-size: 1.05rem;
}
.mp-cart-drawer__close {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.mp-cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 12px 14px;
}
.mp-cart-drawer__foot {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.mp-cart-drawer__checkout {
  width: 100%;
}
.mp-cart-drawer__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.45;
}
.mp-cart-empty {
  margin: 1rem 0;
  color: rgba(148, 163, 184, 0.9);
}
.mp-cart-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.mp-cart-line__title {
  font-weight: 600;
  font-size: 0.95rem;
}
.mp-cart-line__meta {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
  margin-top: 2px;
}
.mp-cart-line__rm {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: rgba(248, 113, 113, 0.95);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

/* Admin — procesare dispozitive Flip (modale full-screen) */
.flip-proc-modal .org-new-session-modal__panel {
  width: min(96vw, 1280px);
  max-height: min(94vh, 980px);
}
.flip-proc-edit-modal {
  z-index: 100600;
}
.flip-proc-edit-modal .org-new-session-modal__panel {
  width: min(92vw, 720px);
  max-height: min(92vh, 880px);
}
.flip-proc-search {
  margin-bottom: var(--spacing-md);
}
.flip-proc-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(6, 10, 26, 0.55);
}
.flip-proc-search__field i {
  opacity: 0.75;
}
.flip-proc-search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  outline: none;
}
.flip-proc-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}
.flip-proc-result {
  width: 100%;
  text-align: left;
  border-radius: var(--radius-md);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(15, 18, 38, 0.65);
  padding: 12px 14px;
  cursor: pointer;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.flip-proc-result:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15);
}
.flip-proc-result--annex-only {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.35);
}
.flip-proc-result__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
}
.flip-proc-result__id {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: #a5b4fc;
}
.flip-proc-result__title {
  font-size: 0.82rem;
  opacity: 0.85;
}
.flip-proc-result__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px 14px;
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  opacity: 0.92;
}
.flip-proc-result__obs {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.88;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flip-proc-ph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.flip-proc-ph-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(4, 8, 22, 0.65);
}
.flip-proc-ph-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flip-proc-ph-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 0;
  background: rgba(127, 29, 29, 0.92);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}
.flip-proc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.flip-proc-muted {
  font-size: 0.82rem;
  opacity: 0.78;
  margin-top: 8px;
}

/* Feedback salvare procesare Flip */
.flip-proc-feedback {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.35;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.flip-proc-feedback--idle:empty {
  display: none;
}
.flip-proc-feedback--idle:not(:empty) {
  display: block;
  font-weight: 400;
  opacity: 0.88;
  padding: 6px 0;
  background: transparent;
  border: 0;
}
.flip-proc-feedback--loading {
  font-weight: 600;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.38);
  color: #c7d2fe;
}
.flip-proc-feedback--success {
  font-weight: 600;
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.42);
  color: #86efac;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12);
}
.flip-proc-feedback--error {
  font-weight: 600;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}
.flip-proc-actions .btn-primary.is-loading {
  opacity: 0.75;
  pointer-events: none;
}
.flip-proc-actions .btn-primary.flip-proc-save--ok {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
}

/* ── Export CSV GSMOS (admin dashboard) ── */
.gsmos-export-modal .org-new-session-modal__panel {
  width: min(720px, calc(100vw - 1.5rem));
}
.gsmos-export-ids {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}
.gsmos-export-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.gsmos-export-toolbar--footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.gsmos-export-list-wrap {
  margin: 1rem 0;
  max-height: 280px;
  overflow: auto;
}
.gsmos-export-empty {
  margin: 0;
  color: var(--text-tertiary, #94a3b8);
  font-size: 0.9rem;
}
ul.gsmos-export-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.gsmos-export-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem 5.5rem 2.25rem;
  gap: 0.5rem;
  padding: 0 0.75rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary, #94a3b8);
}
.gsmos-export-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem 5.5rem 2.25rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 560px) {
  .gsmos-export-list-head {
    display: none;
  }
  .gsmos-export-item {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .gsmos-export-item__main {
    grid-column: 1 / -1;
  }
  .gsmos-export-item__remove {
    justify-self: end;
  }
}
.gsmos-export-item__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.gsmos-export-item__id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--accent, #8b5cf6);
}
.gsmos-export-item__title {
  font-weight: 600;
}
.gsmos-export-item__meta {
  font-size: 0.8rem;
  color: var(--text-tertiary, #94a3b8);
}
.gsmos-export-price {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
}
.gsmos-export-price .admin-input {
  width: 100%;
  min-width: 0;
  padding: 0.35rem 0.4rem;
  font-size: 0.85rem;
  text-align: right;
}
.gsmos-export-price--purchase .admin-input {
  opacity: 0.85;
  cursor: default;
}
.gsmos-export-price--sale .admin-input {
  border-color: rgba(139, 92, 246, 0.45);
}
.gsmos-export-price__unit {
  font-size: 0.7rem;
  color: var(--text-tertiary, #94a3b8);
  flex-shrink: 0;
}
.gsmos-export-defaults {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.gsmos-export-defaults legend {
  font-weight: 600;
  padding: 0 0.25rem;
}
.gsmos-export-status--loading {
  color: #93c5fd;
}
.gsmos-export-status--success {
  color: #86efac;
}
.gsmos-export-status--error {
  color: #fca5a5;
}

/* ── QR packing scanner (session detail) ── */
.session-edit-modal__panel--qr-packing {
  width: min(960px, calc(100vw - 1.5rem));
  max-height: min(92vh, 900px);
}
.gsm-qr-pack__layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 760px) {
  .gsm-qr-pack__layout {
    grid-template-columns: 1fr;
  }
}
.gsm-qr-pack__reader {
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gsm-qr-pack__reader video {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}
.gsm-qr-pack__feedback {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.35;
}
.gsm-qr-pack__feedback--ok {
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.42);
  color: #86efac;
}
.gsm-qr-pack__feedback--warn {
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #fde68a;
}
.gsm-qr-pack__feedback--error {
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}
.gsm-qr-pack__feedback--pending {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
}
.gsm-qr-pack__manual {
  margin-top: 0.85rem;
}
.gsm-qr-pack__manual-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  opacity: 0.85;
}
.gsm-qr-pack__manual-row {
  display: flex;
  gap: 0.5rem;
}
.gsm-qr-pack__manual-row .admin-input {
  flex: 1 1 auto;
  min-width: 0;
}
.gsm-qr-pack__list-col {
  min-height: 280px;
  max-height: min(62vh, 560px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}
.gsm-qr-pack__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gsm-qr-pack__stats {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.9;
}
.gsm-qr-pack__list {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.65rem 0.85rem 0.85rem;
}
.gsm-qr-pack__empty {
  margin: 0;
  opacity: 0.75;
  font-size: 0.9rem;
}
.gsm-qr-pack__group + .gsm-qr-pack__group {
  margin-top: 0.85rem;
}
.gsm-qr-pack__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.gsm-qr-pack__group-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}
.gsm-qr-pack__group-count {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.gsm-qr-pack__group--unsold .gsm-qr-pack__group-title {
  color: #fca5a5;
}
.gsm-qr-pack__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gsm-qr-pack__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.65rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}
.gsm-qr-pack__item:first-child {
  border-top: 0;
}
.gsm-qr-pack__flip {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #93c5fd;
}
.gsm-qr-pack__device {
  opacity: 0.92;
  word-break: break-word;
}
