/* ==========================================================================
   CASINO VIP CASHBACK SUITE - MODERN LIGHT & ELEGANT ADAPTIVE THEME
   Design: Clean, Bright, Executive Corporate with Fluid Auto-Responsive Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  /* Light & Bright Clean Palette */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-input: #ffffff;

  /* Executive Corporate Colors (Sober, Non-flashy) */
  --primary: #1e3a8a;
  /* Deep Royal Navy */
  --primary-hover: #1d4ed8;
  /* Vibrant Navy */
  --accent-gold: #b45309;
  /* Dignified Warm Amber / Bronze Gold */
  --accent-gold-bg: #fef3c7;
  /* Soft Gold Tint */
  --success: #059669;
  /* Emerald Green */
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  /* Crimson */
  --danger-bg: #fef2f2;

  /* Typographic Contrast */
  --text-main: #0f172a;
  /* Deep Slate 900 */
  --text-muted: #475569;
  /* Slate 600 */
  --text-subtle: #64748b;
  /* Slate 500 */
  --text-light: #ffffff;

  /* Refined Borders & Shadows */
  --border-light: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.25s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(at 0% 0%, rgba(30, 58, 138, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(180, 83, 9, 0.03) 0px, transparent 50%);
}

/* Fluid Auto-Responsive Container */
body.customer-site {
  --casino-background-opacity: 0.56;
  position: relative;
  isolation: isolate;
  background: #f8fafc;
}

body.customer-site::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../images/casino-background.png') center / cover no-repeat;
  opacity: var(--casino-background-opacity);
}

.customer-site .features-section {
  background: rgba(255, 255, 255, 0.75);
}

.container {
  width: 100%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3.5vw, 36px);
  padding-right: clamp(16px, 3.5vw, 36px);
}

/* ==========================================================================
   TOP MARQUEE NOTIFICATION BAR
   ========================================================================== */
.top-notice-bar {
  background: #1e293b;
  color: #f8fafc;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #334155;
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-badge {
  background: var(--accent-gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.marquee-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.marquee-text {
  display: inline-block;
  animation: marqueeText 35s linear infinite;
  color: #e2e8f0;
  font-weight: 500;
}

@keyframes marqueeText {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.mobile-support-button {
  display: none;
}

@media (max-width: 640px) {
  .customer-site .header-wrapper {
    flex-direction: row;
    justify-content: center;
    min-height: 68px;
    padding: 10px 20px;
    gap: 0;
  }

  .customer-site .site-header .nav-actions {
    display: none;
  }

  .customer-site .site-header .brand-logo {
    max-width: 100%;
    gap: 10px;
  }

  .customer-site .site-header .brand-logo>img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .customer-site .site-header .brand-title-group {
    min-width: 0;
  }

  .customer-site .site-header .brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
  }

  .customer-site .site-header .brand-tagline {
    font-size: 1.33rem;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-transform: none;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .customer-site .mobile-support-button {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 850;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #047857;
    color: #fff;
    border: 1px solid #059669;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.22);
    text-decoration: none;
    font: 600 0.85rem/1.4 'Inter', sans-serif;
  }

  .customer-site .mobile-support-button:hover {
    background: #065f46;
  }

  .customer-site .mobile-support-button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
  }

  .customer-site {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: var(--transition);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-emblem {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}

.logo-icon-emblem svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #000000;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-nav-support:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.btn-admin-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
  transition: var(--transition);
}

.btn-admin-portal:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO / CASHBACK CHECKER
   ========================================================================== */
.hero-section {
  padding: clamp(32px, 5vw, 56px) 0;
}

.hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(16px, 2.5vw, 24px) auto;
}

.hero-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.promotion-slider {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.promotion-slides {
  aspect-ratio: 1920 / 432;
  touch-action: pan-y;
}

.promotion-slide {
  display: block;
  width: 100%;
  height: auto;
}

.promotion-slider [hidden] {
  display: none !important;
}

.promotion-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 12px;
  background: #f8fafc;
}

.promotion-controls button {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font: 500 0.85rem 'Inter', sans-serif;
}

.promotion-controls button:hover {
  background: #e2e8f0;
}

.promotion-controls button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

.promotion-dots {
  display: flex;
  gap: 2px;
}

.promotion-dots button::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  margin: auto;
}

.promotion-dots button[aria-current="true"]::after {
  background: #047857;
  width: 20px;
  border-radius: 4px;
}

.banner-notice {
  margin: 12px 0 24px;
  border-radius: 10px;
  padding: 10px 16px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.banner-notice .marquee-content {
  min-width: 0;
}

.banner-notice .notice-badge {
  flex-shrink: 0;
  background: #dcfce7;
  color: #166534;
  font-weight: 600;
}

.banner-notice .marquee-text {
  color: #334155;
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .banner-notice .marquee-text {
    animation: none;
    white-space: normal;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-gold-bg);
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Stats Strip - Fluid Auto Grid */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-box:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Realtime Sync Feature Banner */
.realtime-sync-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.sync-badge-live {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #a7f3d0;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sync-pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: syncPulse 1.5s infinite;
}

@keyframes syncPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
  }

  100% {
    transform: scale(0.9);
  }
}

.sync-desc-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}

/* ==========================================================================
   CHECKER FORM CARD - AUTO ADAPTIVE (4 CỘT LINH HOẠT)
   ========================================================================== */
.checker-card-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.checker-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: var(--shadow-lg);
}

