/* ===================================================================
   ONLINE DR - Premium Mobile-First Stylesheet
   Navy-Blue Executive Portal Styling with High Contrast & Accessibility
   =================================================================== */

:root {
  --primary-color: #1e3a8a;
  --primary-hover: #172554;
  --primary-navy: #0f2347;
  --navy-dark: #0a1426;
  --secondary-color: #0f766e;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-blue: #2563eb;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

/* ===================================================================
   Header & Navbar
   =================================================================== */

.site-header {
  z-index: 1030;
}

.header-navbar {
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff !important;
  backdrop-filter: blur(10px);
}

.brand-icon-wrapper {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0f2347, #1e40af);
  color: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(15, 35, 71, 0.2);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
  font-size: 1.25rem;
}

.brand-subtitle {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.nav-link-custom {
  color: #334155 !important;
  border-radius: 8px;
  font-size: 0.925rem;
  transition: all 0.15s ease;
}

.nav-link-custom:hover {
  color: var(--primary-color) !important;
  background-color: #f1f5f9;
}

.btn-agency-header {
  background-color: var(--primary-navy);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-agency-header:hover {
  background-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(15, 35, 71, 0.25);
  transform: translateY(-1px);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.25);
}

/* ===================================================================
   HERO BANNER SLIDER - Image-Driven, Clean & Mobile-First
   =================================================================== */

.hero-banner-section {
  position: relative;
  width: 100%;
}

.hero-banner-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-banner-carousel {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px -6px rgba(10, 20, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1a30;
}

@media (min-width: 768px) {
  .hero-banner-carousel {
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-banner-carousel {
    border-radius: 12px;
  }
}

.hero-banner-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-banner-slide {
  position: relative;
  width: 100%;
  display: block;
  /* Exactly matches 1024x447 ratio: 2.2908:1 to guarantee zero layout shift (CLS) */
  aspect-ratio: 1024 / 447;
  overflow: hidden;
  background-color: #0b1a30;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease-out;
}

/* Subtle Interactive Hotspot Links Over Embedded Artwork Buttons */
.banner-hotspot {
  position: absolute;
  display: block;
  z-index: 5;
  cursor: pointer;
  border-radius: 24px;
  background-color: transparent;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.banner-hotspot:hover {
  background-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.banner-hotspot:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Slider Indicators (Subtle Minimalist Dots) */
.hero-banner-indicators {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
  pointer-events: auto;
}

.hero-banner-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
}

.hero-banner-indicators button.active {
  width: 26px;
  background-color: #fbbf24;
  opacity: 1;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

@media (max-width: 575.98px) {
  .hero-banner-indicators {
    bottom: 6px;
    gap: 5px;
  }
  .hero-banner-indicators button {
    width: 6px;
    height: 6px;
  }
  .hero-banner-indicators button.active {
    width: 18px;
  }
}

/* Chevron Navigation Arrows (Desktop / Tablet) */
.hero-banner-nav {
  width: 60px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
}

.hero-banner-carousel:hover .hero-banner-nav {
  opacity: 1;
}

.hero-nav-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.hero-banner-nav:hover .hero-nav-circle {
  background: rgba(245, 158, 11, 0.95);
  color: #0f172a;
  transform: scale(1.08);
  border-color: #f59e0b;
}

.hero-banner-prev {
  left: 12px;
}

.hero-banner-next {
  right: 12px;
}

/* Feature Strip Section */
.features-strip-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-pill-card {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-pill-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Buy Promo Supporting Banner */
.buy-promo-banner-card {
  background: linear-gradient(135deg, #0f2347 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 35, 71, 0.12);
}

.buy-promo-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Carousel Indicators & Controls */
.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  transition: all 0.25s ease;
}

.carousel-indicators .active {
  width: 36px;
  background-color: var(--accent-gold);
}

.carousel-control-prev, .carousel-control-next {
  width: 40px;
  opacity: 0.6;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
}

/* ===================================================================
   Section Headings
   =================================================================== */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.section-main-title {
  font-weight: 800;
  color: var(--primary-navy);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.3px;
}

.section-main-subtitle {
  font-size: 0.925rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================================================
   Compact Today's Draw Result Section — Premium Blue Strip
   =================================================================== */

.results-compact-section {
  background-color: var(--bg-main);
}

.compact-results-strip {
  background: linear-gradient(135deg, #0f2347 0%, #173872 50%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 35, 71, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.compact-results-strip::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
}

.compact-results-icon-bubble {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.compact-results-title {
  color: #ffffff;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.btn-view-result {
  background-color: #ffffff;
  color: var(--primary-navy) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-view-result:hover,
.btn-view-result:focus {
  background-color: #f8fafc;
  color: #1e3a8a !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

@media (max-width: 575.98px) {
  .btn-view-result {
    width: 100%;
  }
}

/* ===================================================================
   Today's Draw Results Section — Modern Premium Redesign
   =================================================================== */

.results-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 45%, #f1f5f9 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  overflow: hidden;
}

/* Background image & ambient depth layers */
.results-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/results_backdrop_pattern.svg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
  opacity: 0.95;
}

.results-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

/* Section Header Area */
.results-section-header {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.results-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.16);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(15, 35, 71, 0.06);
}

.results-eyebrow-badge .eyebrow-dot {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.results-section-title {
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.results-meta-toolbar {
  position: relative;
  z-index: 2;
}

.results-meta-chip {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.results-live-chip {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
  font-weight: 700;
}

.live-pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  margin-right: 6px;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ===================================================================
   Draw Result Cards — Modern Elevated Cards
   =================================================================== */

.draw-result-card {
  container-type: inline-size;
  position: relative;
  background: #ffffff;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  overflow: hidden;
  z-index: 1;
}

/* Watermark background on cards */
.draw-result-card::before {
  content: '';
  position: absolute;
  bottom: -35px;
  right: -35px;
  width: 210px;
  height: 210px;
  background-image: url('../images/results_card_watermark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.draw-result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -3px rgba(15, 23, 42, 0.06) !important;
}

.draw-result-card:hover::before {
  opacity: 0.9;
  transform: scale(1.05) rotate(4deg);
}

/* Verified Card Highlight (Special Prestige) */
.draw-result-card.is-verified-card {
  border: 1.5px solid #86efac !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafffc 100%);
  box-shadow: 0 6px 24px -2px rgba(16, 185, 129, 0.12), 0 2px 8px -1px rgba(15, 23, 42, 0.05) !important;
}

.draw-result-card.is-verified-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #f59e0b 100%);
}

.draw-result-card.is-verified-card:hover {
  border-color: #34d399 !important;
  box-shadow: 0 20px 40px -6px rgba(16, 185, 129, 0.18), 0 10px 20px -3px rgba(15, 23, 42, 0.08) !important;
}

/* Pending Card Top Accent Lines */
.draw-result-card.is-pending-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%);
}

.draw-result-card.is-pending-card.slot-morning::after {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.draw-result-card.is-pending-card.slot-day::after {
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
}

.draw-result-card.is-pending-card.slot-night::after {
  background: linear-gradient(90deg, #6366f1 0%, #a5b4fc 100%);
}

/* Card Header Region */
.draw-card-header {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.draw-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Slot Badges */
.draw-slot-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.slot-morning-pill {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.slot-day-pill {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.slot-night-pill {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.draw-session-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  display: inline-block;
}

/* Status Chips */
.badge-status-verified {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #86efac;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.08);
}

.live-dot-ping {
  width: 6px;
  height: 6px;
  background-color: #16a34a;
  border-radius: 50%;
  margin-right: 6px;
  position: relative;
  display: inline-block;
}

.badge-status-pending {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.draw-scheme-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.draw-card-meta {
  color: #64748b;
  font-size: 0.775rem;
}

/* Card Body Region */
.draw-card-body {
  position: relative;
  z-index: 1;
}

.draw-prize-badge-strip {
  display: flex;
  justify-content: center;
  align-items: center;
}

.prize-badge-label {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 12px;
  border-radius: 9999px;
}

/* Winning Number Panel - High Prestige Showcase */
.draw-winning-number-panel {
  position: relative;
  background: linear-gradient(135deg, #091933 0%, #0f2347 40%, #173872 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 16px 14px 12px 14px;
  box-shadow: 0 8px 20px -2px rgba(15, 35, 71, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.number-panel-accent-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
}

.draw-winning-number-display {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: clamp(1.55rem, 1.25rem + 1.2cqw, 2.15rem);
  font-weight: 800;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(251, 191, 36, 0.35);
  margin-bottom: 6px;
  line-height: 1;
}

.number-panel-tag {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #a7f3d0;
  text-transform: uppercase;
  display: inline-block;
}

/* Pending State Box - Expectant & Elegant */
.draw-pending-panel {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 16px 12px;
}

.pending-icon-bubble {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.pending-headline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.pending-subtext {
  font-size: 0.775rem;
  line-height: 1.45;
  color: #64748b;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.pending-digit-slots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.digit-box {
  width: 24px;
  height: 28px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
}

.digit-box-sep {
  width: 6px;
  height: 2px;
  background: #cbd5e1;
  margin: 0 1px;
}

/* Audit Info Box in Cards */
.draw-card-audit-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.75rem;
}

.audit-item {
  line-height: 1.35;
}

/* Card Footer & CTA Buttons */
.draw-card-footer {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.btn-result-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-result-verified {
  background: linear-gradient(135deg, #0f2347 0%, #1e3a8a 100%);
  color: #ffffff !important;
  border: 1px solid #0f2347;
  box-shadow: 0 3px 8px rgba(15, 35, 71, 0.15);
}

.btn-result-verified:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(30, 58, 138, 0.25);
}

.btn-result-verified .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-result-verified:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-result-pending {
  background: #f8fafc;
  color: var(--primary-color) !important;
  border: 1px solid #cbd5e1;
}

.btn-result-pending:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8 !important;
  transform: translateY(-1px);
}

.btn-result-pending .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-result-pending:hover .btn-arrow {
  transform: translateX(4px);
}

/* Result Modal Refinements */
.result-modal-card {
  border-radius: 18px !important;
}

.modal-header-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-result-box {
  background: linear-gradient(135deg, #0f2347 0%, #1e3a8a 100%);
  border: 1.5px solid #f59e0b;
  color: #ffffff;
}

.modal-result-box .modal-winning-number {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(251, 191, 36, 0.4);
}

.bg-navy {
  background-color: var(--primary-navy) !important;
}

.text-navy {
  color: var(--primary-navy) !important;
}

/* ===================================================================
   Buy Lottery Tickets Section
   =================================================================== */

.buy-section {
  background-color: var(--bg-main);
  padding-bottom: 2.5rem !important;
}

.buy-main-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-color) !important;
}

/* Draw Time Selector Segmented Buttons */
.slot-segmented-group {
  display: inline-flex;
  background-color: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  gap: 2px;
}

.slot-segmented-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.slot-segmented-btn:hover {
  color: var(--primary-navy);
}

.slot-segmented-btn.active {
  background-color: var(--primary-navy);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(15, 35, 71, 0.15);
}

/* SEM Tabs Bar */
.sem-tab-pill {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sem-tab-pill:hover {
  border-color: #94a3b8;
  color: var(--primary-color);
}

.sem-tab-pill.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
}

.sem-copy-count {
  font-size: 0.775rem;
  opacity: 0.85;
}

/* Empty Inventory State */
.empty-inventory-box {
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  max-width: 600px;
  margin: 1.5rem auto !important;
}

.empty-icon-circle {
  width: 52px;
  height: 52px;
  background-color: #e2e8f0;
  color: #64748b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Ticket Item Cards */
.ticket-item-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius);
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sem-badge-pill {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-ticket-buy {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.btn-ticket-buy:hover {
  background-color: var(--primary-hover);
}

.btn-ticket-login {
  background-color: #ffffff;
  color: var(--primary-color) !important;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.btn-ticket-login:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
}

/* ===================================================================
   Ticket Artwork Dynamic Presentation & Responsive Overlays
   Container Query based scaling with responsive percentage mapping
   =================================================================== */

.ticket-preview-wrapper {
  position: relative;
  width: 100%;
  container-type: inline-size;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f8fafc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  user-select: none;
}

.ticket-preview-bg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.ticket-overlay-box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  padding: 0;
}

.ticket-overlay-text {
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
  display: inline-block;
  user-select: none;
}

.ticket-overlay-number .ticket-overlay-text {
  font-weight: 900;
  letter-spacing: 0;
}

.ticket-overlay-date .ticket-overlay-text {
  font-weight: 800;
  letter-spacing: 0;
}

.ticket-overlay-weekday .ticket-overlay-text {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ticket-overlay-serial .ticket-overlay-text {
  font-family: "Consolas", monospace, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticket-overlay-barcode {
  flex-direction: column;
  gap: 2px;
}

.ticket-barcode-sim {
  width: 80%;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    #0f172a 0px,
    #0f172a 2px,
    transparent 2px,
    transparent 4px,
    #0f172a 4px,
    #0f172a 7px,
    transparent 7px,
    transparent 9px
  );
  display: block;
}

.ticket-barcode-label {
  font-size: 1.1cqw;
  color: #64748b;
  font-family: "Consolas", monospace;
  font-weight: 600;
  line-height: 1;
}

/* Fallback for environments where cqw is not supported */
@supports not (font-size: 1cqw) {
  .ticket-overlay-number .ticket-overlay-text {
    font-size: clamp(10px, 2.5vw, 24px);
  }
  .ticket-overlay-date .ticket-overlay-text {
    font-size: clamp(8px, 1.8vw, 16px);
  }
  .ticket-overlay-weekday .ticket-overlay-text {
    font-size: clamp(7px, 1.6vw, 15px);
  }
  .ticket-overlay-serial .ticket-overlay-text {
    font-size: clamp(7px, 1.5vw, 14px);
  }
}

/* ===================================================================
   Footer Redesign
   =================================================================== */

.site-footer {
  background-color: var(--navy-dark);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-icon-footer {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  color: #ffffff;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-alert-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-legal-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===================================================================
   Admin & Panel Elements Preserved
   =================================================================== */

.card-custom {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--border-radius);
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  height: 100%;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

@media (max-width: 576px) {
  .stat-card {
    padding: 0.75rem 0.65rem;
  }
  .stat-value {
    font-size: 1.15rem;
  }
  .stat-label {
    font-size: 0.685rem;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
}

.ticket-number-badge {
  font-family: "Consolas", monospace, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px dashed #93c5fd;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
}

.ticket-number-display {
  font-family: "Consolas", monospace, sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 3px;
  color: #0f172a;
}

.sem-pill {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.slot-pill {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-action {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.table-custom {
  margin-bottom: 0;
}

.table-custom th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.table-custom td {
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* ===================================================================
   Mobile & Responsive Adjustments
   =================================================================== */

@media (max-width: 576px) {
  .slot-segmented-group {
    width: 100%;
    display: flex;
  }

  .slot-segmented-btn {
    flex: 1;
    text-align: center;
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .draw-winning-number-display {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
  }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================================================
   ONLINE DR — PREMIUM AGENCY PANEL MOBILE APP-STYLE REDESIGN
   =================================================================== */

/* Agency App Global Layout */
.agency-body {
  background-color: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
}

@media (max-width: 991.98px) {
  .agency-main-content {
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Compact Mobile Top App Bar */
.agency-mobile-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.agency-mobile-wallet-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.agency-mobile-wallet-pill:hover,
.agency-mobile-wallet-pill:active {
  background: #d1fae5;
  color: #065f46;
}

/* Fixed Mobile Bottom Navigation Bar */
.agency-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: 62px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 992px) {
  .agency-bottom-nav {
    display: none !important;
  }
}

.agency-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  height: 100%;
  min-height: 48px;
  transition: all 0.2s ease;
  position: relative;
}

.agency-bottom-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 2px;
  transition: transform 0.15s ease;
}

.agency-bottom-nav-item:hover {
  color: #1e40af;
}

.agency-bottom-nav-item.active {
  color: #1e40af;
  font-weight: 700;
}

.agency-bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #1e40af, #2563eb);
  border-radius: 0 0 3px 3px;
}

/* Featured 'Buy Ticket' Bottom Nav Tab */
.agency-bottom-nav-item.featured {
  color: #1e3a8a;
}

.agency-bottom-nav-item.featured .bottom-nav-icon-highlight {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  margin-top: -16px;
  margin-bottom: 2px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid #ffffff;
}

.agency-bottom-nav-item.featured:hover .bottom-nav-icon-highlight,
.agency-bottom-nav-item.featured:active .bottom-nav-icon-highlight {
  transform: scale(1.08);
}

.agency-bottom-nav-item.featured.active {
  color: #1e40af;
}

.agency-bottom-nav-item.featured.active .bottom-nav-icon-highlight {
  background: linear-gradient(135deg, #0f2347, #1d4ed8);
  box-shadow: 0 6px 16px rgba(15, 35, 71, 0.4);
}

/* Agency Hero Wallet Card */
.agency-wallet-hero-card {
  background: linear-gradient(135deg, #0f2347 0%, #1e3a8a 60%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 35, 71, 0.16);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agency-wallet-hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.agency-wallet-hero-balance {
  font-size: 2.25rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
  .agency-wallet-hero-balance {
    font-size: 1.85rem;
  }
}

/* Fast Action Buttons in Agency Panel */
.btn-agency-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 20px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-agency-primary:hover,
.btn-agency-primary:focus {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-agency-primary:active {
  transform: translateY(0);
}

.btn-agency-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
  min-height: 48px;
}

.btn-agency-success:hover,
.btn-agency-success:focus {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* Draw Slot & SEM Segmented Selectors */
.agency-segmented-group {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.agency-segmented-btn {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.agency-segmented-btn:hover {
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.6);
}

.agency-segmented-btn.active {
  background: #ffffff;
  color: #1e40af;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  border: 1px solid #cbd5e1;
}

/* SEM Pills */
.agency-sem-pill-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 576px) {
  .agency-sem-pill-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.agency-sem-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 56px;
}

.agency-sem-pill:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  color: #1d4ed8;
}

.agency-sem-pill.active {
  background: #eff6ff;
  border: 2px solid #2563eb;
  color: #1e40af;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.agency-sem-pill.active .sem-pill-price {
  color: #1e40af;
  font-weight: 800;
}

/* Ticket Purchase Card */
.ticket-purchase-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
}

.ticket-purchase-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ticket-purchase-card.selected {
  border-color: #2563eb !important;
  background: #f0f7ff !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.16) !important;
}

.ticket-purchase-card .form-check-input {
  width: 1.35em;
  height: 1.35em;
  cursor: pointer;
}

/* Floating Mobile Summary Bar for Buy Page */
.agency-mobile-sticky-cart {
  position: fixed;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  z-index: 1035;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.12);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 992px) {
  .agency-mobile-sticky-cart {
    display: none !important;
  }
}

.agency-sticky-cart-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}

.agency-sticky-cart-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
}

.agency-sticky-cart-btn:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

/* Mobile Ticket History Card */
.agency-ticket-history-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.agency-ticket-history-card:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.agency-ticket-number-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f2347;
  letter-spacing: 0.5px;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  border: 1px solid #e2e8f0;
}

/* Mobile Wallet History Card */
.agency-tx-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.agency-tx-badge-credit {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
}

.agency-tx-badge-debit {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
}

/* Dedicated Print Stylesheet */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .site-header,
  .site-footer,
  .agency-bottom-nav,
  .agency-mobile-topbar,
  .no-print,
  .btn,
  .modal-backdrop,
  header,
  nav,
  footer {
    display: none !important;
  }

  .agency-main-content {
    padding: 0 !important;
    margin: 0 !important;
  }

  .printable-ticket-sheet {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    page-break-inside: avoid;
  }

  .printable-ticket-sheet img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    image-rendering: -webkit-optimize-contrast;
  }

  @page {
    size: auto;
    margin: 8mm;
  }
}
