.verify-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(155deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.85));
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 24px -22px rgba(15, 23, 42, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
}

.verify-form select[multiple] {
  height: auto;
}

.verify-form select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.verify-form select option {
  background: #0f172a;
  color: rgba(226, 232, 240, 0.95);
}

.verify-form select::-ms-expand {
  display: none;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --secondary: #8b5cf6;
  --danger: #ef4444;
  --warning: #f97316;
  --success: #22c55e;
  --bg-dark: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --border: rgba(226, 232, 240, 0.1);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.35);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(129, 140, 248, 0.1), transparent 60%),
    #050b16;
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

nav,
main,
footer,
.cookie-banner,
.footer-whatsapp,
.admin-dashboard,
.hero-section,
.pricing-section,
.text-rich-section,
.icon-tabs,
.stats-section,
.steps-section,
.cta-banner,
.seo-section,
.verify-info-section,
.verify-highlight-section,
.verify-seo-section {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 12, 24, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 26px 48px -32px rgba(2, 6, 23, 0.72);
}

.site-header__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 18px;
  background: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.35), transparent 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 38px -32px rgba(59, 130, 246, 0.65);
}

.site-header__logo-img {
  display: block;
  height: 48px;
  width: auto;
}

.site-header__title {
  font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(226, 232, 240, 0.96);
  white-space: nowrap;
}

.site-header__title--compact {
  display: none;
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.site-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.92);
  padding: 0.3rem 0.6rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header__action:hover,
.site-header__action:focus-visible {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(30, 41, 59, 0.88);
  box-shadow: 0 14px 28px -24px rgba(59, 130, 246, 0.55);
  outline: none;
}

.site-header__action--lang {
  padding: 0.28rem 0.5rem;
}

.site-header__flags {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.site-header__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: grayscale(0.2);
}

.site-header__flag.is-active {
  transform: scale(1.1);
  filter: none;
}

.site-header__credits {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.14);
  color: rgba(226, 252, 236, 0.92);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header__credits-value {
  min-width: 2.4rem;
  text-align: right;
}

.site-header__credits-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.45);
  color: rgba(5, 12, 22, 0.85);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-header__credits-add:hover,
.site-header__credits-add:focus-visible {
  transform: translateY(-1px);
  background: rgba(34, 197, 94, 0.6);
  outline: none;
}

.site-header__toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.95);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__toggle.is-active {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(30, 41, 59, 0.88);
}

.site-header__toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(42deg);
}

.site-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-42deg);
}

.site-header__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100%);
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
  display: none;
  z-index: 190;
  grid-column: 1 / -1;
}

.site-header__menu.is-open {
  display: block;
}

.site-header__menu-inner {
  background: rgba(9, 14, 28, 0.97);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  box-shadow: 0 32px 60px -38px rgba(8, 13, 30, 0.92);
  overflow: hidden;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.site-header__primary-links,
.site-header__menu-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(155deg, rgba(17, 24, 39, 0.92), rgba(30, 41, 66, 0.82));
  box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.95);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 16px 32px -24px rgba(99, 102, 241, 0.65);
  outline: none;
}

.site-header__link--ghost {
  background: rgba(30, 41, 59, 0.72);
}

.site-header__link--primary {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.9), rgba(14, 165, 233, 0.88));
  border-color: transparent;
  color: white;
}

.site-header__link--muted {
  justify-content: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  background: rgba(15, 23, 42, 0.7);
}

.site-header__link-label {
  opacity: 0.7;
}

.site-header__logout {
  margin: 0;
}

