:root {
  --brand-purple: #b388ff;
  --brand-purple-deep: #7c4dff;
  --brand-orange: #ff9100;
  --brand-orange-deep: #ff6d00;
  --surface: #f8f5ff;
  --text: #2d2640;
  --card-bg: #ffffff;
  --hero-dark: #1a0f2e;
  --hero-mid: #2d1b4e;
  /* Lățime confortabilă pe site-ul public (nu „fullscreen” pe monitor lat) */
  --site-container-max: 66rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #f4f0fb;
  min-height: 100vh;
}

/* —— Homepage „popularitate-style” —— */
.page-home {
  margin-top: -0.25rem;
}

.trust-bar {
  background: var(--hero-mid);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 145, 0, 0.18);
}

.hero-pop {
  background: linear-gradient(145deg, var(--hero-dark) 0%, var(--hero-mid) 55%, #352652 100%);
  position: relative;
  overflow: hidden;
}

.hero-pop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse min(44rem, 92vw) 48% at 50% -12%, rgba(255, 145, 0, 0.11), transparent 68%),
    radial-gradient(ellipse min(40rem, 88vw) 42% at 50% 108%, rgba(179, 136, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.hero-pop .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 600;
}

.hero-title {
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  opacity: 0.92;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep));
  border: none;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 109, 0, 0.35);
}

.btn-hero-primary:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* Hero — înregistrare / autentificare */
.hero-auth-cta {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 0.9rem;
  min-width: min(100%, 17rem);
  flex: 1 1 14rem;
  max-width: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
}

.hero-auth-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hero-auth-btn__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hero-auth-btn__label {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-auth-btn__hint {
  font-size: 0.78rem;
  opacity: 0.82;
  font-weight: 500;
  line-height: 1.25;
}

.hero-auth-btn--primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep));
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 28px rgba(255, 109, 0, 0.4);
}

.hero-auth-btn--primary .hero-auth-btn__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-auth-btn--primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 109, 0, 0.48);
}

.hero-auth-btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.hero-auth-btn--ghost .hero-auth-btn__icon {
  background: rgba(179, 136, 255, 0.2);
  color: var(--brand-purple);
}

.hero-auth-btn--ghost:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 77, 255, 0.22);
}

.hero-auth-btn:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.bg-section {
  background: #f5f2fb;
}

.section-title {
  color: var(--brand-purple-deep);
}

.section-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-deep);
}