/* Card Header Strip with dynamic rate pill */
.checker-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
  min-height: 44px;
  flex-wrap: wrap;
}

.checker-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.checker-card-title i {
  color: var(--primary);
}

/* Dynamic Brand Rate Pill */
.brand-rate-dynamic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-bg);
  border: 1.5px solid #fde68a;
  color: #92400e;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.brand-rate-dynamic-pill i {
  color: #d97706;
  font-size: 0.95rem;
}

.brand-rate-dynamic-pill strong {
  color: #78350f;
}

.brand-rate-dynamic-pill .rate-val-tag {
  background: #d97706;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.pulse-pop {
  animation: popBadge 0.35s ease-out;
}

@keyframes popBadge {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.checker-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.form-group label i {
  color: var(--primary);
}

.input-control-wrap {
  position: relative;
  width: 100%;
}

.input-control-wrap select,
.input-control-wrap input {
  width: 100%;
  height: 50px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px 0 42px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  outline: none;
}

.input-control-wrap select:focus,
.input-control-wrap input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 1rem;
  pointer-events: none;
}

.btn-check-submit {
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-check-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.35);
}

.live-dot-sm {
  width: 7px;
  height: 7px;
  background: #059669;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.glow-pulse {
  animation: focusPulse 1.2s ease-in-out;
}

@keyframes focusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.3);
    border-color: #2563eb;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* ==========================================================================
   RESULT TICKET & SCANNING (SOBER & CLEAR)
   ========================================================================== */
#resultContainer {
  margin-top: 24px;
  display: none;
}

.scanning-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.scanner-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #cbd5e1;
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 16px auto;
  animation: spin 0.8s linear infinite;
}

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

.result-ticket {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.realtime-badge-ticket {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ticket-customer-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 20px;
}

.cust-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cust-lbl {
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-weight: 700;
  text-transform: uppercase;
}

.cust-val {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 700;
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border-light);
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.ticket-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-brand-logo {
  height: 44px;
  max-width: 130px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
}

.ticket-brand-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 800;
}

.ticket-brand-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ticket-status-badge {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-approved {
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  color: var(--success);
}

.ticket-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.figure-item {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.figure-item.highlight {
  background: #f0fdf4;
  border-color: #86efac;
}

.figure-lbl {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.figure-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.figure-item.highlight .figure-val {
  color: var(--success);
  font-size: 1.5rem;
}

.ticket-rebate-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid #eab308;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px -5px rgba(234, 179, 8, 0.18);
  position: relative;
  overflow: hidden;
}

.ticket-rebate-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #eab308, #ca8a04);
}

.rebate-hero-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rebate-hero-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fef08a;
  text-shadow: 0 2px 10px rgba(234, 179, 8, 0.4);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.rebate-hero-sub {
  font-size: 0.82rem;
  color: #94a3b8;
}

.ticket-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 12px;
  flex-wrap: wrap;
}

.meta-code {
  font-family: monospace;
  font-weight: 800;
  color: var(--primary);
}