.site-header__logout button {
  width: 100%;
  cursor: pointer;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header__logout button:hover,
.site-header__logout button:focus-visible {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.site-header__credits--menu {
  width: fit-content;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.site-nav-open {
  overflow: hidden;
}

@media (min-width: 480px) {
  .site-header__logo-img {
    height: 52px;
  }

  .site-header__title--compact {
    display: inline;
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 1rem 1.5rem;
    grid-template-columns: auto 1fr auto;
  }

  .site-header__actions {
    gap: 0.7rem;
  }

  .site-header__credits {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
}

@media (min-width: 900px) {
  .site-header__toggle {
    display: none;
  }

  .nav-backdrop {
    display: none;
  }

  body.site-nav-open {
    overflow: auto;
  }

  .site-header__menu {
    position: static;
    display: block !important;
    padding: 0;
    margin: 0;
    grid-column: 2;
    align-self: center;
    justify-self: center;
  }

  .site-header__menu-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 1.25rem;
  }

  .site-header__primary-links {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
  }

  .site-header__menu-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .site-header__link,
  .site-header__logout button {
    background: rgba(15, 23, 42, 0.75);
    border-radius: 12px;
    padding: 0.5rem 0.9rem;
    box-shadow: none;
  }

  .site-header__link--primary {
    padding: 0.55rem 1rem;
  }

  .site-header__menu-lang {
    display: none;
  }

  .site-header__credits--menu {
    display: none;
  }

  .site-header__logout {
    display: inline-flex;
  }

  .site-header__logout button {
    width: auto;
  }
}

@media (min-width: 1100px) {
  .site-header__logo-img {
    height: 56px;
  }

  .site-header__title {
    font-size: 1.4rem;
  }

  .site-header__actions {
    gap: 0.85rem;
  }
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--primary);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease, transform 0.2s ease-out;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Auth Pages */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 2rem;
}

.auth-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 18px 48px -40px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-info-box {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  color: rgba(226, 232, 240, 0.88);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.auth-info-box.muted {
  background: rgba(15, 23, 42, 0.4);
  color: rgba(148, 163, 184, 0.9);
}

.resend-form {
  margin-top: 0.75rem;
}

.link-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.link-button:hover {
  color: var(--primary-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.auth-footer {
  text-align: center;
  color: var(--text-secondary);
}

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

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

/* Flash Messages */
.flash-messages {
  margin-bottom: 1.5rem;
}

.flash {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.flash-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.flash-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

/* Verify Form */
.verify-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.verify-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.verify-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.verify-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2.5rem;
}

.imei-input {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-align: center;
}

.cost-info {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.cost-info p {
  margin: 0.5rem 0;
  color: var(--text-primary);
}

/* Additional Services */
.additional-services {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.additional-services h3 {
  margin-bottom: 1rem;
}

.additional-service-item {
  margin-bottom: 1rem;
}

.additional-service-item:last-child {
  margin-bottom: 0;
}

.service-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-checkbox:hover {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.5);
}

.service-checkbox-input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.service-checkbox-content {
  flex: 1;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.service-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.service-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.info-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Additional Results Section */
.additional-results-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.additional-result-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.additional-result-card:hover {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.7);
}

.additional-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.additional-result-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-icon {
  font-size: 1.5rem;
}

.result-category {
  background: rgba(20, 184, 166, 0.2);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.additional-result-description {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}

.additional-result-description p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.additional-result-content {
  margin-top: 1rem;
}

.result-html-content {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  color: var(--text-primary);
  line-height: 1.8;
}

.result-html-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.result-json-content {
  display: grid;
  gap: 1rem;
}

.result-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.result-field strong {
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-field span {
  color: var(--text-primary);
  font-size: 1rem;
}

.status-active {
  color: #ef4444;
  font-weight: 600;
}

.status-inactive {
  color: #22c55e;
  font-weight: 600;
}

.result-text-content {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
}

.result-text-content pre {
  margin: 0;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Additional Services Badge in Dashboard */
.order-additional {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.additional-badge {
  background: rgba(20, 184, 166, 0.2);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

/* Grouped Orders */
.grouped-orders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.imei-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.imei-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.3);
}

.imei-group-info {
  flex: 1;
}

.imei-group-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.imei-code {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--primary);
}

.imei-count {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.imei-model {
  margin: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.imei-last-checked {
  margin: 0.25rem 0 0 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.imei-group-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
}

.toggle-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.imei-group-header.active .toggle-icon {
  transform: rotate(180deg);
}

.imei-group-orders {
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
}

.imei-group-orders .order-item {
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  margin: 0;
  transition: none;
}

.imei-group-orders .order-item:hover {
  transform: none;
  box-shadow: none;
}

.imei-group-orders .order-item:first-child {
  border-top: none;
}

/* Previous Verifications */
.previous-verifications {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.previous-verifications-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.previous-icon {
  font-size: 1.2rem;
}

.previous-verifications-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.previous-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.previous-order-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.previous-order-date {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.previous-order-model {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.previous-order-more {
  text-align: center;
  padding: 0.5rem;
}

.info-text a {
  color: var(--primary);
  text-decoration: none;
}

/* Result Page */
.result-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.imei-report {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.report-header {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: radial-gradient(circle at top, var(--primary) 0%, var(--bg-dark) 50%, var(--bg-dark) 100%);
  align-items: center;
}

.device-image {
  width: 120px;
  height: 120px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.device-image img {
  max-width: 90px;
  max-height: 90px;
}

.header-content {
  flex: 1;
}

.report-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-provenance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: rgba(30, 41, 59, 0.7);
  color: rgba(226, 232, 240, 0.96);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-provenance:hover,
.btn-provenance:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 16px 28px -24px rgba(99, 102, 241, 0.55);
  outline: none;
}

.btn-provenance .btn-price {
  font-size: 0.78rem;
  opacity: 0.82;
}

.report-label {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.report-model {
  margin: 4px 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
}

.report-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

.score-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: right;
  min-width: 140px;
}

.score-label {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.score-value {
  margin: 4px 0 2px;
  font-size: 1.6rem;
  font-weight: 700;
}

.score-text {
  margin: 0;
  font-size: 0.7rem;
}

/* Critical Information Section */
.critical-info-section {
  margin: 2rem 0;
  padding: 0 1rem;
}

.critical-info-card {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.critical-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary);
  text-align: center;
}

.critical-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.critical-info-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.2s, border-color 0.2s;
}

.critical-info-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.critical-info-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.critical-info-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
  word-break: break-word;
}

.critical-info-value.status-safe {
  color: var(--success);
  background: rgba(34, 197, 94, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid rgba(34, 197, 94, 0.4);
  margin-top: 0.5rem;
}

.critical-info-value.status-warning {
  color: var(--warning);
  background: rgba(249, 115, 22, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid rgba(249, 115, 22, 0.4);
  margin-top: 0.5rem;
}

.critical-info-value.status-danger {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid rgba(239, 68, 68, 0.4);
  margin-top: 0.5rem;
}

.critical-info-value.status-unknown {
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid rgba(148, 163, 184, 0.3);
  margin-top: 0.5rem;
}

.alert-box {
  background: rgba(248, 113, 113, 0.15);
  border-left: 4px solid var(--warning);
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 1.5rem 1rem;
  border-radius: 8px;
}

.alert-icon {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 3px;
}

.alert-content p {
  margin: 0 0 6px;
}

.alert-content code {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  padding: 20px;
}

.report-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.03);
  border-radius: 14px;
  padding: 14px;
}

.report-card h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.report-card p {
  margin: 0 0 6px;
  font-size: 0.78rem;
}

.report-card code {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 4px;
  border-radius: 4px;
}

.report-tips {
  padding: 0 20px 20px;
}

.report-tips h3 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.report-tips ol {
  margin: 0;
  padding-left: 18px;
  font-size: 0.78rem;
  line-height: 1.5;
}

.report-tips li {
  margin-bottom: 0.5rem;
}

.report-conclusion {
  padding: 16px 20px 20px;
}

.conclusion-box {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 14px;
  padding: 14px;
}

.conclusion-box p {
  margin: 0;
  font-size: 0.8rem;
}

.apple-mdm-section {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.35));
  box-shadow: 0 18px 40px -28px rgba(59, 130, 246, 0.6);
}

.apple-mdm-section.apple-mdm-empty {
  text-align: center;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.apple-mdm-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.apple-mdm-header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(244, 244, 255, 0.95);
}

.apple-mdm-date {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.85);
  font-weight: 500;
}

.apple-mdm-subtitle {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
}

.apple-mdm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.apple-mdm-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.apple-mdm-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
  margin-bottom: 0.35rem;
}

.apple-mdm-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.apple-mdm-value.status-positive {
  color: #22c55e;
}

.apple-mdm-value.status-negative {
  color: #ef4444;
}

.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Dashboard */
.dashboard-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

.dashboard-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dashboard-header h1 {
  font-size: 2.1rem;
  font-weight: 700;
}

.dashboard-header p {
  margin: 0;
  color: var(--text-secondary);
}

.dashboard-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dashboard-actions .btn {
  min-width: 150px;
}
.topup-packages {
  margin-bottom: 3rem;
}

.topup-packages h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.package-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.package-credits {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.package-description {
  color: var(--text-secondary);
  min-height: 48px;
  margin-bottom: 0.75rem;
}

.package-price {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.package-card form {
  margin: 0;
}

.package-card .btn {
  width: 100%;
}

.custom-package {
  text-align: center;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px dashed rgba(59, 130, 246, 0.3);
}

.custom-package p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.topup-info {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.topup-subtitle {
  margin: 0;
}

.custom-topup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.4);
}

.custom-topup-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.custom-topup-form .form-group {
  flex: 1;
  min-width: 220px;
}

.custom-topup-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.custom-topup-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  font-size: 1rem;
}

.custom-topup-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.topup-security {
  margin-top: 2.5rem;
}

.security-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
}

.security-icon {
  font-size: 2.5rem;
}

.security-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.security-card p {
  color: var(--text-secondary);
  margin: 0;
}

.success-card {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 24px 48px -28px rgba(34, 197, 94, 0.5);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.success-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cancel-card {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 24px 48px -28px rgba(239, 68, 68, 0.5);
}

.cancel-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cancel-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cancel-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.error-box {
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: #ef4444;
  margin-bottom: 1.5rem;
}

.error-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.error-box li {
  margin-bottom: 0.25rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.5);
}

.stat-icon {
  font-size: 2.4rem;
}

.stat-content h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
}

.stat-link:hover {
  text-decoration: underline;
}

.dashboard-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.dashboard-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
}

.orders-list,
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-imei,
.order-model,
.order-brand,
.order-date,
.order-cost {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.order-imei {
  font-weight: 600;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-success {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.status-failed,
.status-error {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.status-pending {
  background: rgba(249, 115, 22, 0.2);
  color: var(--warning);
}

.transaction-item {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.transaction-item-wrapper {
  position: relative;
}

.transaction-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.transaction-link:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.transaction-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.transaction-desc {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.transaction-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.transaction-amount {
  font-weight: 700;
  font-size: 1.05rem;
}

.transaction-amount.positive {
  color: var(--success);
}

.transaction-amount.negative {
  color: var(--danger);
}

.transaction-link .transaction-amount::after {
  content: "↗";
  margin-left: 0.35rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.9);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.empty-state p {
  margin-bottom: 1.5rem;
}

.credits-display {
  text-align: right;
}

.credits-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.credits-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.credits-info {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.credits-info .info-text {
  margin-bottom: 0.5rem;
}

.orders-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transactions-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Error Pages */
.error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 2rem;
}

.error-content {
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-message {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  padding: 1.8rem 1.1rem 1.4rem;
  background: rgba(6, 12, 24, 0.9);
  border-top: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 -18px 40px -40px rgba(2, 6, 23, 0.85);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.95);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-footer__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.site-footer__logo-img {
  display: block;
  height: 34px;
  width: auto;
}

.site-footer__logo-text {
  font-size: 1.12rem;
}

.site-footer__tagline {
  margin: 0;
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.86rem;
  max-width: 420px;
  line-height: 1.45;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(203, 213, 225, 0.92);
  margin: 0;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: rgba(148, 197, 255, 0.95);
  transform: translateX(2px);
  outline: none;
}

.site-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.site-footer__badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer__company-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__copyright {
  display: block;
}

.site-footer__cui {
  display: block;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 300px) 1fr;
    align-items: start;
  }

  .site-footer__brand {
    padding-right: 1rem;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .site-footer__logo-img {
    height: 38px;
  }
}

/* Pricing Section */
.pricing-section {
  padding: 3.5rem 1.5rem;
  background: rgba(15, 23, 42, 0.3);
}

.pricing-carousel {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.pricing-carousel .section-title {
  text-align: center;
  font-size: clamp(2rem, 1.8rem + 1vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.pricing-carousel .section-subtitle {
  text-align: center;
  color: rgba(148, 163, 184, 0.85);
  font-size: 1.05rem;
}

.pricing-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05), transparent 55%), rgba(10, 17, 32, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 48px -35px rgba(2, 6, 23, 0.85);
  width: 100%;
  max-width: 100%;
}

.pricing-carousel__track {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pricing-carousel__track::-webkit-scrollbar {
  display: none;
}

.pricing-slide {
  min-width: min(320px, 80vw);
  max-width: min(320px, 80vw);
  flex: 0 0 auto;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  display: grid;
  gap: 1rem;
  scroll-snap-align: start;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pricing-slide:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 20px 42px -30px rgba(37, 99, 235, 0.6);
}

.pricing-slide__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
}

.pricing-slide__logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.88);
  padding: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 26px -20px rgba(59, 130, 246, 0.6);
  flex-shrink: 0;
}

.pricing-slide__meta {
  min-width: 0;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pricing-slide__brand {
  font-size: 1.2rem;
  margin: 0;
  color: rgba(226, 232, 240, 0.95);
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricing-slide__price {
  margin: 0;
  color: rgba(165, 180, 252, 0.95);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pricing-slide__amount {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-slide__currency {
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.8);
}

.pricing-slide__description {
  margin: 0;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
}

.pricing-slide__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
}

.pricing-slide__features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  width: 100%;
}

.pricing-slide__features li > *:not(span) {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pricing-slide__features li span {
  flex-shrink: 0;
  color: rgba(96, 165, 250, 0.85);
  font-weight: 600;
}

.pricing-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.pricing-carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.95);
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-carousel__btn:hover,
.pricing-carousel__btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 16px 28px -26px rgba(59, 130, 246, 0.7);
  outline: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  background: rgba(10, 17, 32, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: var(--card-bg, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  filter: saturate(0.8);
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
}

.pricing-card:hover::before {
  opacity: 0.18;
}

.pricing-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.75);
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 24px -16px rgba(56, 189, 248, 0.65);
}

.pricing-brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-currency {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.verify-pricing {
  padding: 2.25rem 0 0;
  background: transparent;
}

.verify-pricing .section-title {
  text-align: left;
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.verify-pricing .section-subtitle {
  text-align: left;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  color: rgba(226, 232, 240, 0.7);
}

.pricing-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
}

.verify-pricing .pricing-card {
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.85);
}

.verify-pricing .pricing-card {
  text-align: left;
  padding: 1.4rem 1.25rem;
}

.verify-pricing .pricing-card::before {
  opacity: 0.06;
}

.verify-pricing .pricing-card:hover::before {
  opacity: 0.12;
}

.verify-pricing .pricing-card:hover {
  transform: translateY(-4px);
}

.verify-pricing .pricing-brand {
  justify-content: flex-start;
  margin-bottom: 0.75rem;
}

.verify-pricing .pricing-brand-logo {
  width: 40px;
  height: 40px;
  padding: 0.25rem;
}

.verify-pricing .pricing-brand-name {
  font-size: 1.05rem;
}

.verify-pricing .pricing-price {
  font-size: 1.85rem;
}

.guest-price-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  color: rgba(226, 232, 240, 0.88);
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.guest-price-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.9);
}

.guest-price-value {
  font-size: 1.1rem;
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

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

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 3rem 1rem;
  }

  .pricing-carousel .section-title {
    font-size: 1.95rem;
  }

  .pricing-carousel .section-subtitle {
    font-size: 0.98rem;
  }

  .pricing-carousel__track {
    gap: 1rem;
    padding: 1.6rem 1.2rem;
  }

  .pricing-slide {
    min-width: 85vw;
    padding: 1.5rem 1.35rem;
  }

  .pricing-carousel__btn {
    width: 38px;
    height: 38px;
  }

  /* Dashboard */
  .dashboard-container {
    padding: 1rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dashboard-header h1 {
    font-size: 1.5rem;
  }

  .dashboard-header .btn {
    width: 100%;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .stat-icon {
    font-size: 2.5rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

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

  /* Orders */
  .orders-table,
  .orders-list {
    gap: 0.75rem;
  }

  /* IMEI Report */
  .imei-report {
    padding: 1rem 0;
  }

  .report-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1rem;
  }

  .device-image {
    margin: 0 auto;
  }

  .device-image img {
    width: 120px;
    height: 120px;
  }

  .header-content {
    text-align: center;
  }

  .score-box {
    width: 100%;
    min-width: auto;
    text-align: center;
  }

  .report-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .report-card {
    padding: 1.25rem;
  }

  .report-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .report-card p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .alert-box {
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .report-tips {
    padding: 0 1rem 1rem;
  }

  .report-tips h3 {
    font-size: 1rem;
  }

  .report-tips ol {
    font-size: 0.85rem;
  }

  .report-conclusion {
    padding: 1rem;
  }

  /* Verify Card */
  .verify-container {
    padding: 1rem;
  }

  .verify-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .verify-title {
    font-size: 1.75rem;
  }

  .verify-subtitle {
    font-size: 0.95rem;
  }

  /* Forms */
  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
    padding: 0.75rem;
  }

  /* Order Items */
  .order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .order-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  /* Grouped Orders */
  .imei-group-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .imei-group-info h3 {
    font-size: 1rem;
  }

  .imei-group-toggle {
    align-self: flex-end;
  }

  /* Additional Services */
  .additional-services {
    padding: 1rem;
  }

  .service-checkbox {
    padding: 0.75rem;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Result Cards */
  /* Report Grid */
  .report-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .report-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .device-image {
    margin: 0 auto;
  }

  .header-content {
    text-align: center;
  }

  .score-box {
    width: 100%;
    margin: 0 auto;
  }

  .report-card {
    padding: 1.5rem;
  }

  .report-card h3 {
    font-size: 1.1rem;
  }

  .additional-results-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .additional-result-card {
    padding: 1.5rem;
  }

  .additional-result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .additional-result-header h3 {
    font-size: 1.1rem;
  }

  /* Result Actions */
  .result-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .result-actions .btn {
    width: 100%;
  }

  /* Auth Cards */
  .auth-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .auth-title {
    font-size: 1.75rem;
  }

  /* Cost Info */
  .cost-info {
    padding: 0.75rem;
  }

  /* Previous Verifications */
  .previous-verifications {
    padding: 0.75rem;
  }

  .previous-order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .previous-order-item .btn {
    width: 100%;
  }

  /* Report Header */
  .report-header {
    flex-direction: column;
    text-align: center;
  }

  .score-box {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Extra Small Screens */
  .nav-container {
    padding: 0 0.75rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-logo svg {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .nav-link {
    padding: 0.35rem 0.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .verify-title {
    font-size: 1.5rem;
  }

  .pricing-section {
    padding: 2.6rem 0.85rem;
  }

  .pricing-carousel .section-title {
    font-size: 1.85rem;
  }

  .pricing-carousel .section-subtitle {
    font-size: 0.92rem;
  }

  .pricing-carousel__track {
    padding: 1.4rem 1rem;
    gap: 0.85rem;
  }

  .pricing-slide {
    min-width: 88vw;
    padding: 1.35rem 1.15rem;
  }

  .verify-card {
    padding: 1.5rem 1rem;
  }

  .auth-card {
    padding: 1.5rem 1rem;
  }

  .imei-code {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .report-grid {
    padding: 1rem;
    gap: 0.75rem;
  }

  .report-card {
    padding: 1rem;
  }

  .report-card h3 {
    font-size: 1rem;
  }

  .report-card p {
    font-size: 0.85rem;
  }

  .report-header {
    padding: 1rem;
  }

  .report-model {
    font-size: 1.1rem;
  }

  .score-box {
    min-width: auto;
    width: 100%;
    text-align: center;
  }

  .score-value {
    font-size: 1.5rem;
  }

  .additional-result-card {
    padding: 1rem;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .dashboard-container {
    padding: 0.75rem;
  }

  .imei-group-header {
    padding: 0.75rem;
  }

  .order-item {
    padding: 0.75rem;
  }

  .imei-report {
    padding: 1rem 0.5rem;
  }

  .alert-box {
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .report-tips {
    padding: 0 1rem 1rem;
  }

  .report-conclusion {
    padding: 1rem;
  }

  /* Make sure buttons are touch-friendly */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }

  .btn-sm {
    min-height: 36px;
    padding: 0.5rem 0.75rem;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .verify-card {
    padding: 2.5rem;
  }

  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-sections {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Viewport meta tag is already in layout.ejs */

/* IMEI OCR quick action */
.imei-ocr-wrapper {
  margin-top: 0.75rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.imei-ocr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  font-size: 1rem;
}

.imei-ocr-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.imei-ocr-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.imei-ocr-feedback {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.85);
}

.imei-ocr-feedback.success {
  color: rgba(34, 197, 94, 0.95);
}

.imei-ocr-feedback.error {
  color: rgba(248, 113, 113, 0.95);
}

#imei-ocr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.imei-ocr-modal {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.9);
}

.imei-ocr-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.95);
}

.imei-ocr-video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imei-ocr-frame {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80%;
  height: 26%;
  border: 2px solid rgba(129, 140, 248, 0.9);
  border-radius: 12px;
  box-shadow:
    0 0 0 9999px rgba(10, 15, 25, 0.65),
    inset 0 0 25px rgba(10, 15, 25, 0.5);
}

.imei-ocr-controls {
  display: flex;
  gap: 0.75rem;
}

.imei-ocr-controls .btn {
  flex: 1;
}

.imei-ocr-status {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.85);
  text-align: center;
  min-height: 1.6rem;
}

.imei-ocr-preview {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.imei-ocr-preview-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.75);
}

.imei-ocr-preview-value {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.imei-ocr-preview-value.success {
  color: rgba(34, 197, 94, 0.95);
}

.imei-ocr-preview-value.near {
  color: rgba(249, 115, 22, 0.9);
}

.imei-ocr-fallback {
  display: flex;
}

.imei-ocr-fallback-btn {
  width: 100%;
}

@media (max-width: 768px) {
  #imei-ocr-overlay {
    padding: 1rem;
  }

  .imei-ocr-modal {
    padding: 1rem;
    gap: 0.85rem;
  }
}

/* Legal Pages */
.legal-page {
  position: relative;
  margin: 2rem auto 3rem;
  padding: 2.5rem 2rem;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 25px 60px -35px rgba(15, 23, 42, 0.85);
  max-width: 960px;
}

.legal-hero {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.45rem;
}

.legal-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-content {
  display: grid;
  gap: 1.75rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: rgba(226, 232, 240, 0.92);
}

.legal-section p,
.legal-section ul {
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.legal-section a {
  color: rgba(96, 165, 250, 0.95);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.faq-list {
  gap: 1rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.6;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .legal-page {
    padding: 2rem 1.4rem;
  }

  .legal-hero h1 {
    font-size: 1.6rem;
  }

  .critical-info-section {
    margin: 1.5rem 0;
    padding: 0;
  }

  .critical-info-card {
    padding: 1.5rem 1.1rem;
    border-width: 1px;
  }

  .critical-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .critical-info-item {
    padding: 1rem;
  }

  .critical-info-value,
  .critical-info-value.status-safe,
  .critical-info-value.status-warning,
  .critical-info-value.status-danger,
  .critical-info-value.status-unknown {
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
  }

  .score-box {
    width: 100%;
    padding: 1rem;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.9);
  padding: 1.5rem;
  display: none;
  z-index: 400;
}

.cookie-banner.show {
  display: block;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
}
.cookie-modal.open {
  display: block;
}
.cookie-modal[hidden] {
  display: none !important;
}
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.cookie-modal__dialog {
  position: relative;
  background: #fff;
  color: rgba(15, 23, 42, 0.95);
  width: min(560px, 92vw);
  margin: 8vh auto 0;
  border-radius: 16px;
  box-shadow: 0 30px 80px -35px rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.cookie-modal__title {
  font-size: 1.125rem;
  margin: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(30, 41, 59, 0.8);
}
.cookie-modal__body {
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.cookie-pref__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.cookie-pref__label {
  line-height: 1.5;
}
.cookie-modal__footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cookie-text p {
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text a {
  color: rgba(96, 165, 250, 0.95);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(59, 130, 246, 0.16);
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  position: relative;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 1.1rem;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lang-flag.is-active {
  opacity: 1;
  transform: scale(1.05);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45), 0 8px 18px -12px rgba(59, 130, 246, 0.7);
}

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

.footer-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
}

.footer-whatsapp-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 25px -12px rgba(18, 140, 126, 0.8);
  animation: whatsapp-pulse 2.4s infinite;
}

.footer-whatsapp-icon {
  font-size: 1.6rem;
}

.footer-whatsapp-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(10, 17, 32, 0.9);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px -12px rgba(18, 140, 126, 0.8);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 14px 28px -10px rgba(18, 140, 126, 0.85);
  }
}

@media (max-width: 768px) {
  .footer-whatsapp {
    bottom: 16px;
    right: 16px;
  }

  .footer-whatsapp-link {
    width: 52px;
    height: 52px;
  }
}

.admin-dashboard {
  max-width: 1200px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-dashboard__header h1 {
  font-size: 1.8rem;
  margin: 0;
}

.admin-dashboard__header p {
  margin-top: 0.4rem;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.95rem;
}

.admin-dashboard__stats {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-stat-card {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.08);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 100%);
  box-shadow: 0 22px 48px -44px rgba(59, 130, 246, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admin-stat-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.75);
}

.admin-stat-card__value {
  font-size: 1.8rem;
  line-height: 1;
  margin: 0.1rem 0;
  color: rgba(226, 232, 240, 0.98);
}

.admin-stat-card__meta {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.75);
}

.admin-dashboard__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: stretch;
}

.admin-panel {
  background: rgba(10, 15, 25, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 22px 48px -44px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.92);
}

.admin-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-panel__header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: rgba(226, 232, 240, 0.98);
}

.admin-panel__header p {
  margin: 0.35rem 0 0;
  color: rgba(148, 163, 184, 0.78);
  font-size: 0.9rem;
}

.admin-alert {
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}

.admin-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: rgba(209, 250, 229, 0.95);
}

.admin-alert-error {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: rgba(254, 202, 202, 0.95);
}

.admin-search-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-search-bar__field {
  position: relative;
  flex: 1;
}

.admin-search-bar input[type='search'] {
  width: 100%;
  padding: 0.55rem 0.75rem;
  padding-right: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.95);
}

.admin-search-bar__clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(148, 163, 184, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
}

.admin-search-bar__reset {
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.85rem;
}

.admin-search-result {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.78);
  margin: -0.6rem 0 -0.2rem;
}

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
  color: rgba(226, 232, 240, 0.9);
}

.admin-table th,
.admin-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.7);
}

.admin-table--compact th,
.admin-table--compact td {
  padding: 0.7rem 0.75rem;
}

.admin-table--dense th,
.admin-table--dense td {
  padding: 0.6rem 0.7rem;
  font-size: 0.88rem;
}

.admin-table__empty {
  text-align: center;
  padding: 1.5rem;
  color: rgba(148, 163, 184, 0.75);
  font-size: 0.9rem;
}

.admin-table__actions {
  text-align: right;
  white-space: nowrap;
  min-width: 130px;
}

.admin-table__actions-user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.admin-table__meta--user {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}

.admin-table__actions .btn-xs {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-table__meta {
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
}

.admin-user-email {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.96);
  word-break: break-word;
}

.admin-user-meta {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.admin-verification-email {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}

.admin-verification-user {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.75);
}

.admin-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-link:hover,
.admin-link:focus-visible {
  color: rgba(20, 184, 166, 0.85);
  text-decoration: underline;
}

.admin-verification-row--hidden {
  display: none;
}

.admin-table__footer td {
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: rgba(191, 219, 254, 0.95);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-info {
  background: rgba(99, 102, 241, 0.24);
  color: rgba(199, 210, 254, 0.96);
}

.badge-error {
  background: rgba(248, 113, 113, 0.25);
  color: rgba(254, 202, 202, 0.96);
}

.badge-status-success {
  background: rgba(16, 185, 129, 0.18);
  color: rgba(209, 250, 229, 0.95);
}

.badge-status-failed,
.badge-status-error {
  background: rgba(248, 113, 113, 0.22);
  color: rgba(254, 202, 202, 0.95);
}

.badge-status-pending {
  background: rgba(253, 224, 71, 0.18);
  color: rgba(254, 240, 138, 0.95);
}

.btn-xs {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: rgba(226, 232, 240, 0.9);
}

.admin-card {
  background: rgba(13, 18, 30, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-pricing-card {
  gap: 1.5rem;
}

.admin-pricing-grid {
  display: grid;
  gap: 0.8rem;
}

.admin-pricing-grid__header {
  display: grid;
  grid-template-columns: 0.8fr 0.6fr 0.6fr;
  gap: 0.8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.75);
}

.admin-pricing-row {
  display: grid;
  grid-template-columns: 0.8fr 0.6fr 0.6fr;
  gap: 0.8rem;
  align-items: center;
}

.admin-pricing-row__brand {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.admin-pricing-row input[type='number'] {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.95);
}

.admin-pricing-extra {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-pricing-extra label {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.admin-pricing-extra__input {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-pricing-extra__input input[type='number'] {
  width: 200px;
  max-width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.95);
}

.admin-pricing-extra__hint {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
}

.admin-pricing-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  padding: 2.5rem 1.5rem;
}

.admin-modal.is-open {
  display: flex;
}

.admin-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, 0.75);
  backdrop-filter: blur(4px);
}

.admin-modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100vh - 4rem);
  background: rgba(11, 17, 30, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  box-shadow: 0 30px 80px -50px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: rgba(148, 163, 184, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
}

.admin-modal__content {
  padding: 1.6rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.admin-modal__loading {
  padding: 1.8rem;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
  color: rgba(148, 163, 184, 0.8);
}

.admin-modal__loading[hidden] {
  display: none !important;
}

.admin-modal__content[hidden] {
  display: none !important;
}

.admin-modal__spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 184, 0.2);
  border-top-color: rgba(59, 130, 246, 0.7);
  animation: admin-modal-spin 1s linear infinite;
}

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

.admin-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-modal__header h3 {
  margin: 0;
}

.admin-modal__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.75);
}

.admin-modal__stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.admin-modal-stat {
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-modal-stat span {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.75);
  text-transform: uppercase;
}

.admin-modal-stat strong {
  font-size: 1.4rem;
  color: rgba(226, 232, 240, 0.95);
}

.admin-modal-stat small {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
}

.admin-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-modal-form label {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.85);
}

.admin-modal-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-modal-form__row input {
  flex: 1;
  min-width: 140px;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.95);
}

.admin-modal__section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-modal__section h4 {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.92);
}