.section-title-lg {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trust-bar__grid {
  line-height: 1.35;
}

@media (min-width: 768px) {
  .trust-bar__grid {
    font-size: 0.8375rem;
  }
}

.checkout-hint-boost {
  border-left: 4px solid var(--brand-orange-deep) !important;
  background: linear-gradient(90deg, rgba(255, 145, 0, 0.06), #fff 28%) !important;
}

.home-section--steps .step-card--conv {
  position: relative;
  border: 1px solid rgba(124, 77, 255, 0.14);
  box-shadow: 0 8px 28px rgba(45, 38, 64, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-section--steps .step-card--conv:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 77, 255, 0.14);
  border-color: rgba(255, 109, 0, 0.35);
}

.step-card__num {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, var(--brand-purple-deep), var(--brand-orange-deep));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
}

.why-card--conv {
  border: 1px solid rgba(124, 77, 255, 0.12);
  border-radius: 1rem;
  box-shadow: 0 6px 22px rgba(45, 38, 64, 0.06);
  background: linear-gradient(165deg, #fff 0%, #faf8ff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card--conv:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(124, 77, 255, 0.12);
}

.why-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(124, 77, 255, 0.1);
}

.why-card--conv .why-icon {
  font-size: 1.5rem;
}

.stats-panel {
  max-width: 58rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 15, 46, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  background: linear-gradient(135deg, #2d1b4e 0%, var(--brand-purple-deep) 40%, #5c2d8f 100%);
}

.stats-panel__cell {
  padding: 1.35rem 0.85rem;
  color: #fff;
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 767.98px) {
  .stats-panel__grid .col:nth-child(2n) .stats-panel__cell {
    border-right: none;
  }
  .stats-panel__grid .col:nth-child(n + 3) .stats-panel__cell {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .stats-panel__grid .col .stats-panel__cell {
    border-bottom: none;
  }
  .stats-panel__grid .col:last-child .stats-panel__cell {
    border-right: none;
  }
}

.stats-panel .stats-num {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.stats-panel .stats-label {
  font-size: 0.78rem;
  opacity: 0.88;
  max-width: 11rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}

.faq-acc--home .faq-acc__item {
  border-radius: 1rem !important;
  box-shadow: 0 6px 22px rgba(45, 38, 64, 0.07);
  background: #fff;
  border: 1px solid rgba(124, 77, 255, 0.1) !important;
}

.faq-acc--home .accordion-button {
  border-radius: 1rem !important;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.faq-acc--home .accordion-body {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.testimonial-card--home {
  display: flex;
  flex-direction: column;
  border-radius: 1.1rem;
  border: 1px solid rgba(124, 77, 255, 0.14);
  box-shadow: 0 8px 26px rgba(45, 38, 64, 0.07);
  background: linear-gradient(180deg, #fff 0%, #fdfbff 100%);
  border-left: 4px solid var(--brand-orange-deep);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card--home:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124, 77, 255, 0.11);
}

.testimonial-card__quote {
  line-height: 1.55;
  color: var(--text);
}

.cta-banner--home {
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem !important;
  padding-bottom: 3.75rem !important;
}

.cta-banner--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(179, 136, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(255, 145, 0, 0.35), transparent 45%);
  pointer-events: none;
}

.cta-banner--home .container {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.cta-banner__lead {
  font-size: 1.05rem;
}

.cta-banner__btn {
  border-radius: 999px;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.platform-scroll {
  row-gap: 0.5rem;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(124, 77, 255, 0.25);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 4px 14px rgba(124, 77, 255, 0.08);
}

.platform-pill:hover {
  border-color: var(--brand-orange-deep);
  color: var(--hero-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 109, 0, 0.2);
}

.platform-pill-icon {
  font-size: 1.35rem;
  color: var(--brand-purple-deep);
}

.service-card-pop {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(124, 77, 255, 0.12);
  box-shadow: 0 8px 28px rgba(45, 38, 64, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.service-card-pop:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(124, 77, 255, 0.15);
}

.service-badge-platform {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-purple-deep);
  background: rgba(124, 77, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
}

.service-card-pop-price {
  font-size: 0.95rem;
  color: var(--text);
}

.service-card-pop-price strong {
  color: var(--brand-orange-deep);
  font-size: 1.15rem;
}

.step-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(124, 77, 255, 0.1);
  box-shadow: 0 6px 20px rgba(45, 38, 64, 0.06);
}

.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
}

.why-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgba(124, 77, 255, 0.1);
}

.why-icon {
  font-size: 1.75rem;
  display: block;
}

.stats-row {
  background: linear-gradient(90deg, var(--brand-purple-deep), #5c3d9e);
  color: #fff;
}

.stats-num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.stats-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.faq-acc .accordion-button {
  box-shadow: none !important;
  background: #fff;
}

.faq-acc .accordion-button:not(.collapsed) {
  background: rgba(124, 77, 255, 0.08);
  color: var(--brand-purple-deep);
}

.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(124, 77, 255, 0.12);
  box-shadow: 0 6px 22px rgba(45, 38, 64, 0.07);
}

.testimonial-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple-deep), var(--brand-orange-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.cta-banner {
  background: linear-gradient(115deg, var(--hero-mid) 0%, #4a3770 58%, #5c2d6e 100%);
}

.navbar-faimos {
  background: linear-gradient(92deg, #231a36 0%, var(--brand-purple-deep) 62%, #4d2f78 100%) !important;
  box-shadow: 0 3px 18px rgba(18, 8, 36, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-faimos .container {
  --bs-gutter-x: 1.25rem;
}

.navbar-faimos__toggler {
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.12) !important;
}

.navbar-faimos__toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
}

.navbar-faimos__primary .nav-item {
  width: 100%;
}

@media (min-width: 992px) {
  .navbar-faimos__primary .nav-item {
    width: auto;
  }
}

.nav-faimos-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-faimos-link__icon {
  font-size: 1.15rem;
  opacity: 0.92;
  line-height: 1;
}

.nav-faimos-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  opacity: 1;
}

.nav-faimos-link.active {
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  color: #fff !important;
}

.nav-faimos-link--admin {
  border: 1px solid rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.1);
}

.nav-faimos-link--admin:hover {
  background: rgba(255, 193, 7, 0.2) !important;
}

/* Autentificare în navbar: BS pune .btn cu text închis — forțăm contrast pe fundal închis */
.navbar-faimos .navbar-faimos__actions .navbar-faimos__btn-ghost.btn {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.65);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.22);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.9);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.28);
  --bs-btn-active-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-width: 1.5px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.navbar-faimos .navbar-faimos__actions .navbar-faimos__btn-ghost.btn:hover,
.navbar-faimos .navbar-faimos__actions .navbar-faimos__btn-ghost.btn:focus-visible {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.22) !important;
}

.navbar-faimos .navbar-faimos__actions .navbar-faimos__btn-ghost.btn .mdi {
  color: inherit;
  opacity: 0.95;
}

.navbar-faimos .navbar-brand,
.navbar-faimos .nav-link {
  color: #fff !important;
}

.navbar-faimos .nav-link {
  opacity: 0.95;
}

.navbar-faimos .navbar-brand {
  margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
  .nav-faimos-link {
    border-radius: 0.75rem;
    width: 100%;
  }
}

.navbar-brand-logo {
  display: block;
  height: auto;
  max-height: 2.5rem;
  width: auto;
  max-width: min(10.5rem, 42vw);
  object-fit: contain;
  object-position: left center;
}

.footer-brand-logo {
  height: auto;
  max-height: 1.75rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  opacity: 0.9;
}

.admin-sidebar-logo {
  display: block;
  height: auto;
  max-height: 2rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.admin-sidebar-logo:hover {
  opacity: 0.92;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep));
  border: none;
  color: #fff;
}

