:root {
  --brand-900: #0f172a;
  --brand-700: #155eef;
  --brand-500: #2970ff;
  --brand-100: #d1e0ff;
  --ink: #0b1020;
  --muted: #5f6b85;
  --line: #e7ecf5;
  --bg: #f7faff;
  --surface: #ffffff;
}

/* Brand tones used by categories/platform chips in client pages. */
.tone-facebook {
  background-color: #1877f2 !important;
  color: #ffffff !important;
}

.tone-x {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.tone-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%) !important;
  color: #ffffff !important;
}

.tone-tiktok {
  background-color: #111111 !important;
  color: #ffffff !important;
}

.tone-youtube {
  background-color: #ff0000 !important;
  color: #ffffff !important;
}

.tone-linkedin {
  background-color: #0a66c2 !important;
  color: #ffffff !important;
}

.tone-telegram {
  background-color: #229ed9 !important;
  color: #ffffff !important;
}

.tone-snapchat {
  background-color: #f4e74a !important;
  color: #1f2937 !important;
  border: 1px solid #d2c53b;
}

.tone-default {
  background-color: #4b5563 !important;
  color: #ffffff !important;
}

/* Fallback utility-style classes kept for compatibility. */
.bg-sky-100 {
  background-color: #dbeafe !important;
}

.text-sky-700 {
  color: #075985 !important;
}

.bg-pink-100 {
  background-color: #fce7f3 !important;
}

.text-pink-700 {
  color: #9d174d !important;
}

.bg-slate-100 {
  background-color: #e2e8f0 !important;
}

.text-slate-700 {
  color: #334155 !important;
}

.bg-red-100 {
  background-color: #fee2e2 !important;
}

.text-red-700 {
  color: #b91c1c !important;
}

.bg-blue-100 {
  background-color: #dbeafe !important;
}

.text-blue-700 {
  color: #1d4ed8 !important;
}

.bg-cyan-100 {
  background-color: #cffafe !important;
}

.text-cyan-700 {
  color: #0e7490 !important;
}

.bg-yellow-100 {
  background-color: #fef3c7 !important;
}

.text-yellow-700 {
  color: #a16207 !important;
}

.bg-gray-100 {
  background-color: #f3f4f6 !important;
}

.text-gray-700 {
  color: #374151 !important;
}

* {
  box-sizing: border-box;
}

[x-cloak] {
  display: none !important;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 7% -2%, #e8f0ff 0%, transparent 32%),
    radial-gradient(circle at 95% 0%, #e5fff8 0%, transparent 28%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  text-wrap: pretty;
}

iconify-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

iconify-icon:not(:defined) {
  visibility: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.top-nav__inner {
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.top-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.top-nav__brand-copy {
  min-width: 0;
}

.top-nav__brand-title {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav__brand-subtitle {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav__desktop-nav,
.top-nav__desktop-auth {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #334155;
  flex-shrink: 0;
  line-height: 0;
}

.mobile-nav-toggle__icon {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  stroke: currentColor;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  flex-direction: row;
  width: 100%;
}

.nav-list.mobile-view {
  flex-direction: column;
  width: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.52rem 0.8rem;
  border-radius: 0.7rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-list.mobile-view .nav-link {
  width: 100%;
  justify-content: flex-start;
  font-size: 0.88rem;
  padding: 0.6rem 0.75rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-700);
  background: #eff4ff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-700), #00a3ff);
  color: #fff;
  font-weight: 800;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(41, 112, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px rgba(41, 112, 255, 0.28);
}

.btn-primary.is-disabled,
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: grayscale(0.15);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-weight: 800;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  background: #fff;
}

.card-soft {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.shine-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.72) 50%, transparent 80%);
  transform: translateX(140%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.shine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(30, 64, 175, 0.14);
  border-color: #cddafe;
}

.shine-card:hover::before {
  transform: translateX(-140%);
}

.glass-panel {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.64));
  border: 1px solid rgba(223, 232, 248, 0.95);
  backdrop-filter: blur(8px);
}

.gradient-title {
  background: linear-gradient(135deg, #155eef, #0086d1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #d6e0f3;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #334155;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.platform-chip svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke-width: 1.8;
}

.platform-chip iconify-icon,
.category-brand-icon {
  width: 1rem;
  height: 1rem;
  color: #334155;
}

.category-brand-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.trust-highlight {
  background: linear-gradient(145deg, #f7faff, #ffffff);
}

.trust-item {
  border: 1px solid #dbe7fb;
  border-radius: 0.95rem;
  padding: 1rem;
  background: #fff;
}

.trust-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #1d4ed8;
}

.trust-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2;
}

.trust-icon iconify-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.auth-field {
  padding-left: 2.55rem;
  padding-right: 0.95rem;
  text-align: right;
}

.auth-field-icon {
  position: absolute;
  left: 0.85rem;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

.auth-side-card {
  position: relative;
}

.auth-side-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.03));
}

.auth-side-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.auth-side-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #475569;
  font-weight: 700;
}

.auth-side-list iconify-icon {
  width: 1rem;
  height: 1rem;
  color: #0284c7;
  flex-shrink: 0;
}

html[dir="ltr"] .auth-field {
  padding-right: 0.95rem;
  padding-left: 2.55rem;
  text-align: left;
}

html[dir="ltr"] .auth-field-icon {
  right: auto;
  left: 0.85rem;
}

.pulse-dot {
  position: relative;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #16a34a;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border-radius: 999px;
  border: 2px solid rgba(22, 163, 74, 0.45);
  opacity: 0;
  transform: scale(0.6);
  animation: pulseRing 1.9s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    opacity: 0.65;
    transform: scale(0.6);
  }
  80% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after {
    animation: none;
  }
}