.admin-modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-modal-list li {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.admin-modal-list__meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.75);
}

.admin-modal-list__empty {
  padding: 0.6rem 0.9rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px dashed rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  color: rgba(148, 163, 184, 0.75);
  text-align: center;
}

.admin-modal__error {
  color: rgba(248, 113, 113, 0.85);
  margin: 0;
}

body.admin-modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .admin-dashboard {
    padding: 0 1rem;
  }

  .admin-panel {
    padding: 1.25rem;
  }

  .admin-pricing-grid__header,
  .admin-pricing-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-dashboard {
    padding: 0 0.75rem;
    gap: 2rem;
  }

  .admin-dashboard__header h1 {
    font-size: 1.6rem;
  }

  .admin-panel__header {
    align-items: stretch;
  }

  .admin-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-search-bar .btn,
  .admin-search-bar__reset {
    width: 100%;
    text-align: center;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.6rem 0.65rem;
  }

  .admin-modal__dialog {
    width: calc(100% - 1.5rem);
  }
  .admin-modal {
    align-items: flex-start;
    padding-top: 4.5rem;
  }

  .admin-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 3rem);
  }
}

@media (max-width: 720px) {
  .admin-table-wrapper {
    overflow: visible;
  }

  .admin-table {
    border: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: block;
  }

  .admin-table tr {
    display: block;
    background: rgba(11, 17, 30, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.85);
  }

  .admin-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    border: none;
    padding: 0.55rem 0;
  }

  .admin-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
  }

  .admin-table td:last-child {
    padding-bottom: 0;
  }

  .admin-table td:first-child {
    padding-top: 0;
  }

  .admin-table td[colspan] {
    display: block;
    padding: 0;
    text-align: center;
  }

  .admin-table td[colspan]::before {
    content: none;
  }

  .admin-table__actions {
    text-align: left;
  }

  .admin-table__actions .btn-xs {
    width: 100%;
    max-width: none;
  }

  .admin-table__actions-user {
    width: 100%;
    gap: 0.5rem;
  }

  .admin-table__footer td {
    padding: 0;
  }

  .admin-table__footer button {
    width: 100%;
  }
}