.btn-brand:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-outline-brand {
  border-color: var(--brand-purple-deep);
  color: var(--brand-purple-deep);
}

.btn-outline-brand:hover {
  background: var(--brand-purple-deep);
  color: #fff;
}

/* Comandă: pachete + panou deschis la #svc-… */
.home-service-row {
  scroll-margin-top: 5.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-service-row .service-order-panel {
  display: none;
  border-top: 1px solid rgba(124, 77, 255, 0.12);
  background: linear-gradient(180deg, rgba(248, 245, 255, 0.55) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.home-service-row:target .service-order-panel {
  display: block;
}

html.checkout-catalog-collapsed #comanda .anchor-platform,
html.checkout-catalog-collapsed #comanda .home-service-row {
  display: none !important;
}
html.checkout-catalog-collapsed #comanda #checkout-select-hint {
  display: block !important;
}
#checkout-select-hint[hidden] {
  display: none !important;
}


.service-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
}

.service-package-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.service-package-card__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.service-package-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.65rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(124, 77, 255, 0.22);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  min-height: 100%;
}

.service-package-card__input:focus-visible + .service-package-card__body {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.service-package-card__input:checked + .service-package-card__body {
  border-color: var(--brand-orange-deep);
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.22);
  background: linear-gradient(180deg, #fffdf8, #fff);
}

.service-package-card:hover .service-package-card__body {
  border-color: var(--brand-orange);
  transform: translateY(-1px);
}

.service-package-card__qty {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--hero-dark);
  line-height: 1.2;
}

.service-package-card__unit {
  font-size: 0.72rem;
  color: #666;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.service-package-card__total {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-orange-deep);
  margin-top: 0.45rem;
}

.card-soft {
  background: var(--card-bg);
  border: 1px solid rgba(124, 77, 255, 0.15);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.08);
  border-radius: 0.75rem;
}

.text-brand {
  color: var(--brand-purple-deep) !important;
}

.link-brand {
  color: var(--brand-purple-deep);
  text-decoration-skip-ink: auto;
}
.link-brand:hover {
  color: var(--brand-orange-deep);
  text-decoration: underline;
}

/* —— Pagini autentificare / înregistrare —— */
.page-auth {
  position: relative;
  min-height: min(88vh, 56rem);
}

