/* ==============================================================================
   FRYNZY - ULTRA-REALISTIC WHITE/LIGHT DESIGN SYSTEM FOR LEGAL & HELP PAGES
   100% RESPONSIVE: MOBILE (320px+), TABLET, LAPTOP & DESKTOP (4K)
   ============================================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #3b82f6;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --brand-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  --emerald-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --amber-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --rose-gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 14px 28px -4px rgba(37, 99, 235, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-alt);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

/* ==============================================================================
   RESPONSIVE HEADER & NAVIGATION
   ============================================================================== */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  width: 100%;
}

.legal-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.legal-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.legal-brand-text {
  display: flex;
  flex-direction: column;
}

.legal-brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.legal-brand-subtitle {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Desktop Nav */
.legal-nav-desktop {
  display: flex;
  align-items: center;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.legal-nav-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.legal-nav-item a:hover,
.legal-nav-item.active a {
  color: var(--primary);
  background: var(--primary-light);
}

.legal-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--brand-gradient);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.legal-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* Mobile Menu Toggle Button */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
}

.mobile-nav-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Mobile Slide-out Drawer */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 1600;
  box-shadow: var(--shadow-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-drawer-links a i {
  width: 20px;
  color: var(--primary);
  font-size: 16px;
  text-align: center;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links .active a {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 920px) {
  .legal-nav-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

/* ==============================================================================
   PAGE HERO SECTION
   ============================================================================== */
.legal-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(32px, 6vw, 60px) 16px clamp(28px, 5vw, 45px);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100%);
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  max-width: 95%;
}

.hero-title {
  font-size: clamp(22px, 5.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.25;
  word-break: break-word;
}

.hero-subtitle {
  font-size: clamp(13px, 3.2vw, 15px);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 20px;
  font-weight: 400;
  line-height: 1.6;
  padding: 0 8px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Search Bar in Hero */
.search-hero-box {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 6px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-wrapper i {
  position: absolute;
  left: 16px;
  font-size: 16px;
  color: var(--text-subtle);
  pointer-events: none;
}

.search-hero-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  outline: none;
  transition: var(--transition);
}

.search-hero-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ==============================================================================
   MAIN CONTAINER & GRID LAYOUT
   ============================================================================== */
.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(12px, 3vw, 24px) 80px;
  flex: 1;
  width: 100%;
}

.legal-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}

@media (max-width: 960px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==============================================================================
   SIDEBAR & MOBILE ACCORDION TOC
   ============================================================================== */
.legal-sidebar {
  position: sticky;
  top: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

@media (max-width: 960px) {
  .legal-sidebar {
    position: static;
    top: auto;
    padding: 16px;
  }
}

.sidebar-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 960px) {
  /* On mobile: compact grid for TOC links */
  .toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px;
  }
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1.3;
}

.toc-link:hover,
.toc-link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.toc-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-subtle);
  background: var(--bg-subtle);
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.toc-link.active .toc-num {
  background: var(--primary);
  color: #fff;
}

.sidebar-contact-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.sidebar-contact-box p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-sidebar-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.btn-sidebar-contact:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==============================================================================
   LEGAL DOCUMENT CONTENT & CARDS
   ============================================================================== */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; /* Prevents overflow in CSS grid */
  width: 100%;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.legal-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-title i {
  color: var(--primary);
  font-size: 18px;
}

.legal-paragraph {
  font-size: clamp(13.5px, 2.5vw, 15px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-paragraph:last-child {
  margin-bottom: 0;
}

.legal-paragraph strong {
  color: var(--text-main);
  font-weight: 600;
}

.legal-list {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  font-size: clamp(13px, 2.5vw, 14px);
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.legal-list li i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 13px;
  flex-shrink: 0;
}

.legal-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  width: 100%;
}

.legal-alert.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.legal-alert.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.legal-alert.danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.legal-alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.legal-alert i {
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==============================================================================
   FEATURE & HIGHLIGHT CARDS GRID
   ============================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0;
  width: 100%;
}

@media (max-width: 600px) {
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
}

.feature-box-light {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
  width: 100%;
}

.feature-box-light:hover {
  background: #ffffff;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.feature-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.feature-box-light h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feature-box-light p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==============================================================================
   HELP CATEGORIES & FAQ ACCORDION
   ============================================================================== */
.help-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
  width: 100%;
}

@media (max-width: 600px) {
  .help-categories-grid {
    grid-template-columns: 1fr;
  }
}

.help-category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

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

.cat-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.cat-icon-blue { background: #eff6ff; color: #2563eb; }
.cat-icon-purple { background: #f5f3ff; color: #7c3aed; }
.cat-icon-green { background: #f0fdf4; color: #16a34a; }
.cat-icon-amber { background: #fffbeb; color: #d97706; }
.cat-icon-rose { background: #fff1f2; color: #e11d48; }
.cat-icon-cyan { background: #ecfeff; color: #0891b2; }

.cat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  width: 100%;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: clamp(14px, 2.5vw, 15px);
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==============================================================================
   TICKET & CONTACT FORM
   ============================================================================== */
.ticket-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

@media (max-width: 680px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  width: 100%;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label .required {
  color: #e11d48;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px; /* >= 16px on iOS to avoid auto zoom */
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 768px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents auto zoom on mobile inputs */
  }
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
  min-height: 48px;
}

.btn-submit-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
}

.btn-submit-ticket:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success Box */
.ticket-success-box {
  text-align: center;
  padding: 30px 14px;
  width: 100%;
}

.success-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  border: 2px solid #bbf7d0;
}

.ticket-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1.5px dashed var(--primary-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: clamp(14px, 3.5vw, 16px);
  font-weight: 800;
  color: var(--primary);
  margin: 14px 0;
  max-width: 95%;
  word-break: break-all;
}

/* ==============================================================================
   FOOTER (100% RESPONSIVE)
   ============================================================================== */
.legal-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: clamp(32px, 5vw, 50px) 16px 28px;
  margin-top: auto;
  width: 100%;
}

.legal-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  width: 100%;
}

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-bottom-bar {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-subtle);
}

@media (max-width: 600px) {
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