/* Media Slider */
.media-slider {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.media-slider-header {
  text-align: center;
  margin-bottom: 2rem;
}

.media-slider-body {
  display: grid;
  gap: 1.5rem;
}

.media-slider-main {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
  min-height: 320px;
}

.media-slider-main img {
  width: 100%;
  height: auto;
  display: block;
}

.media-slider-main figcaption {
  padding: 1.2rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.85) 100%);
  position: absolute;
  inset: auto 0 0 0;
}

.media-slider-main h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.media-slider-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.media-slider-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.6);
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.media-slider-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.45);
}

.media-slider-thumb.is-active {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.08);
}

.media-slider-thumb-image {
  width: 100%;
  padding-top: 60%;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

.media-slider-thumb-label {
  font-weight: 600;
  font-size: 0.85rem;
}

/* Text rich section */
.text-rich-section {
  padding: 3.5rem 1.5rem;
  background: rgba(10, 17, 32, 0.9);
}

.text-rich-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.text-rich-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-rich-intro p {
  color: rgba(203, 213, 225, 0.9);
  margin-bottom: 0.9rem;
}

.text-rich-points {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.text-rich-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.text-rich-icon {
  font-size: 1.6rem;
  line-height: 1;
}

/* Icon tabs */
.icon-tabs {
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.icon-tabs-header {
  text-align: center;
  margin-bottom: 2rem;
}

.icon-tabs-wrapper {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  overflow: hidden;
}

.icon-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.2rem;
  justify-content: center;
}

.icon-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.8);
  color: inherit;
  transition: background 0.2s ease, border 0.2s ease;
}