.hero-glow {
  background: linear-gradient(130deg, #f2f7ff, #ffffff 45%, #eefcf9 100%);
  border: 1px solid var(--line);
}

.badge-live {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.badge-admin {
  background: #eff4ff;
  color: #1849a9;
  border: 1px solid #b2ccff;
}

.kpi-card {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
}

.support-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid #d6e9ff;
  background: rgba(255, 255, 255, 0.78);
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
}

.support-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 34rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .support-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.support-stat-card {
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.support-stat-label {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.support-stat-value {
  margin: 0.5rem 0 0;
  color: #0f172a;
  font-size: 0.925rem;
  font-weight: 900;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.support-stat-value--email {
  font-size: 0.86rem;
  word-break: break-word;
}

.support-panel-card {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.support-panel-note {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid #d6e9ff;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(239, 246, 255, 0.72));
  padding: 0.9rem 1rem;
  color: #075985;
  font-size: 0.875rem;
  line-height: 1.9;
}

.support-panel-alert {
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
}

.support-panel-alert--success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #047857;
}

.support-panel-alert--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.support-panel-meta {
  max-width: 26rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.75;
}

.hero-main-title {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.3;
}

.hero-subtitle {
  max-width: 60ch;
}

.hero-visual-wrap {
  position: relative;
}

.hero-slider-track {
  will-change: transform;
}

.hero-slider-slide {
  flex-basis: 100%;
  min-width: 100%;
}

.hero-svg-shell {
  position: relative;
  border-radius: 1.15rem;
  border: 1px solid #dbe6fb;
  background: linear-gradient(145deg, #ffffff, #f5f9ff 52%, #eefcf8 100%);
  padding: 1rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.hero-stat-card {
  position: absolute;
  z-index: 3;
  background: #ffffff;
  border: 1px solid #dbe7fb;
  border-radius: 0.95rem;
  padding: 0.6rem 0.75rem;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.12);
}

.hero-stat-card.top {
  top: -10px;
  inset-inline-start: -10px;
}

.hero-stat-card.bottom {
  bottom: -12px;
  inset-inline-end: -8px;
}

.hero-stat-card.mid {
  top: 45%;
  inset-inline-end: -14px;
}

.hero-grid-line {
  opacity: 0.5;
}

.floating {
  animation: floatY 4.6s ease-in-out infinite;
}

.floating.delay-1 {
  animation-delay: 0.7s;
}

.floating.delay-2 {
  animation-delay: 1.3s;
}

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

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.55s ease forwards;
}

.reveal.r2 {
  animation-delay: 0.08s;
}

.reveal.r3 {
  animation-delay: 0.16s;
}

.reveal.r4 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.account-details-description {
  white-space: pre-line;
  display: block;
}

.maintenance-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.maintenance-main {
  flex: 1;
  display: flex;
  align-items: center;
}

.maintenance-glow {
  position: absolute;
  border-radius: 999px;
}

.maintenance-glow--top {
  inset-inline-end: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0));
}

.maintenance-glow--bottom {
  inset-inline-start: -70px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0));
}

.attachment-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.attachment-preview-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}

.attachment-preview-modal-card {
  position: relative;
  width: min(760px, calc(100vw - 2rem));
  height: min(76vh, 680px);
  max-height: min(76vh, 680px);
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #d6e4ff;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.attachment-preview-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.attachment-preview-modal-title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
}

.attachment-preview-modal-subtitle {
  margin: 0.3rem 0 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.8;
}

.attachment-preview-modal-close {
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #d8e3f7;
  border-radius: 0.7rem;
  background: #fff;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.attachment-preview-modal-body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce7f8;
  border-radius: 0.95rem;
  background: #f8fbff;
  padding: 0.65rem;
  box-sizing: border-box;
}

.attachment-preview-modal-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.7rem;
  display: block;
  background: #fff;
  box-sizing: border-box;
}

@media print {
  body {
    background: #ffffff !important;
  }

  .top-nav,
  .site-footer,
  .no-print {
    display: none !important;
  }

  .page-main {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .invoice-print-shell {
    border: 1px solid #dbe7ff !important;
    box-shadow: none !important;
  }

  .card-soft,
  .kpi-card {
    box-shadow: none !important;
  }

  .account-table th,
  .account-table td {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  font-size: 0.95rem;
  color: #475569;
}

.footer-section > h3 {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.footer-section > p {
  line-height: 1.7;
  margin: 0;
  color: #475569;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--brand-700);
  padding-right: 0.3rem;
}

.footer-divider {
  border-top: 1px solid var(--line);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #475569;
}

.footer-divider p {
  margin: 0;
}

.input-ui {
  width: 100%;
  background: #fff;
  border: 1px solid #d7dfef;
  border-radius: 0.75rem;
  padding: 0.75rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-ui:focus {
  border-color: #84adff;
  box-shadow: 0 0 0 3px rgba(41, 112, 255, 0.15);
}

.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}

@media (min-width: 640px) {
  .page-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.page-main.auth-main {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.error-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.error-nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.error-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #0f172a;
  text-decoration: none;
}

.error-brand-badge {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #155eef, #00a3ff);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.84rem;
  box-shadow: 0 10px 20px rgba(41, 112, 255, 0.2);
}

.error-brand-copy {
  display: grid;
  gap: 0.04rem;
}

.error-brand-copy strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.error-brand-copy span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

.error-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.error-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid #d8e1f1;
  color: #334155;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.52rem 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.error-nav-links a:hover {
  color: #155eef;
  border-color: #bfd4ff;
  background: #f7faff;
}

.error-page-main {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
}

.error-section {
  position: relative;
  overflow: hidden;
}

.error-section::before,
.error-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
}

.error-section::before {
  width: 18rem;
  height: 18rem;
  top: -9rem;
  inset-inline-end: -6rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0));
}

.error-section::after {
  width: 16rem;
  height: 16rem;
  bottom: -8rem;
  inset-inline-start: -5rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0));
}

.error-grid {
  position: relative;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  z-index: 1;
}

.error-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 900;
  color: #1849a9;
  border: 1px solid #bfd4ff;
  background: #eff4ff;
}

.error-status-dot {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: #155eef;
  box-shadow: 0 0 0 0 rgba(21, 94, 239, 0.45);
  animation: pulseRing 1.9s ease-out infinite;
}

.error-title {
  margin-top: 0.85rem;
  font-size: clamp(1.4rem, 2.7vw, 2.35rem);
  line-height: 1.45;
  color: #0f172a;
  font-weight: 900;
}

.error-message {
  margin-top: 0.75rem;
  color: #475569;
  max-width: 62ch;
  line-height: 2;
  font-size: 0.96rem;
}

.error-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.error-actions .btn-soft {
  font-size: 0.9rem;
}

.error-side-card {
  border: 1px solid #dbe7fb;
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(145deg, #ffffff, #f7fbff 58%, #f0fdf9 100%);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.error-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 1.05rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #155eef, #00a3ff);
  box-shadow: 0 12px 24px rgba(41, 112, 255, 0.24);
}

.error-side-title {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 900;
}

.error-side-text {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.8;
}

.error-tips {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.error-tip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.58rem 0.72rem;
  background: #ffffff;
  font-size: 0.78rem;
  color: #334155;
  font-weight: 800;
}

.error-tip-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #0ea5e9;
  flex-shrink: 0;
}

.error-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.error-footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.error-footer-wrap p {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .error-nav-wrap,
  .error-footer-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .error-grid {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: stretch;
    gap: 1.15rem;
  }

  .error-side-card {
    padding: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .error-nav-wrap,
  .error-footer-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .error-grid {
    grid-template-columns: 1.55fr 0.78fr;
    gap: 1.25rem;
  }
}

@media (max-width: 639px) {
  .error-nav-links {
    display: none;
  }

  .error-actions {
    gap: 0.55rem;
  }

  .error-actions .btn-primary,
  .error-actions .btn-soft {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .page-main.auth-main {
    padding-top: 3.5rem;
  }
}

.split-hero {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .split-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .panel-card {
    padding: 1.75rem;
  }
}

.panel-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 900;
  color: #0f172a;
}

.panel-subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #64748b;
}

.form-stack {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: #334155;
}

.field-wrap {
  position: relative;
  margin-top: 0.5rem;
}

.form-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
}

.auth-link {
  color: #1d4ed8;
  font-weight: 900;
  text-decoration: none;
}

.auth-link:hover {
  color: #1e40af;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.alert-box {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.alert-box.success {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.alert-box.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.note-box {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #475569;
}