.page-auth__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f3effa;
}

.page-auth__bg::before {
  content: "";
  position: absolute;
  top: -8%;
  right: max(-4rem, calc(50% - 38rem));
  width: min(42vw, 18rem);
  height: min(42vw, 18rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.11), transparent 72%);
  pointer-events: none;
}

.page-auth__bg::after {
  content: "";
  position: absolute;
  bottom: 5%;
  left: max(-2rem, calc(50% - 36rem));
  width: min(38vw, 15rem);
  height: min(38vw, 15rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 145, 0, 0.08), transparent 72%);
  pointer-events: none;
}

.page-auth__inner {
  position: relative;
  z-index: 1;
}

.auth-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(26, 15, 46, 0.12), 0 0 0 1px rgba(124, 77, 255, 0.06) !important;
}

.auth-card__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--brand-purple-deep), #9d6bff 45%, var(--brand-orange-deep));
}

.auth-card__icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(124, 77, 255, 0.14), rgba(255, 145, 0, 0.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple-deep);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.auth-card__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-orange-deep);
  margin: 0;
}

.auth-card__title {
  color: var(--hero-dark);
  letter-spacing: -0.02em;
}

.auth-card__lead {
  line-height: 1.45;
}

.auth-form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-text-sm {
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.input-group-auth .input-group-text {
  background: rgba(124, 77, 255, 0.06);
  border-color: rgba(124, 77, 255, 0.18);
  color: var(--brand-purple-deep);
  border-right: 0;
  padding-left: 0.65rem;
  padding-right: 0.5rem;
}

.input-group-auth .form-control {
  border-color: rgba(124, 77, 255, 0.18);
  border-left: 0;
  padding-left: 0.35rem;
}

.input-group-auth .form-control:focus {
  border-color: rgba(124, 77, 255, 0.45);
  box-shadow: none;
}

.input-group-auth:focus-within .input-group-text {
  border-color: rgba(124, 77, 255, 0.45);
  background: rgba(124, 77, 255, 0.08);
}

.auth-btn-submit {
  box-shadow: 0 4px 18px rgba(255, 109, 0, 0.3);
  letter-spacing: 0.02em;
}

.auth-btn-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 22px rgba(255, 109, 0, 0.38);
}

.auth-oauth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #6c5d7a;
  font-weight: 500;
}

.auth-oauth-divider::before,
.auth-oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 38, 64, 0.14), transparent);
}

.btn-auth-social {
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  border-width: 1.5px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-auth-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-auth-social--google {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #3c4043;
}

.btn-auth-social--google:hover {
  background: #fafafa;
  border-color: rgba(0, 0, 0, 0.18);
  color: #202124;
}

.btn-auth-social--facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.btn-auth-social--facebook:hover {
  background: #166fe5;
  border-color: #166fe5;
  color: #fff;
}

.auth-switch {
  color: #5c5168;
}

.auth-switch a {
  color: var(--brand-purple-deep);
  text-decoration: none;
}

.auth-switch a:hover {
  color: var(--brand-orange-deep);
  text-decoration: underline;
}

.auth-trust {
  line-height: 1.5;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575.98px) {
  .auth-card .card-body {
    padding: 1.125rem !important;
  }

  .auth-card__icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    border-radius: 0.75rem;
  }
}

.accent-orange {
  color: var(--brand-orange-deep);
}

/* —— Footer principal —— */
.site-footer--main {
  margin-top: auto;
  color: #e8e0ff;
}

.site-footer__primary {
  position: relative;
  background: linear-gradient(180deg, #1f1535 0%, #2d2248 48%, #241836 100%);
  border-top: 1px solid rgba(255, 145, 0, 0.2);
  padding-top: 2.75rem;
  padding-bottom: 2.5rem;
  box-shadow: 0 -12px 40px rgba(26, 15, 46, 0.35);
}

.site-footer__primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-orange-deep), var(--brand-purple-deep));
  opacity: 0.9;
}

.site-footer__brand:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.site-footer__logo {
  max-height: 2.25rem;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.site-footer__lead {
  color: rgba(232, 224, 255, 0.82);
  line-height: 1.6;
  max-width: 26rem;
}

.site-footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 0.9rem;
}