.ticket-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-claim-rebate {
  padding: 11px 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-claim-rebate:hover {
  background: var(--primary-hover);
}

.btn-close-ticket {
  padding: 11px 20px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-close-ticket:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* ==========================================================================
   BRANDS SECTION (FLUID AUTO-FILL RESPONSIVE GRID)
   ========================================================================== */
.brands-section {
  padding: clamp(36px, 5vw, 60px) 0;
}

.section-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 18px;
  flex-wrap: wrap;
}

.section-title-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.section-title-wrap h2 span {
  color: var(--primary);
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-brand-box {
  position: relative;
  width: clamp(220px, 25vw, 320px);
}

.search-brand-box input {
  width: 100%;
  height: 44px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px 0 38px;
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.search-brand-box input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-brand-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 115 Brands Fluid Auto Grid - Automatically adapts to any screen size */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(145px, 14vw, 195px), 1fr));
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
}

.brand-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.brand-hot-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.brand-card-logo-wrap {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 4px;
}

.brand-card-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.brand-card:hover .brand-card-logo-wrap img {
  transform: scale(1.04);
}

.brand-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.2;
}

.brand-card-rate {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
  background: var(--accent-gold-bg);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  display: inline-block;
}

.btn-brand-check {
  width: 100%;
  padding: 8px 0;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.brand-card:hover .btn-brand-check {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================================================
   TRUST & FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: clamp(36px, 5vw, 54px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.feature-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.feature-box:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-box h3 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 6px;
  font-weight: 700;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: clamp(32px, 4vw, 44px) 0 20px 0;
  font-size: 0.85rem;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
  margin-bottom: 18px;
}

.footer-copy {
  color: #64748b;
  font-size: 0.8rem;
  text-align: center;
}

/* ==========================================================================
   AUTO-RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .checker-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-check-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-wrapper {
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .realtime-sync-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .checker-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .checker-form {
    grid-template-columns: 1fr;
  }

  .search-brand-box {
    width: 100%;
  }

  .brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .ticket-figures {
    grid-template-columns: 1fr;
  }

  .ticket-customer-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   VIP Review Notification & Customer Information Ticket (Bắt Mắt, Sang Trọng)
   ========================================================================== */
.vip-review-ticket {
  background: linear-gradient(145deg, #0b1120 0%, #0f172a 50%, #172554 100%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.25);
  animation: vipTicketFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
  position: relative;
  overflow: hidden;
}

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

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

.vip-review-ticket-light {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #1e293b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.vip-review-ticket-light .vip-notice-banner {
  background: #fffbeb;
  border-color: #fde68a;
  box-shadow: none;
}

.vip-review-ticket-light .vip-notice-icon {
  background: #fef3c7;
  color: #b45309;
  box-shadow: none;
}

.vip-review-ticket-light .vip-notice-title {
  color: #92400e;
  text-transform: none;
  letter-spacing: normal;
}

.vip-review-ticket-light .vip-notice-body {
  color: #475569;
  text-shadow: none;
  font-weight: 500;
}

.vip-review-ticket-light .vip-info-card {
  background: #f8fafc;
  border-color: #e2e8f0;
  backdrop-filter: none;
}

.vip-review-ticket-light .vip-info-card:hover {
  background: #f1f5f9;
}

.vip-review-ticket-light .vip-card-label {
  color: #64748b;
}

.vip-review-ticket-light .vip-card-value {
  color: #1e293b;
}

.vip-review-ticket-light .vip-reward-banner {
  background: #f0fdf4;
  border-color: #bbf7d0;
  box-shadow: none;
}

.vip-review-ticket-light .vip-reward-amount {
  color: #047857;
  text-shadow: none;
}

.vip-review-ticket-light .vip-reward-badge {
  background: #fef3c7;
  color: #92400e;
}

.vip-review-ticket-light .vip-ticket-footer {
  border-color: #e2e8f0;
}

.vip-review-ticket-light.vip-paid-ticket {
  border-color: #bbf7d0;
}

.vip-review-ticket-light.vip-paid-ticket::before {
  background: #10b981;
  animation: none;
}

.vip-review-ticket-light .vip-notice-banner.paid {
  background: #f0fdf4;
  border-color: #bbf7d0;
  box-shadow: none;
}

.vip-review-ticket-light .vip-notice-banner.paid .vip-notice-icon {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
  box-shadow: none;
}

.vip-review-ticket-light .vip-notice-banner.paid .vip-notice-title {
  color: #166534;
}

.vip-review-ticket-light .vip-notice-body {
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.vip-review-ticket::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #38bdf8, #f59e0b);
  background-size: 200% auto;
  animation: shimmerLine 3s linear infinite;
}

@keyframes shimmerLine {
  to {
    background-position: 200% center;
  }
}

.vip-notice-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.18);
}

.vip-notice-banner.paid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.2);
}