.hero-soft {
  background: linear-gradient(to left, #f0f6ff, #ffffff 55%, #eafbf7);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .section-head {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
}

.hero-title-sm {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
  color: #0f172a;
}

.panel-pad,
.panel-pad-sm,
.panel-pad-lg {
  padding: 1.25rem;
}

.panel-pad-sm {
  padding: 1.1rem;
}

.panel-pad-lg {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .panel-pad {
    padding: 1.5rem;
  }

  .panel-pad-lg {
    padding: 1.75rem;
  }
}

.section-meta-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.panel-subhead {
  font-size: 1.12rem;
  font-weight: 900;
  color: #0f172a;
}

.card-head-row,
.card-foot-row,
.row-between-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-foot-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.chip-plain,
.chip-ok,
.chip-safe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.22rem 0.54rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.chip-ok {
  background: #ecfdf3;
  color: #027a48;
}

.chip-safe {
  border-radius: 0.4rem;
  background: #dbeafe;
  color: #1e40af;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  border: 1px solid #d7dfef;
  border-radius: 0.85rem;
  padding: 0.45rem;
  background: linear-gradient(145deg, #f8fbff, #ffffff);
}

.category-pill {
  border: 1px solid transparent;
  background: #eff4ff;
  color: #334155;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition: all 0.2s ease;
}

.category-pill:hover {
  border-color: #bfd2ff;
  color: #1d4ed8;
}

.category-pill.is-active {
  background: linear-gradient(120deg, #1d4ed8, #0ea5e9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.28);
}

.price-stack {
  min-width: 0;
}

.price-current {
  margin: 0;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  line-height: 1.2;
  font-weight: 900;
  color: #1d4ed8;
}

.price-old {
  margin: 0;
  color: #64748b;
  font-size: 0.83rem;
  text-decoration: line-through;
  text-decoration-thickness: 1.8px;
}

.discount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-size: 0.73rem;
  font-weight: 900;
  white-space: nowrap;
}

.availability-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.availability-chip.in-stock {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.availability-chip.out-of-stock {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #dbe3f1;
  color: #64748b;
  font-weight: 800;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  cursor: not-allowed;
  border: 1px solid #ccd7ea;
}

.btn-soft:hover {
  border-color: #b9c9e6;
  background: #f8fbff;
}

.section-lead {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.8;
}

.metrics-strip {
  background: linear-gradient(130deg, #f8fbff, #ffffff 50%, #f3fcf8 100%);
  border: 1px solid #dbe7fb;
  border-radius: 1rem;
}

.metrics-item {
  border: 1px solid #deebff;
  border-radius: 0.85rem;
  background: #ffffff;
}

.content-list {
  display: grid;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
}

.content-list li {
  padding: 0.5rem 0.6rem;
  border: 1px solid #e5ecf9;
  border-radius: 0.7rem;
  background: #fcfdff;
}

.account-summary {
  border: 1px solid #dbe7ff;
  border-radius: 1.25rem;
  background: linear-gradient(140deg, #f4f8ff, #ffffff 45%, #eefcf8 100%);
  padding: 1.25rem;
}

.account-welcome {
  margin-bottom: 1rem;
  border: 1px solid #b2ddff;
  border-radius: 1rem;
  background: linear-gradient(130deg, #eff8ff, #ffffff);
  padding: 0.9rem 1rem;
}

.account-welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.account-welcome-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0c4a6e;
}

.account-welcome-text {
  margin-top: 0.2rem;
  font-size: 0.83rem;
  color: #475569;
}

.account-hero-title {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: #0f172a;
}

.account-hero-text {
  margin-top: 0.5rem;
  color: #475569;
  line-height: 1.85;
}

.account-actions-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .featured-hero-slide {
    grid-template-columns: 1fr;
  }

  .featured-hero-slide__media {
    min-height: 17rem;
  }
}

@media (max-width: 640px) {
  .featured-hero-slider__head {
    flex-direction: column;
  }

  .featured-hero-slider__controls {
    align-self: flex-start;
  }

  .featured-hero-slide {
    min-height: auto;
  }

  .featured-hero-slide__body {
    padding: 1.15rem;
  }

  .featured-hero-slide__badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-hero-slide__badges-right {
    justify-content: flex-start;
  }

  .featured-hero-slide__stats {
    grid-template-columns: 1fr;
  }

  .featured-hero-slide__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .featured-hero-slide__actions {
    width: 100%;
  }

  .featured-hero-slide__actions .btn-soft,
  .featured-hero-slide__actions .btn-primary,
  .featured-hero-slide__actions .btn-disabled {
    flex: 1 1 0;
  }

  .featured-hero-slider__thumbs {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .account-summary-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.account-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.account-kpi {
  border: 1px solid #deebff;
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem;
}

.account-kpi-value {
  margin-top: 0.2rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
}

.account-tabbar {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 1px solid #dbe7ff;
  border-radius: 0.95rem;
  background: #f8fbff;
  padding: 0.45rem;
}

.account-tab {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #334155;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-tab:hover {
  color: #1d4ed8;
  border-color: #c7d8ff;
  background: #eff4ff;
}

.account-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(125deg, #1d4ed8, #0ea5e9);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.24);
}

.account-panel {
  margin-top: 1rem;
  border: 1px solid #e2e8f5;
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
}

.account-form-message {
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.account-form-message.profile-success {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #075985;
}

.account-form-message.security-success {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: #5b21b6;
}

.account-form-message.error {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #9f1239;
}

.account-form-message.error .title {
  margin-bottom: 0.35rem;
  color: #881337;
  font-weight: 900;
}

.account-pagination {
  width: 100%;
  margin-top: 1rem;
}

.account-pagination-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.account-pagination-btn {
  min-width: 2.125rem;
  height: 2.125rem;
  padding: 0 0.625rem;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background: #fff;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-pagination-btn:hover:not(:disabled):not(.is-active) {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.account-pagination-btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.account-pagination-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  background: #f8fafc;
  color: #cbd5e1;
}

.account-pagination-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.account-pagination-dots {
  padding-inline: 0.25rem;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1;
}

.account-search-form {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.account-search-input {
  min-width: 15rem;
  flex: 1 1 15rem;
  margin-top: 0;
}

.account-search-button,
.account-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-search-button {
  background: #0f172a;
  color: #fff;
}

.account-search-button:hover {
  background: #1e293b;
}

.account-search-clear {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
}

.account-search-clear:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.account-orders-card {
  margin-top: 0.75rem;
  border: 1px solid #e2e8f5;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.account-orders-toolbar {
  padding: 1rem 1rem 0;
}

.account-orders-table-wrap {
  overflow-x: auto;
  padding: 0 1rem 0.25rem;
}

.account-orders-table {
  margin-top: 0;
  min-width: 760px;
}

.account-orders-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f5;
}

.account-orders-table tbody tr:hover {
  background: #f8fbff;
}

.account-orders-empty {
  position: relative;
  padding: 2.65rem 1rem;
  text-align: center;
  vertical-align: middle;
}

.account-table td.account-orders-empty {
  text-align: center;
  overflow: hidden;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 84% 22%, rgba(59, 130, 246, 0.12), transparent 48%),
    linear-gradient(138deg, #f8faff 0%, #ffffff 65%);
  border: 1px solid #d7e6ff;
}

.account-orders-empty::after {
  content: "";
  position: absolute;
  inset-inline-end: -25px;
  inset-block-end: -28px;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(147, 197, 253, 0.32), transparent 72%);
  pointer-events: none;
}

.orders-empty-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.orders-empty-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.8rem;
  border: 1px solid #bfdbfe;
  background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 100%);
  color: #1d4ed8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.orders-empty-icon-wrap iconify-icon {
  font-size: 1.2rem;
}

.orders-empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.26rem 0.58rem;
  white-space: nowrap;
}

.account-orders-empty-title {
  margin: 0;
  position: relative;
  z-index: 1;
  color: #0f172a;
  font-weight: 900;
  font-size: 1rem;
}

.account-orders-empty-text {
  margin-top: 0.4rem;
  position: relative;
  z-index: 1;
  color: #64748b;
  font-size: 0.85rem;
}

.account-orders-empty-subtext {
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .account-orders-empty {
    padding: 1.5rem 0.75rem;
  }

  .account-table td.account-orders-empty {
    border-radius: 0.75rem;
  }

  .orders-empty-visual {
    margin-bottom: 0.5rem;
  }
}

.tickets-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tickets-panel-body {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.tickets-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border: 1px solid #dce7f8;
  border-radius: 0.9rem;
  background: #f8fbff;
  padding: 0.55rem 0.65rem;
}

.tickets-search-wrap {
  flex: 1;
  min-width: 220px;
}

.tickets-search-form {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tickets-search-input {
  margin-top: 0;
  min-height: 40px;
  font-size: 0.82rem;
  flex: 1;
}

.tickets-search-button {
  border: 0;
  border-radius: 0.7rem;
  background: linear-gradient(125deg, #1d4ed8, #0ea5e9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.58rem 0.9rem;
  cursor: pointer;
}

.tickets-search-clear {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.tickets-search-clear:hover {
  color: #1d4ed8;
}

.tickets-count-text {
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticket-card {
  position: relative;
  border: 1px solid #dbe7fb;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.8rem 0.9rem 0.85rem 6.2rem;
  min-height: 0;
  height: auto;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ticket-empty-state-compact {
  padding: 0.95rem 1rem;
}

.ticket-card::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c7d8ff, #93c5fd);
}

.ticket-card:hover {
  border-color: #c4d7f8;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.ticket-card-shell {
  display: block;
}

.ticket-card-main {
  min-width: 0;
}

.ticket-card-title {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.6;
}

.ticket-card-title-link {
  text-decoration: none;
}

.ticket-card-title-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ticket-card-side {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.38rem;
}

.ticket-card-side .status-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.58rem;
}

.ticket-card-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2f6;
  border-radius: 999px;
  background: #f8fbff;
  color: #51647d;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.ticket-card-mini-link:hover {
  border-color: #bfd4f6;
  color: #1d4ed8;
  background: #eff6ff;
}

.ticket-card-meta {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ticket-meta-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7e2f6;
  border-radius: 999px;
  background: #f8fbff;
  padding: 0.18rem 0.52rem;
  color: #51647d;
  font-size: 0.7rem;
  font-weight: 700;
}

.ticket-card-notes {
  margin-top: 0.45rem;
  color: #475569;
  line-height: 1.65;
  font-size: 0.82rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .ticket-card {
    padding-left: 5.4rem;
  }

  .ticket-card-title {
    font-size: 0.86rem;
  }

  .ticket-card-side {
    left: 0.75rem;
  }
}

.ticket-detail-hero {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .ticket-detail-hero {
    padding: 1.75rem;
  }
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .ticket-detail-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    align-items: start;
  }
}

.ticket-detail-note {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid #dbe7fb;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.1rem;
  color: #475569;
  line-height: 1.9;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ticket-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ticket-meta-card {
  border: 1px solid #dce7f8;
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.ticket-meta-label {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ticket-meta-value {
  margin: 0.35rem 0 0;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 900;
}

.ticket-thread {
  display: grid;
  gap: 1rem;
}

.ticket-thread-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.ticket-thread-item--admin {
  border-right: 4px solid #1d4ed8;
  padding-right: 1rem;
}

.ticket-thread-item--user {
  border-right: 4px solid #f59e0b;
  padding-right: 1rem;
}

.ticket-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ticket-thread-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ticket-thread-avatar {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.ticket-thread-avatar--admin {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
}

.ticket-thread-avatar--user {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
}

.ticket-thread-card {
  border: 1px solid #dce7f8;
  border-radius: 1.05rem;
  background: linear-gradient(160deg, #ffffff, #f8fbff 100%);
  padding: 1rem 1.05rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.ticket-thread-body {
  color: #334155;
  line-height: 1.95;
  white-space: pre-line;
  font-size: 0.95rem;
}

.ticket-attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.ticket-attachment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid #d9e3f3;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.75rem 0.9rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  width: 100%;
  text-align: right;
  border: 1px solid #d9e3f3;
}

.ticket-attachment-card:hover {
  border-color: #bcd0f1;
  background: #f8fbff;
}

.ticket-attachment-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-message-has-attachments {
  margin: 0.5rem 0 0;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
}

.ticket-reply-box {
  border: 1px solid #dce7f8;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1rem;
}

.ticket-reply-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-hero-card {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .ticket-hero-card {
    padding: 1.5rem;
  }
}

.ticket-number {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
}

.ticket-hero-title {
  margin-top: 0.3rem;
}

.ticket-hero-subject {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #475569;
}

.ticket-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ticket-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .ticket-layout-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.75fr);
  }
}

.ticket-main-column,
.ticket-side-column {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.ticket-conversation-panel,
.ticket-summary-panel,
.ticket-reply-panel,
.ticket-order-panel {
  min-width: 0;
}

.ticket-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ticket-icon-md {
  width: 1.25rem;
  height: 1.25rem;
}

.ticket-icon-sm {
  width: 1rem;
  height: 1rem;
}

.ticket-message-time {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

.ticket-thread-body {
  margin-top: 1rem;
}

.ticket-summary-list-top {
  margin-top: 1rem;
}

.ticket-reply-form {
  margin-top: 1rem;
}

.ticket-message-input {
  margin-top: 0.5rem;
  min-height: 170px;
}

.ticket-attachments-input {
  margin-top: 0.5rem;
}

.ticket-attachments-picker {
  border: 1px solid #dce7f8;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.7rem 0.75rem;
}

.ticket-help-text {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

.ticket-help-text-warning {
  color: #b45309;
  font-weight: 700;
}

.ticket-files-title {
  font-size: 0.875rem;
}

.ticket-reply-preview-wrap {
  margin-top: 0.75rem;
}

.ticket-files-list-card {
  border-color: #d5e4fb;
}

.ticket-files-list {
  display: grid;
  gap: 0.55rem;
}

.ticket-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid #d9e3f3;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.55rem 0.65rem;
}

.ticket-file-meta {
  min-width: 0;
}

.ticket-file-name {
  margin: 0;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  word-break: break-word;
}

.ticket-file-size {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.ticket-file-remove {
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  white-space: nowrap;
}

.ticket-file-remove:hover {
  background: #ffe4e6;
  border-color: #f9a8d4;
}

.ticket-preview-modal-card {
  width: min(820px, calc(100vw - 2rem));
  height: min(76vh, 680px);
  max-height: min(76vh, 680px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ticket-preview-body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce7f8;
  border-radius: 0.95rem;
  background: #f8fbff;
  padding: 0.65rem;
}

.ticket-preview-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.7rem;
  display: block;
  background: #fff;
}

@media (max-width: 640px) {
  .ticket-preview-modal-card {
    width: calc(100vw - 1.2rem);
    height: min(68vh, 540px);
    max-height: min(68vh, 540px);
  }
}

.ticket-error-line {
  line-height: 1.7;
}

.ticket-submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ticket-submit-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ticket-submit-btn {
  width: 100%;
}

@media (min-width: 640px) {
  .ticket-submit-btn {
    width: auto;
  }
}

.ticket-order-info {
  margin-top: 1rem;
}

.ticket-order-code {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
}

.ticket-order-title {
  margin-top: 0.5rem;
}

.ticket-order-category {
  margin-top: 0.25rem;
}

.ticket-order-btn {
  margin-top: 1rem;
}

.ticket-details-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.ticket-sections-stack {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 960px) {
  .ticket-sections-stack {
    gap: 0.85rem;
  }
}

@media (min-width: 960px) {
  .ticket-details-row {
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.75fr);
  }
}

.ticket-conversation-card {
  min-width: 0;
}

.ticket-summary-col {
  align-self: start;
}

.ticket-summary-col--ghost {
  display: none;
}

@media (min-width: 960px) {
  .ticket-summary-col--ghost {
    display: block;
    visibility: hidden;
    pointer-events: none;
  }
}

.ticket-summary-list {
  display: grid;
  gap: 0.65rem;
}

.ticket-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e1eaf8;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.85rem 0.95rem;
}

.ticket-summary-row span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.ticket-summary-row strong {
  color: #0f172a;
  font-weight: 900;
}

.ticket-side-card {
  border: 1px solid #dce7f8;
  border-radius: 1rem;
  background: linear-gradient(160deg, #ffffff, #f9fbff 100%);
  padding: 1rem;
}

.ticket-side-link {
  display: block;
  border: 1px solid #d6e4ff;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #1d4ed8;
  font-weight: 900;
  text-decoration: none;
  padding: 0.85rem 0.95rem;
}

.ticket-side-link:hover {
  border-color: #b6cdfd;
  background: linear-gradient(135deg, #e8f1ff, #ffffff);
}

.ticket-side-note {
  font-size: 0.85rem;
  line-height: 1.85;
  color: #475569;
}

.ticket-empty-state {
  border: 1px dashed #bed3ff;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f6faff, #ffffff);
  padding: 1.2rem;
}

.tickets-panel-body .ticket-empty-state {
  position: relative;
  overflow: hidden;
  border-style: solid;
  border-color: #d7e6ff;
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.14), transparent 44%),
    linear-gradient(145deg, #f4f8ff 0%, #ffffff 62%);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  padding: 1.25rem;
}

.tickets-panel-body .ticket-empty-state::after {
  content: "";
  position: absolute;
  inset-inline-end: -30px;
  inset-block-end: -35px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(147, 197, 253, 0.38), transparent 68%);
  pointer-events: none;
}

.ticket-empty-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.ticket-empty-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  border: 1px solid #bfdbfe;
  background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 100%);
  color: #1d4ed8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ticket-empty-icon-wrap iconify-icon {
  font-size: 1.35rem;
}

.ticket-empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.28rem 0.62rem;
  white-space: nowrap;
}

.ticket-empty-title {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 900;
}

.tickets-panel-body .ticket-empty-title {
  font-size: 1.02rem;
}

.ticket-empty-text {
  margin: 0.45rem 0 0.95rem;
  color: #64748b;
  font-size: 0.85rem;
}

.ticket-empty-subtext {
  margin: -0.35rem 0 1rem;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.8;
  max-width: 560px;
}

@media (max-width: 640px) {
  .tickets-panel-body .ticket-empty-state {
    border-radius: 1rem;
    padding: 1rem;
  }

  .ticket-empty-visual {
    margin-bottom: 0.55rem;
  }
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.18rem 0.56rem;
  border: 1px solid transparent;
}

.priority-pill.prio-low {
  background: #ecfdf3;
  color: #027a48;
  border-color: #abefc6;
}

.priority-pill.prio-medium {
  background: #eff8ff;
  color: #175cd3;
  border-color: #b2ddff;
}

.priority-pill.prio-high {
  background: #fff4ed;
  color: #c4320a;
  border-color: #ffd6ae;
}

.priority-pill.prio-urgent {
  background: #fef3f2;
  color: #b42318;
  border-color: #fecdca;
}

.ticket-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ticket-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}

.ticket-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 1rem;
  border: 1px solid #d6e4ff;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  padding: 1rem;
}

.ticket-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ticket-modal-close {
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #d8e3f7;
  border-radius: 0.7rem;
  background: #fff;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.ticket-modal-close:hover {
  background: #f8fbff;
  border-color: #bcd0f1;
  color: #0f172a;
}

.ticket-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .ticket-modal-card {
    padding: 0.9rem;
  }

  .ticket-modal-actions {
    justify-content: stretch;
  }

  .ticket-modal-actions .btn-primary,
  .ticket-modal-actions .btn-soft {
    width: 100%;
  }
}

/* Client order tracking - credential reveal card */
.order-credential-card {
  position: relative;
  display: grid;
  gap: 0.78rem;
  padding: 1.1rem;
  border-color: #dce7f8;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.09), transparent 34%),
    linear-gradient(155deg, #ffffff, #f9fbff 70%);
  text-align: right;
}

.order-credential-eye {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d7e3f5;
  background: #ffffff;
  color: #475569;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.09);
  transition: all 0.2s ease;
  cursor: pointer;
}

.order-credential-eye:hover {
  border-color: #b9cef0;
  background: #f8fbff;
  color: #0f172a;
}

.order-credential-eye:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.order-credential-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e6edf9;
}

.order-credential-head-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.order-credential-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
}