.site-footer__list li {
  margin-bottom: 0.45rem;
}

.site-footer__list li:last-child {
  margin-bottom: 0;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.site-footer__link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--brand-orange);
}

.site-footer__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  color: rgba(232, 224, 255, 0.85);
  line-height: 1.45;
}

.site-footer__trust li:last-child {
  margin-bottom: 0;
}

.site-footer__trust-icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  font-size: 1.05rem;
  color: var(--brand-orange);
  opacity: 0.95;
}

.site-footer__bottom {
  background: rgba(12, 8, 22, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__legal {
  color: rgba(200, 190, 230, 0.75);
  font-size: 0.8125rem;
}

@media (min-width: 992px) {
  .site-footer__primary {
    padding-top: 3.25rem;
    padding-bottom: 3rem;
  }
}

.site-footer__contact .site-footer__link {
  font-weight: 600;
}

.site-footer__heading--spaced {
  margin-top: 1.25rem;
}

.site-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 145, 0, 0.28);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.site-footer__social-btn:hover {
  background: rgba(255, 145, 0, 0.18);
  border-color: rgba(255, 200, 120, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer__social-btn .mdi {
  font-size: 1.35rem;
  line-height: 1;
}

.legal-page .legal-doc {
  max-width: 46rem;
}

.legal-page .legal-doc p,
.legal-page .legal-doc li {
  color: #4a4358;
  line-height: 1.65;
}

.legal-page .legal-doc h2 {
  color: var(--brand-purple-deep);
}

/* Admin sidebar */
.admin-sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #3d2b6d 0%, #5c3fa8 100%);
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(255, 145, 0, 0.25);
  color: #fff;
}

#comanda,
#cum-functioneaza,
#intrebari-frecvente,
[id^="comanda-"],
#servicii, #platforme, .anchor-platform {
  scroll-margin-top: 5.5rem;
}

.platform-section-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), rgba(255, 145, 0, 0.2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-purple-deep);
}

.home-service-row {
  border-radius: 1rem;
}

.badge-kind {
  background: rgba(124, 77, 255, 0.15);
  color: var(--brand-purple-deep);
}

/* —— Antet: utilizator autentificat (mobile first) —— */
.nav-user-dd__btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  font-size: 0.875rem;
  min-height: 2.75rem;
}
.nav-user-dd__btn:hover,
.nav-user-dd__btn:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 145, 0, 0.45);
}
.nav-user-dd__btn.show {
  box-shadow: 0 0 0 0.2rem rgba(255, 145, 0, 0.35);
}
.nav-user-dd__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 145, 0, 0.5);
}
.nav-user-dd__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-orange-deep), var(--brand-purple));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 2.25rem;
}
.nav-user-dd__name {
  font-weight: 600;
  color: #fff;
  max-width: 11rem;
}
.nav-user-dd__balance {
  color: rgba(255, 220, 180, 0.95);
  font-weight: 600;
}
@media (min-width: 576px) {
  .nav-user-dd__btn {
    max-width: 16rem;
  }
}

/* —— Pagină cont —— */
.container-narrow-account {
  max-width: min(var(--site-container-max), calc(100% - 2rem));
}

.account-panel {
  position: relative;
  border-radius: 0.875rem !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.account-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0.875rem 0.875rem 0 0;
  background: linear-gradient(90deg, var(--brand-orange-deep), var(--brand-purple), var(--brand-purple-deep));
  pointer-events: none;
}
.account-panel:hover {
  box-shadow: 0 12px 36px rgba(124, 77, 255, 0.12) !important;
}

.account-section__head {
  margin-bottom: 0;
}
.account-section__head--in-panel .account-section__sub {
  margin-top: 0.35rem;
}
.account-section__title {
  letter-spacing: -0.02em;
}
.account-section__title-ico {
  vertical-align: -0.08em;
  color: var(--brand-orange-deep);
  opacity: 0.92;
}
.account-section__sub {
  margin-top: 0.35rem;
  max-width: 36rem;
}