.icon-tab-icon {
  font-size: 1.2rem;
}

.icon-tab.is-active {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
}

.icon-tabs-panels {
  padding: 1.5rem;
}

.icon-tab-panel {
  display: none;
}

.icon-tab-panel.is-active {
  display: block;
}

.icon-tab-content {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.icon-tab-text ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  color: rgba(203, 213, 225, 0.85);
}

.icon-tab-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Stats */
.stats-section {
  padding: 3rem 1.5rem;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-bubble {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(94, 234, 212, 0.95);
}

.stat-label {
  margin-top: 0.4rem;
  font-weight: 600;
}

.stat-description {
  margin-top: 0.3rem;
  color: rgba(203, 213, 225, 0.75);
}

/* Steps */
.steps-section {
  padding: 3.5rem 1.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.steps-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.15);
  color: rgba(34, 211, 238, 0.95);
  font-weight: 700;
}

.steps-media img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* CTA banner */
.cta-banner {
  padding: 3.5rem 1.5rem;
}

.cta-banner--has-image {
  background: rgba(15, 23, 42, 0.85);
  background-image: linear-gradient(160deg, rgba(15, 23, 42, 0.92) 20%, rgba(10, 14, 25, 0.8) 60%), var(--cta-bg, none);
  background-size: cover;
  background-position: center;
}