.order-credential-title {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
}

.order-credential-desc {
  margin: 0.28rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.order-credential-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.48rem;
  white-space: nowrap;
}

.order-credential-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.28rem 0.68rem;
  font-size: 0.69rem;
  font-weight: 900;
  white-space: nowrap;
}

.order-credential-body-wrap {
  position: relative;
  margin-top: 0.06rem;
}

.order-credential-body {
  display: grid;
  gap: 0.72rem;
  transition: filter 0.2s ease;
}

.order-credential-body.is-obscured {
  filter: blur(2.8px);
  pointer-events: none;
  user-select: none;
}

.order-credential-field {
  border: 1px solid #dbe6f5;
  border-radius: 0.85rem;
  background: #ffffff;
  padding: 0.68rem;
}

.order-credential-label {
  display: block;
  margin-bottom: 0.42rem;
  color: #64748b;
  font-size: 0.74rem;
}

.order-credential-input-wrap {
  position: relative;
}

.order-credential-input {
  height: 2.92rem !important;
  padding-inline-start: 0.9rem !important;
  padding-inline-end: 2.7rem !important;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: #ffffff;
  text-align: right;
}

.order-credential-copy {
  position: absolute;
  inset-inline-end: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  width: 1.95rem;
  height: 1.95rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  border: 1px solid #d8e2f0;
  background: #ffffff;
  color: #475569;
  transition: all 0.2s ease;
  cursor: pointer;
}