.vip-notice-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

.vip-notice-banner.paid .vip-notice-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.vip-notice-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fef08a;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.vip-notice-banner.paid .vip-notice-title {
  color: #a7f3d0;
}

.vip-notice-body {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.vip-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.vip-info-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.vip-info-card:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.vip-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.vip-card-texts {
  overflow: hidden;
}

.vip-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.vip-card-value {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-reward-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.15);
}

.vip-reward-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: #f59e0b;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.vip-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.vip-ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-telegram-glow {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
  transition: all 0.2s ease;
}

.brand-picker {
  position: relative;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.has-brand-picker>.input-icon {
  display: none;
}

.input-control-wrap .brand-picker-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.brand-picker-trigger,
.brand-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font: 500 0.9rem/1.4 'Inter', sans-serif;
  color: #334155;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.brand-picker-trigger {
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.brand-picker-trigger>span:last-child {
  margin-left: auto;
}

.brand-picker img {
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px;
}

.brand-picker-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.input-control-wrap .brand-picker-panel input {
  padding: 10px 12px;
  width: 100%;
  font: 400 0.9rem 'Inter', sans-serif;
}

.brand-picker-list {
  max-height: min(260px, 40vh);
  overflow-y: auto;
  margin-top: 8px;
  overscroll-behavior: contain;
}

.brand-picker-option {
  padding: 9px 10px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
}

.brand-picker-option:hover,
.brand-picker-option:focus-visible {
  background: #eff6ff;
}

.brand-picker :is(button, input):focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

.brand-picker [hidden] {
  display: none !important;
}

.brand-picker-empty {
  margin: 12px 4px;
  color: #64748b;
  font-size: 0.85rem;
}

.btn-telegram-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.6);
}

/* Typography shared by lookup notifications; keep icon fonts intact. */
#resultContainer :is(div, span, p, h3, h4, strong, small, button, a) {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

#resultContainer :is(h3, h4, .vip-notice-title) {
  font-weight: 600 !important;
}

#resultContainer :is(button, a, strong, .vip-card-value, .vip-reward-badge) {
  font-weight: 500 !important;
}

#resultContainer .vip-reward-amount {
  font-weight: 700 !important;
}

/* ==========================================================================
   CUSTOM FORM INLINE ALERT POPUP (Hiển thị ngay dưới form tra cứu)
   ========================================================================== */
.form-alert-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff5f5;
  border: 1.5px solid #fca5a5;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.12);
  animation: fadeInAlert 0.25s ease-out;
}

.form-alert-popup.alert-warning {
  background: #fffbeb;
  border-color: #fcd34d;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.12);
}

.form-alert-popup.alert-info {
  background: #f0f9ff;
  border-color: #7dd3fc;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.12);
}

.form-alert-popup .alert-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  border: 1px solid #fecaca;
}

.form-alert-popup.alert-warning .alert-icon-wrap {
  background: #fef3c7;
  color: #d97706;
  border-color: #fde68a;
}

.form-alert-popup.alert-info .alert-icon-wrap {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}

.form-alert-popup .alert-title {
  color: #991b1b !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.5px !important;
}

.form-alert-popup.alert-warning .alert-title {
  color: #92400e !important;
}

.form-alert-popup.alert-info .alert-title {
  color: #0369a1 !important;
}

.form-alert-popup .alert-desc {
  color: #7f1d1d !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  max-width: 520px;
  margin: 0 auto 16px auto !important;
  font-weight: 500 !important;
}

.form-alert-popup.alert-warning .alert-desc {
  color: #78350f !important;
}

.form-alert-popup.alert-info .alert-desc {
  color: #0c4a6e !important;
}

.form-alert-popup .btn-alert-dismiss {
  background: #dc2626;
  color: #ffffff !important;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.form-alert-popup .btn-alert-dismiss:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.form-alert-popup.alert-warning .btn-alert-dismiss {
  background: #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.form-alert-popup.alert-warning .btn-alert-dismiss:hover {
  background: #b45309;
}

.form-alert-popup.alert-info .btn-alert-dismiss {
  background: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.form-alert-popup.alert-info .btn-alert-dismiss:hover {
  background: #0369a1;
}

@keyframes fadeInAlert {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-alert-highlight {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  animation: shakeInput 0.35s ease-in-out;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* Floating Toast Pill (cho thao tác copy, thông báo nhanh) */
.vip-toast-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #38bdf8;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.2);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-toast-pill.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}