.account-empty {
  border-radius: 0.875rem !important;
  overflow: hidden;
}
.account-empty--embedded {
  background: rgba(248, 245, 255, 0.5);
  border: 1px solid rgba(124, 77, 255, 0.1);
  border-radius: 0.65rem !important;
}
.account-empty__icon {
  width: 4.25rem;
  height: 4.25rem;
  background: linear-gradient(145deg, rgba(124, 77, 255, 0.12), rgba(255, 145, 0, 0.14));
  color: var(--brand-purple-deep);
}
.account-empty__icon--orders {
  background: linear-gradient(145deg, rgba(255, 109, 0, 0.12), rgba(124, 77, 255, 0.12));
  color: var(--brand-orange-deep);
}

.account-wallet__label {
  letter-spacing: 0.08em;
  color: #6b5f7e !important;
}

.account-topup-form__legend {
  color: #5a4d70;
}

.account-topup-chip {
  border-radius: 999px;
  border: 1px solid rgba(124, 77, 255, 0.35);
  background: #fff;
  color: var(--brand-purple-deep);
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.account-topup-chip:hover {
  border-color: var(--brand-orange);
  background: linear-gradient(180deg, #fffdf8, #fff);
  box-shadow: 0 4px 14px rgba(255, 109, 0, 0.15);
  color: var(--hero-dark);
  transform: translateY(-1px);
}
.account-topup-chip__unit {
  font-weight: 500;
  opacity: 0.85;
  font-size: 0.88em;
}

.account-topup-input-group {
  box-shadow: 0 2px 12px rgba(45, 38, 64, 0.06);
  border-radius: 0.65rem !important;
  overflow: hidden;
  border: 1px solid rgba(124, 77, 255, 0.2);
  background: #fff;
  align-items: stretch;
}
.account-topup-input-group:focus-within {
  border-color: rgba(124, 77, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(179, 136, 255, 0.25), 0 4px 18px rgba(124, 77, 255, 0.08);
}
.account-topup-input-group .form-control {
  border: none;
  padding: 0.55rem 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 2.75rem;
  background: transparent;
}
.account-topup-input-group .form-control:focus {
  box-shadow: none;
}
.account-topup-input-group .btn-brand {
  border-radius: 0 0.6rem 0.6rem 0 !important;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  line-height: 1.25;
}
@media (max-width: 575.98px) {
  .account-topup-input-group {
    flex-direction: column;
    border-radius: 0.65rem !important;
  }
  .account-topup-input-group .btn-brand {
    border-radius: 0 0 0.55rem 0.55rem !important;
    width: 100%;
  }
}

.account-topup-form__hint strong {
  color: var(--text);
  font-weight: 600;
}

.account-badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.account-badge--paid {
  background: linear-gradient(135deg, #198754, #146c43);
  color: #fff;
}
.account-badge--processing {
  background: linear-gradient(135deg, #0d6efd, #0a53be);
  color: #fff;
}
.account-badge--pending {
  background: linear-gradient(135deg, #f0ad4e, #d97706);
  color: #fff;
}
.account-badge--cancelled {
  background: #e9ecef;
  color: #495057;
}
.account-badge--reprocessing {
  background: linear-gradient(135deg, #fd7e14, #e8590c);
  color: #fff;
}
.account-badge--delivering {
  background: linear-gradient(135deg, #6f42c1, #5a32a3);
  color: #fff;
}
.account-badge--fulfilled {
  background: linear-gradient(135deg, #20c997, #15967a);
  color: #fff;
}
.account-badge--muted {
  background: #dee2e6;
  color: #495057;
}

.account-avatar-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}
.account-avatar-placeholder {
  width: 96px;
  height: 96px;
  background: linear-gradient(145deg, rgba(124, 77, 255, 0.25), rgba(255, 145, 0, 0.3));
  color: var(--brand-purple-deep);
}
.account-avatar-edit-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@media (min-width: 768px) {
  .account-page__intro .account-wallet {
    max-width: 22rem;
  }
}
.account-table__head {
  --bs-table-bg: transparent;
  background: linear-gradient(180deg, rgba(248, 245, 255, 0.95), rgba(255, 255, 255, 0.55)) !important;
}
.account-table__head th {
  border-bottom: 1px solid rgba(124, 77, 255, 0.12) !important;
}
.account-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #5a4d70;
  white-space: nowrap;
  vertical-align: middle;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.account-table tbody td {
  font-size: 0.875rem;
}
.account-table tbody tr:hover {
  background: rgba(179, 136, 255, 0.06);
}

/* Simple DataTables — shell pe site (cont) */
.smart-table-shell {
  background: var(--card-bg);
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(124, 77, 255, 0.14);
  box-shadow: 0 8px 26px rgba(124, 77, 255, 0.07);
}
.smart-table-shell--elevated {
  box-shadow: 0 10px 32px rgba(124, 77, 255, 0.1), 0 1px 3px rgba(45, 38, 64, 0.06);
}
.smart-table-shell--nested {
  border-radius: 0 0 0.875rem 0.875rem;
  border: 0;
  border-top: 1px solid rgba(124, 77, 255, 0.12);
  box-shadow: none;
  background: var(--card-bg);
}
.smart-table-shell .datatable-wrapper,
.smart-table-shell .datatable-container {
  padding: 0;
}
.smart-table-shell .datatable-top {
  padding: 0.85rem 1.15rem 0.95rem;
  background: linear-gradient(180deg, rgba(248, 245, 255, 0.85), rgba(255, 255, 255, 0.65));
  border-bottom: 1px solid rgba(124, 77, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.smart-table-shell .datatable-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #5a4d70;
  margin-bottom: 0;
}
.smart-table-shell .datatable-dropdown label {
  margin-bottom: 0;
  white-space: nowrap;
  font-weight: 500;
}
.smart-table-shell .datatable-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.smart-table-shell .datatable-search label {
  margin-bottom: 0;
}
.smart-table-shell .datatable-selector,
.smart-table-shell .datatable-input {
  border: 1px solid rgba(124, 77, 255, 0.2);
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 2.375rem;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 1px 2px rgba(45, 38, 64, 0.04);
}
.smart-table-shell .datatable-selector {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c4dff' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  padding-right: 2rem;
  cursor: pointer;
  min-width: 5.5rem;
  font-weight: 600;
  color: var(--text);
}
.smart-table-shell .datatable-input {
  min-width: min(100%, 14rem);
}
.smart-table-shell .datatable-input:focus,
.smart-table-shell .datatable-selector:focus {
  border-color: rgba(124, 77, 255, 0.45);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(179, 136, 255, 0.22);
}
.smart-table-shell .datatable-bottom {
  padding: 0.85rem 1.15rem 1.1rem;
  background: linear-gradient(0deg, rgba(248, 245, 255, 0.55), rgba(255, 255, 255, 0.7));
  border-top: 1px solid rgba(124, 77, 255, 0.1);
  font-size: 0.82rem;
  color: #5a4d70;
  font-weight: 500;
}
.smart-table-shell .datatable-pagination ul {
  margin: 0;
}
.smart-table-shell .datatable-pagination a,
.smart-table-shell .datatable-pagination button {
  border-radius: 0.45rem !important;
  border: 1px solid rgba(124, 77, 255, 0.18) !important;
  color: var(--text) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  min-width: 2.1rem;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.smart-table-shell .datatable-pagination a:hover,
.smart-table-shell .datatable-pagination button:hover {
  background: rgba(179, 136, 255, 0.12) !important;
  border-color: rgba(124, 77, 255, 0.35) !important;
}
.smart-table-shell .datatable-pagination .active a,
.smart-table-shell .datatable-pagination .active button {
  background: var(--brand-orange-deep) !important;
  border-color: var(--brand-orange-deep) !important;
  color: #fff !important;
}
.smart-table-shell .datatable-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.smart-table-shell thead th.sorter {
  cursor: pointer;
  vertical-align: middle;
}
.smart-table-shell thead th .datatable-sorter {
  padding-top: 0;
  padding-bottom: 0;
}
.smart-table-shell thead th.sorter.asc .datatable-sorter::after,
.smart-table-shell thead th.sorter.desc .datatable-sorter::after {
  opacity: 1;
  border-top-color: var(--brand-orange-deep);
}
.account-wallet__amt {
  line-height: 1.15;
}