.order-credential-copy:hover {
  border-color: #bfd6ff;
  background: #f5f9ff;
  color: #1d4ed8;
}

.order-credential-copy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.order-credential-veil {
  position: absolute;
  inset: 0;
  border-radius: 0.95rem;
  border: 1px dashed #d8e4f3;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.order-credential-note {
  margin-top: 0.6rem;
  padding-inline: 0.15rem;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
}

.order-credential-note.is-success {
  color: #047857;
}

.order-credential-note.is-error {
  color: #be123c;
}

@media (max-width: 640px) {
  .order-credential-card {
    padding: 0.9rem;
    gap: 0.7rem;
  }

  .order-credential-head {
    align-items: flex-start;
    gap: 0.42rem;
    padding-bottom: 0.65rem;
  }

  .order-credential-actions {
    gap: 0.36rem;
  }
}

  /* Client confirm password modal */
  .client-credential-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  .client-credential-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(4px);
  }

  .client-credential-modal__panel {
    position: relative;
    width: min(520px, 100%);
    border-radius: 1.15rem;
    border: 1px solid #d9e6fb;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.26);
  }

  .client-credential-modal__head {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #e8eef9;
    background: linear-gradient(145deg, #f0f8ff, #ffffff 68%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .client-credential-modal__title-wrap {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
  }

  .client-credential-modal__icon {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    border: 1px solid #d6e7ff;
    color: #0369a1;
    background: #fff;
  }

  .client-credential-modal__title {
    margin: 0;
    font-size: 1.03rem;
    color: #0f172a;
    font-weight: 900;
  }

  .client-credential-modal__subtitle {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.8;
  }

  .client-credential-modal__close {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    border: 1px solid #d6e1f2;
    background: #fff;
    color: #475569;
    font-size: 1.2rem;
  }

  .client-credential-modal__body {
    padding: 1rem 1.1rem 1.15rem;
    display: grid;
    gap: 0.8rem;
  }

  .client-credential-modal__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
    margin-bottom: 0.35rem;
  }

  .client-credential-modal__input {
    height: 2.85rem !important;
  }

  .client-credential-modal__error {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #be123c;
  }

  .client-credential-modal__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.2rem;
  }

  @media (max-width: 640px) {
    .client-credential-card__head {
      padding-inline-start: 2.45rem;
    }

    .client-credential-modal__actions {
      flex-direction: column;
    }

    .client-credential-modal__actions .btn-primary,
    .client-credential-modal__actions .btn-soft {
      width: 100%;
    }
  }