.cta-banner-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-banner-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(129, 140, 248, 0.85);
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* SEO section */
.seo-section {
  padding: 3rem 1.5rem 2rem;
}

.seo-content {
  max-width: 960px;
  margin: 0 auto;
}

.seo-content h2 {
  margin-bottom: 1.2rem;
}

.seo-content p {
  margin-bottom: 0.9rem;
  color: rgba(203, 213, 225, 0.85);
}

/* Verify info sections */
.verify-info-section {
  padding: 3.5rem 1.5rem;
  background: rgba(10, 17, 32, 0.92);
  margin-top: 2rem;
}

.verify-info-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.verify-info-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: rgba(129, 140, 248, 0.9);
}

.verify-info-text h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.verify-info-text p {
  color: rgba(203, 213, 225, 0.85);
  margin-bottom: 0.8rem;
}

.verify-info-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.verify-info-media {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.verify-info-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.verify-info-caption {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.75);
}

.verify-highlight-section {
  padding: 2.5rem 1.5rem;
}

.verify-highlight-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.verify-highlight-card {
  padding: 1.5rem 1.2rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.verify-highlight-icon {
  font-size: 1.5rem;
}

.verify-seo-section {
  padding: 2.5rem 1.5rem 3rem;
  background: rgba(10, 14, 25, 0.88);
}

.verify-seo-content {
  max-width: 960px;
  margin: 0 auto;
}

.verify-seo-content p {
  color: rgba(203, 213, 225, 0.85);
  margin-bottom: 0.9rem;
}

@media (max-width: 768px) {
  .media-slider {
    padding: 2.5rem 1rem;
  }

  .icon-tabs-wrapper {
    border-radius: 20px;
  }

  .icon-tabs-list {
    justify-content: flex-start;
  }

  .icon-tab {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .cta-banner {
    padding: 2.5rem 1rem;
  }

  .verify-info-section {
    padding: 2.5rem 1rem;
  }
}

.form-loading {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.95rem;
}

.form-loading[hidden] {
  display: none !important;
}

.form-loading .spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.18);
  border-top-color: rgba(56, 189, 248, 0.85);
  animation: auth-spinner 0.8s linear infinite;
}