.account-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.account-table th,
.account-table td {
  border-bottom: 1px solid #e8eef9;
  padding: 0.7rem 0.45rem;
  text-align: right;
  color: #334155;
}

.account-table th {
  color: #0f172a;
  font-weight: 900;
  font-size: 0.78rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.18rem 0.56rem;
}

.status-badge.ok {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.status-badge.wait {
  background: #fffaeb;
  color: #b54708;
  border: 1px solid #fedf89;
}

.status-badge.no {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.card-soft > h2,
.card-soft > h3 {
  letter-spacing: -0.01em;
}

@media (max-width: 1023px) {
  .top-nav__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .mobile-nav-panel {
    display: block;
    z-index: 70;
  }

  .nav-list.desktop-nav {
    display: none;
  }

  .nav-list.mobile-view {
    display: flex;
  }
}

@media (max-width: 767px) {
  .reveal,
  .reveal.r2,
  .reveal.r3,
  .reveal.r4,
  .floating,
  .floating.delay-1,
  .floating.delay-2 {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .top-nav__inner {
    padding: 0.65rem 0.75rem;
    gap: 0.55rem;
  }

  .top-nav__brand {
    gap: 0.55rem;
  }

  .top-nav__brand-subtitle {
    display: none;
  }

  .mobile-nav-toggle {
    padding: 0.45rem;
  }

  .mobile-nav-toggle__icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .site-shell {
    width: min(100%, calc(100% - 1.5rem));
  }

  .btn-primary,
  .btn-soft,
  .btn-disabled {
    padding: 0.62rem 0.9rem;
    font-size: 0.88rem;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.6rem 0.75rem;
  }

  .hero-visual-wrap {
    min-height: auto;
  }

  .hero-stat-card {
    position: static;
    margin-top: 0.55rem;
    width: 100%;
  }

  .hero-stat-card.top,
  .hero-stat-card.bottom,
  .hero-stat-card.mid {
    inset-inline-start: auto;
    inset-inline-end: auto;
    top: auto;
    bottom: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .top-nav__inner {
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .top-nav__desktop-nav {
    display: flex;
    flex: 1;
    align-items: center;
  }

  .top-nav__desktop-auth {
    display: flex;
  }

  .top-nav__brand-subtitle {
    display: block;
  }

  .mobile-nav-toggle,
  .mobile-nav-panel {
    display: none !important;
  }

  .nav-list.mobile-view {
    display: none;
  }

  .nav-list.desktop-nav {
    display: flex;
  }
}

/* ===== Marketplace Filter Section ===== */

/* Filter Label - All Categories */
.filter-label-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  border: 2px solid;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Filter Label - Inactive State */
.filter-label-all:not(.active) {
  border-color: #0f172a;
  background-color: #ffffff;
}

.filter-label-all:not(.active):hover {
  background-color: #f5f5f5;
}

/* Filter Label - Active State */
.filter-label-all.active {
  background-color: #0ea5e9;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 20px 5px rgba(14, 165, 233, 0.35);
}

/* Filter Icon Button */
.filter-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 2px solid;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* Filter Icon Button - Inactive State */
.filter-icon-btn:not(.active) {
  background-color: #ffffff;
  border-color: #e2e8f0;
  color: #cbd5e1;
}

.filter-icon-btn:not(.active):hover {
  border-color: #d1d5db;
  color: #0f172a;
}

/* Filter Icon Button - Active State */
.filter-icon-btn.active {
  background-color: #0ea5e9;
  border-color: #0284c7;
  color: #0c4a6e;
  box-shadow: 0 0 20px 5px rgba(14, 165, 233, 0.35);
}

/* SVG Icon Opacity Control */
.filter-icon-btn.active svg {
  opacity: 1;
  width: 1rem;
  height: 1rem;
}

.filter-icon-btn:not(.active) svg {
  opacity: 0.6;
  width: 1rem;
  height: 1rem;
}

.category-pill svg, button svg {
    width: 25px !important;
    height: 25px !important;
}

/* ===== Reusable Loader Overlay ===== */
.sm-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 30%),
    rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}

.sm-loader-card {
  width: min(100%, 430px);
  border-radius: 1.25rem;
  border: 1px solid #e7ecf5;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.sm-loader-card-top {
  height: 4px;
}

.sm-loader-body {
  padding: 2rem 1.4rem 1.5rem;
  text-align: center;
}

.sm-loader-spinner-shell {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  border-radius: 1rem;
  background: linear-gradient(145deg, #eff6ff, #ffffff 58%, #ecfeff);
  border: 1px solid #deebff;
  display: grid;
  place-items: center;
  position: relative;
}

.sm-loader-spinner-track,
.sm-loader-spinner-head {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.sm-loader-spinner-track {
  border: 3px solid #dbe4f2;
}

.sm-loader-spinner-head {
  border: 3px solid transparent;
  border-top-color: #155eef;
  border-right-color: #0ea5e9;
  animation: smLoaderSpin 0.85s linear infinite;
}

.sm-loader-brand {
  margin: 0.9rem 0 0;
  color: #94a3b8;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sm-loader-title {
  margin: 0.55rem 0 0;
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1.32;
  font-weight: 900;
}

.sm-loader-text {
  margin: 0.55rem auto 0;
  max-width: 34ch;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.8;
}

.sm-loader-progress {
  margin: 1rem auto 0;
  width: min(100%, 300px);
  height: 8px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.sm-loader-progress-bar {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #155eef, #0ea5e9, #22c55e);
  animation: smLoaderSweep 1.5s ease-in-out infinite;
}

.sm-loader-dots {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.sm-loader-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #38bdf8;
  animation: smLoaderDot 1.1s ease-in-out infinite;
}

.sm-loader-dot:nth-child(1) {
  background: #155eef;
  animation-delay: 0s;
}

.sm-loader-dot:nth-child(2) {
  background: #0ea5e9;
  animation-delay: 0.12s;
}

.sm-loader-dot:nth-child(3) {
  background: #94a3b8;
  animation-delay: 0.24s;
}

@keyframes smLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes smLoaderSweep {
  0% {
    transform: translateX(-40%);
  }
  50% {
    transform: translateX(80%);
  }
  100% {
    transform: translateX(-40%);
  }
}

@keyframes smLoaderDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .sm-loader-body {
    padding: 2.15rem 1.8rem 1.7rem;
  }

  .sm-loader-title {
    font-size: 1.62rem;
  }

  .sm-loader-text {
    font-size: 0.97rem;
  }
}

    .account-pagination-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        transition: all 0.2s;
        text-decoration: none;
        color: #374151;
    }
    .account-pagination-btn.is-active {
        background-color: #2563eb; 
        color: white;
        border-color: #2563eb;
    }

      .hero-svg-shell {
    position: relative;
  }

  .hero-art-board {
    transform-origin: center;
    animation: oceanBoardIn 1.1s ease both;
  }

  .hero-offer-card {
    transform-origin: center;
    animation: offerSwimA 8.2s ease-in-out infinite;
  }

  .hero-offer-card-delay {
    animation: offerSwimB 9.1s ease-in-out infinite;
  }

  .hero-rail {
    transform-origin: center;
    animation: currentShift 11s ease-in-out infinite;
  }

  .hero-security-bar {
    transform-origin: center;
    animation: reefSettle 10s ease-in-out infinite;
  }


  .platform-swim {
    transform-origin: center;
  }
  @keyframes randomSwim {
    0% { transform: translate(0,0) scale(1) rotate(0deg); }
    20% { transform: translate(12px, -18px) scale(1.07) rotate(2deg); }
    40% { transform: translate(-16px, 14px) scale(0.96) rotate(-2deg); }
    60% { transform: translate(18px, 20px) scale(1.04) rotate(1.5deg); }
    80% { transform: translate(-10px, -16px) scale(1.02) rotate(-1.2deg); }
    100% { transform: translate(0,0) scale(1) rotate(0deg); }
  }
  .swim-1 { animation: swimOne 10.5s ease-in-out infinite; }
  .swim-2 { animation: swimTwo 9.8s ease-in-out infinite; }
  .swim-3 { animation: swimThree 11.2s ease-in-out infinite; }
  .swim-4 { animation: swimFour 9.4s ease-in-out infinite; }
  .swim-5 { animation: swimFive 10.7s ease-in-out infinite; }
  .swim-6 { animation: swimSix 9.9s ease-in-out infinite; }

  @keyframes swimOne {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    40% { transform: translate(7px,-8px) rotate(2deg); }
    70% { transform: translate(-5px,4px) rotate(-1.2deg); }
  }
  @keyframes swimTwo {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    38% { transform: translate(-6px,-7px) rotate(-1.5deg); }
    72% { transform: translate(4px,3px) rotate(1.1deg); }
  }
  @keyframes swimThree {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    44% { transform: translate(8px,-6px) rotate(1.7deg); }
    76% { transform: translate(-6px,5px) rotate(-1.3deg); }
  }
  @keyframes swimFour {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    46% { transform: translate(-7px,-5px) rotate(-1.2deg); }
    75% { transform: translate(5px,2px) rotate(0.9deg); }
  }
  @keyframes swimFive {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    42% { transform: translate(6px,-7px) rotate(1.4deg); }
    70% { transform: translate(-4px,3px) rotate(-1deg); }
  }
  @keyframes swimSix {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    48% { transform: translate(-5px,-6px) rotate(-1.1deg); }
    72% { transform: translate(3px,2px) rotate(0.8deg); }
  }

  .card-swim-1 { animation: cardSwimOne 8.7s ease-in-out infinite; }
  .card-swim-2 { animation: cardSwimTwo 9.2s ease-in-out infinite; }
  .card-swim-3 { animation: cardSwimThree 10.1s ease-in-out infinite; }
  .card-swim-4 { animation: cardSwimFour 9.6s ease-in-out infinite; }

  @keyframes cardSwimOne {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    40% { transform: translate(5px,-6px) rotate(1.2deg); }
    70% { transform: translate(-3px,2px) rotate(-0.8deg); }
  }
  @keyframes cardSwimTwo {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    38% { transform: translate(-4px,-5px) rotate(-1deg); }
    72% { transform: translate(2px,3px) rotate(0.7deg); }
  }
  @keyframes cardSwimThree {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    44% { transform: translate(6px,-4px) rotate(1deg); }
    76% { transform: translate(-4px,2px) rotate(-0.9deg); }
  }
  @keyframes cardSwimFour {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    46% { transform: translate(-5px,-3px) rotate(-0.7deg); }
    75% { transform: translate(3px,2px) rotate(0.6deg); }
  }

  .platform-icon-host,
  .offer-icon-host {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    line-height: 1;
  }

  .platform-icon-host {
    color: #f8fbff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  }

  .offer-icon-host {
    color: #2563eb;
  }

  .platform-icon-host svg,
  .platform-icon-host i {
    width: 30px;
    height: 30px;
    font-size: 30px;
    display: block;
  }

  .offer-icon-host svg,
  .offer-icon-host i {
    width: 26px;
    height: 26px;
    font-size: 26px;
    display: block;
  }

  .hero-platform-icons {
    transform-box: fill-box;
    transform-origin: center;
  }

  .hero-featured-cards {
    transform-box: fill-box;
    transform-origin: center;
  }

  .hero-offer-card {
    transform-origin: center;
  }
  .capsule-sc {
    animation: capsuleSwimThree 11.2s ease-in-out infinite;
  }

  .capsule-yt {
    animation: capsuleSwimFour 9.4s ease-in-out infinite;
  }

  .hero-caustics {
    animation: causticWave 7.8s ease-in-out infinite;
  }

  .bubble {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  .bubble-1 { animation-name: bubbleRise1; animation-duration: 6.8s; }
  .bubble-2 { animation-name: bubbleRise2; animation-duration: 7.6s; }
  .bubble-3 { animation-name: bubbleRise3; animation-duration: 6.1s; }
  .bubble-4 { animation-name: bubbleRise4; animation-duration: 8.2s; }
  .bubble-5 { animation-name: bubbleRise5; animation-duration: 7.1s; }

  @keyframes oceanBoardIn {
    from {
      transform: translateY(12px) scale(0.985);
      opacity: 0;
    }
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }

  @keyframes currentShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4px, -3px); }
  }

  @keyframes offerSwimA {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    40% { transform: translate(7px, -6px) rotate(1deg); }
    70% { transform: translate(-4px, 3px) rotate(-0.8deg); }
  }

  @keyframes offerSwimB {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    35% { transform: translate(-6px, -7px) rotate(-1deg); }
    68% { transform: translate(5px, 3px) rotate(0.7deg); }
  }

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

  @keyframes capsuleSwimOne {
    0%,
    100% {
      transform: translate(0, 0) rotate(0deg);
    }
    42% {
      transform: translate(6px, -5px) rotate(1.2deg);
    }
    70% {
      transform: translate(-3px, 2px) rotate(-0.8deg);
    }
  }

  @keyframes capsuleSwimTwo {
    0%,
    100% {
      transform: translate(0, 0) rotate(0deg);
    }
    48% {
      transform: translate(-5px, -4px) rotate(-1deg);
    }
    72% {
      transform: translate(3px, 2px) rotate(0.6deg);
    }
  }

  @keyframes capsuleSwimThree {
    0%,
    100% {
      transform: translate(0, 0) rotate(0deg);
    }
    44% {
      transform: translate(5px, -6px) rotate(1deg);
    }
    76% {
      transform: translate(-4px, 2px) rotate(-0.9deg);
    }
  }

  @keyframes capsuleSwimFour {
    0%,
    100% {
      transform: translate(0, 0) rotate(0deg);
    }
    46% {
      transform: translate(-4px, -5px) rotate(-1deg);
    }
    75% {
      transform: translate(4px, 2px) rotate(0.7deg);
    }
  }

  @keyframes causticWave {
    0%,
    100% {
      opacity: 0.25;
      transform: translateX(0);
    }
    50% {
      opacity: 0.42;
      transform: translateX(6px);
    }
  }

  @keyframes bubbleRise1 {
    0% { transform: translate(0, 0); opacity: 0; }
    12% { opacity: 0.75; }
    100% { transform: translate(8px, -220px); opacity: 0; }
  }

  @keyframes bubbleRise2 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.65; }
    100% { transform: translate(-5px, -246px); opacity: 0; }
  }

  @keyframes bubbleRise3 {
    0% { transform: translate(0, 0); opacity: 0; }
    11% { opacity: 0.72; }
    100% { transform: translate(7px, -236px); opacity: 0; }
  }

  @keyframes bubbleRise4 {
    0% { transform: translate(0, 0); opacity: 0; }
    14% { opacity: 0.6; }
    100% { transform: translate(-4px, -256px); opacity: 0; }
  }

  @keyframes bubbleRise5 {
    0% { transform: translate(0, 0); opacity: 0; }
    12% { opacity: 0.68; }
    100% { transform: translate(5px, -244px); opacity: 0; }
  }

  @media (max-width: 1280px) {
    .hero-offer-card,
    .hero-offer-card-delay,
    .platform-capsule {
      animation-duration: 11s;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-art-board,
    .hero-caustics,
    .bubble,
    .platform-capsule,
    .hero-offer-card,
    .hero-rail,
    .hero-security-bar {
      animation: none !important;
    }
  }

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITY EXTENSIONS
   These classes are not in the compiled output.css (the JIT scan only captured
   classes used at the time of the initial build). They are defined here so new
   pages can safely use them without requiring a CSS recompile.
   ─────────────────────────────────────────────────────────────────────────── */

/* Sizing */
.h-5  { height: 1.25rem; }
.h-7  { height: 1.75rem; }
.w-7  { width: 1.75rem; }

/* Spacing */
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.pb-5 { padding-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }

/* Sizing constraints */
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }

/* Typography */
.font-semibold { font-weight: 600; }

/* Border colors */
.border-slate-100 { border-color: #f1f5f9; }
.border-amber-200 { border-color: #fde68a; }

/* Background colors */
.bg-amber-50 { background-color: #fffbeb; }

/* Text colors */
.text-amber-800 { color: #92400e; }
.text-red-500   { color: #ef4444; }
.text-red-600   { color: #dc2626; }

/* ─── FAQ Accordion ──────────────────────────────────────────────────────── */
/* Hide the browser's built-in <summary> disclosure marker */
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Chevron icon inside <summary> */
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #94a3b8;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

/* ─── Client WhatsApp FAB ──────────────────────────────────────────────── */
.client-whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 5.2rem;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1100;
  isolation: isolate;
  background: linear-gradient(145deg, #1fd467 0%, #16b957 100%);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(8, 94, 84, 0.26), 0 4px 10px rgba(8, 94, 84, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: clientWhatsappFloat 3.1s ease-in-out infinite;
}

.client-whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.045);
  filter: saturate(1.06);
  box-shadow: 0 18px 30px rgba(8, 94, 84, 0.32), 0 8px 14px rgba(8, 94, 84, 0.23);
}

.client-whatsapp-fab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(34, 197, 94, 0.42),
    0 14px 24px rgba(8, 94, 84, 0.26);
}

.client-whatsapp-fab__halo {
  position: absolute;
  inset: -0.14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.36) 0%, rgba(34, 197, 94, 0) 70%);
  z-index: -1;
  animation: clientWhatsappPulse 2.2s ease-out infinite;
}

.client-whatsapp-fab__icon-wrap {
  width: 1.95rem;
  height: 1.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: clientWhatsappSpin 8s linear infinite;
}

.client-whatsapp-fab__icon {
  width: 1.68rem;
  height: 1.68rem;
  display: block;
}

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

@keyframes clientWhatsappPulse {
  0% {
    opacity: 0.85;
    transform: scale(0.9);
  }
  70% {
    opacity: 0;
    transform: scale(1.24);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes clientWhatsappSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .client-whatsapp-fab {
    right: 0.9rem;
    bottom: 4.85rem;
    width: 3.05rem;
    height: 3.05rem;
  }

  .client-whatsapp-fab__icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-whatsapp-fab,
  .client-whatsapp-fab__halo,
  .client-whatsapp-fab__icon-wrap {
    animation: none !important;
  }
}