.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

@keyframes auth-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* FANE BOT widget */
.fane-bot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fane-bot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(14, 165, 233, 0.85));
  border: none;
  color: #f8fafc;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 20px 48px -28px rgba(14, 165, 233, 0.85);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fane-bot-toggle:hover,
.fane-bot-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 56px -32px rgba(14, 165, 233, 0.95);
}

.fane-bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid rgba(248, 250, 252, 0.65);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.4);
}

.fane-bot-window {
  width: min(320px, calc(100vw - 32px));
  background: rgba(11, 18, 34, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  box-shadow: 0 28px 52px -32px rgba(15, 23, 42, 0.92);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.fane-bot-window[hidden] {
  display: none;
}

.fane-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.7));
  color: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.fane-bot-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fane-bot-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.65);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fane-bot-reset:hover,
.fane-bot-reset:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 14px 32px -24px rgba(59, 130, 246, 0.6);
  outline: none;
}

.fane-bot-reset:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.fane-bot-reset.is-loading {
  cursor: wait;
  opacity: 0.6;
}

.fane-bot-reset-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.fane-bot-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: rgba(248, 250, 252, 0.88);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fane-bot-close:hover,
.fane-bot-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 14px 32px -24px rgba(59, 130, 246, 0.6);
  outline: none;
}

.fane-bot-messages {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.fane-message {
  display: flex;
}

.fane-message-user {
  justify-content: flex-end;
}

.fane-message-bubble {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
}

.fane-message-user .fane-message-bubble {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(14, 165, 233, 0.8));
  color: #f8fafc;
  border-color: transparent;
}

.fane-bot-status {
  padding: 6px 18px;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.9);
}

.fane-bot-form {
  padding: 14px 18px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.9);
}

.fane-bot-suggest-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  grid-column: 1;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.7);
  color: rgba(226, 232, 240, 0.92);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fane-bot-suggest-toggle:hover,
.fane-bot-suggest-toggle:focus-visible {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 12px 24px -18px rgba(99, 102, 241, 0.55);
  outline: none;
}

.fane-bot-suggest-toggle.is-active {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.2);
  color: #e0f2fe;
}

.fane-bot-suggest-toggle.is-disabled,
.fane-bot-suggest-toggle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.5);
  box-shadow: none;
}

.fane-bot-suggest-toggle[aria-expanded="true"] {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.15);
}

.fane-bot-suggest-icon {
  font-size: 1rem;
  line-height: 1;
}

.fane-bot-input {
  width: 100%;
  grid-column: 2;
  resize: vertical;
  min-height: 46px;
  max-height: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fane-bot-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.fane-bot-suggestions {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.55rem;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(11, 18, 34, 0.92);
}

.fane-bot-suggestions.is-visible {
  display: grid;
}

.fane-bot-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: rgba(226, 232, 240, 0.96);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fane-bot-suggestion:hover,
.fane-bot-suggestion:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 10px 24px -18px rgba(59, 130, 246, 0.6);
  outline: none;
}

.fane-bot-suggestion:active {
  transform: translateY(0);
}

.fane-bot-send {
  grid-column: 3;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.85));
  color: #f0fdf4;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fane-bot-send:hover,
.fane-bot-send:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -24px rgba(34, 197, 94, 0.8);
}

@media (max-width: 640px) {
  .fane-bot {
    bottom: 16px;
    right: 16px;
  }

  .fane-bot-window {
    width: min(100vw - 24px, 320px);
  }
}

/* Admin Forms */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-form-group--full {
  grid-column: 1 / -1;
}

.admin-form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.92);
}

.admin-form-group input[type="text"],
.admin-form-group input[type="email"],
.admin-form-group input[type="url"],
.admin-form-group input[type="tel"],
.admin-form-group input[type="number"],
.admin-form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-form-group small {
  font-size: 0.8125rem;
  color: rgba(203, 213, 225, 0.75);
}

.admin-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.admin-form-actions {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(248, 250, 252, 0.5);
}

.admin-dashboard__header-actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .admin-dashboard__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-form-actions {
    flex-direction: column;
  }
}

/* Legal Page Enhancements */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: #ffffff; /* ensure readable background */
  color: rgba(15, 23, 42, 0.95); /* base text color for readability */
}

.legal-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.legal-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.95);
  margin-bottom: 0.5rem;
}

.legal-hero__updated {
  font-size: 0.875rem;
  color: rgba(100, 116, 139, 0.8);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.9);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.legal-section__content {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(30, 41, 59, 0.92);
}

.legal-section__content strong {
  color: rgba(15, 23, 42, 0.95);
  font-weight: 600;
}

.legal-section__content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section__content li {
  margin: 0.5rem 0;
}

.legal-section__content a {
  color: rgb(59, 130, 246);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-section__content a:hover {
  color: rgb(37, 99, 235);
}

.legal-notice {
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  border: 2px solid;
}

.legal-notice--info {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  color: rgba(30, 64, 175, 0.9);
}

.legal-notice--warning {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
  color: rgba(146, 64, 14, 0.9);
}

.legal-notice strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.legal-notice p {
  margin: 0.5rem 0;
}

.legal-notice .btn {
  margin-top: 0.75rem;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(100, 116, 139, 0.8);
}

@media (max-width: 768px) {
  .legal-page {
    padding: 1.5rem 1rem;
  }
  
  .legal-hero h1 {
    font-size: 1.875rem;
  }
  
  .legal-section h2 {
    font-size: 1.25rem;
  }
}
