/* ==========================================================================
   VerifyMyWarranty - Modern Portal & Admin Styles
   ========================================================================== */

:root {
  --primary-color: #0d6efd;
  --primary-dark: #0043a8;
  --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --dark-color: #212529;
  --light-bg: #f4f6f9;
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-lg: 16px;
  --radius-md: 10px;
}

body {
  background-color: var(--light-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  background: var(--primary-gradient);
  color: white;
  padding: 24px 0 110px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.brand-logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.brand-logo:hover {
  color: #e2e8f0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Search Card & Layout
   -------------------------------------------------------------------------- */
.search-card-wrapper {
  margin-top: -65px;
  position: relative;
  z-index: 10;
}

.search-card {
  background: white;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-tabs .nav-link {
  color: #6c757d;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 18px;
  margin: 0 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.search-tabs .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.search-input-group {
  position: relative;
}

.search-input-group .form-control {
  height: 58px;
  font-size: 1.05rem;
  padding-left: 50px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-group .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.search-input-group .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #94a3b8;
  z-index: 5;
}

.btn-search {
  background: var(--primary-color);
  border: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 28px;
  transition: all 0.2s ease;
}

.btn-search:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* --------------------------------------------------------------------------
   Result Display Cards
   -------------------------------------------------------------------------- */
.result-status-banner {
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.status-active {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.status-expired {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.status-expiring {
  background-color: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
}

.status-void {
  background-color: #e2e3e5;
  color: #41464b;
  border: 1px solid #d3d6d8;
}

.warranty-detail-card {
  border: 1px solid #e9ecef;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.warranty-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.95rem;
}

.warranty-detail-row:last-child {
  border-bottom: none;
}

.warranty-label {
  color: #6c757d;
  font-weight: 500;
}

.warranty-val {
  font-weight: 600;
  color: #212529;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Certificate Modal & Print
   -------------------------------------------------------------------------- */
.certificate-box {
  border: 4px double #0d6efd;
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  position: relative;
}

.certificate-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(13, 110, 253, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

@media print {
  body * {
    visibility: hidden;
  }
  #printableCertificate, #printableCertificate * {
    visibility: visible;
  }
  #printableCertificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    border: 3px double #000;
  }
  .no-print {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Admin Dashboard Styles
   -------------------------------------------------------------------------- */
.admin-navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #edf2f7;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-icon i {
  pointer-events: none;
}

.stat-icon-btn {
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.stat-icon-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  filter: brightness(0.95);
}

.stat-icon-btn:active {
  transform: scale(0.94);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin: 5px 0 0 0;
}

.table-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.badge-status-active {
  background-color: #d1e7dd;
  color: #0f5132;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

.badge-status-expired {
  background-color: #f8d7da;
  color: #842029;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

.badge-status-void {
  background-color: #e2e3e5;
  color: #41464b;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  margin-top: auto;
  background-color: #1e293b;
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #ffc107;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Demo banner */
.demo-badge-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   Notification Bell & Expiry Panel
   -------------------------------------------------------------------------- */
.btn-notification {
  position: relative;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dee2e6;
  background: white;
  color: #495057;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-notification:hover {
  background: #f8f9fa;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.notification-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #dc3545;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 2px 6px;
  border: 2px solid white;
}

/* --------------------------------------------------------------------------
   WhatsApp & Telegram Action Buttons
   -------------------------------------------------------------------------- */
.btn-whatsapp {
  background-color: #25D366;
  color: white !important;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  color: white !important;
  transform: translateY(-1px);
}

.btn-telegram {
  background-color: #229ED9;
  color: white !important;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-telegram:hover {
  background-color: #1a7bb9;
  color: white !important;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Output Confirmation & Copy Box
   -------------------------------------------------------------------------- */
.copy-output-box {
  background-color: #f8f9fa;
  border: 2px dashed #0d6efd;
  border-radius: 12px;
  padding: 20px;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.7;
  color: #1e293b;
  position: relative;
  user-select: all;
}

.admin-main-tabs .nav-link {
  font-weight: 600;
  color: #64748b;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.admin-main-tabs .nav-link.active {
  color: var(--primary-color);
  background: transparent;
  border-bottom: 3px solid var(--primary-color);
}

/* --------------------------------------------------------------------------
   Attractive Admin Login Page & Security Styles
   -------------------------------------------------------------------------- */
.login-page-bg {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.18) 0%, transparent 45%),
              radial-gradient(circle at bottom right, rgba(25, 135, 84, 0.14) 0%, transparent 45%),
              linear-gradient(135deg, #0b132b 0%, #1c2541 50%, #0b132b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  position: relative;
  overflow: hidden;
}

.login-card-modern {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  max-width: 440px;
  width: 100%;
  border: none;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.login-brand-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.35);
  position: relative;
}

.login-brand-icon-wrapper::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  border: 2px solid rgba(13, 110, 253, 0.35);
  animation: pulseSecurity 2.5s infinite;
}

@keyframes pulseSecurity {
  0% { transform: scale(0.98); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 0.2; }
  100% { transform: scale(0.98); opacity: 0.8; }
}

.login-btn-gradient {
  background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
  border: none;
  color: white;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
  transition: all 0.25s ease;
}

.login-btn-gradient:hover {
  background: linear-gradient(135deg, #0b5ed7 0%, #003380 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13, 110, 253, 0.45);
}

.login-input-group .form-control {
  border-left: none;
  font-size: 0.95rem;
}

.login-input-group .input-group-text {
  background-color: #f8fafc;
  border-right: none;
  color: #64748b;
}

.login-input-group .form-control:focus {
  border-color: #dee2e6;
  box-shadow: none;
}

.login-input-group:focus-within {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
  border-radius: 0.375rem;
}

.login-input-group:focus-within .input-group-text,
.login-input-group:focus-within .form-control {
  border-color: #86b7fe;
}

.shake-card {
  animation: shakeCardAnim 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeCardAnim {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.pass-strength-bar {
  height: 6px;
  border-radius: 3px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* ==========================================================================
   PRICING & PORTAL SALES SHOWCASE
   ========================================================================== */
.promo-showcase-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.promo-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(13, 110, 253, 0.2);
}

.pricing-card {
  background: white;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.pricing-card.featured {
  border: 2px solid #0d6efd;
  box-shadow: 0 16px 36px rgba(13, 110, 253, 0.15);
  background: #ffffff;
}

.pricing-card.featured:hover {
  box-shadow: 0 24px 48px rgba(13, 110, 253, 0.22);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0d6efd, #0043a8);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
}

.plan-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.plan-price-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.plan-price-currency {
  font-size: 1.35rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
  color: #334155;
}

.plan-price-period {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 0.9rem;
}

.plan-feature-list li {
  margin-bottom: 11px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-feature-list li i {
  color: #198754;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan-select {
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  width: 100%;
}

/* ==========================================================================
   ADMIN LEADS & ENQUIRIES BADGES & CONTROLS
   ========================================================================== */
.badge-lead-new {
  background-color: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 600;
  border-radius: 50px;
  padding: 5px 12px;
}

.badge-lead-contacted {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-weight: 600;
  border-radius: 50px;
  padding: 5px 12px;
}

.badge-lead-converted {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 600;
  border-radius: 50px;
  padding: 5px 12px;
}

.badge-lead-closed {
  background-color: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  border-radius: 50px;
  padding: 5px 12px;
}

.btn-whatsapp-sm {
  background: #25d366;
  color: white;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-whatsapp-sm:hover {
  background: #1eb855;
  color: white;
}

/* --------------------------------------------------------------------------
   Diary & Secret Notes Styles
   -------------------------------------------------------------------------- */
.diary-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.diary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.diary-card.is-pinned {
  border-left: 4px solid #dc3545 !important;
  background: #fffcfc;
}

.secret-mask-text {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f8fafc;
  border-radius: 6px;
  padding: 4px 8px;
  user-select: all;
}

/* ==========================================================================
   MULTI-DEVICE & MOBILE RESPONSIVENESS (PHONES, TABLETS, DESKTOPS, & PRINT)
   ========================================================================== */

/* 1. Universal Touch & Form Enhancements (iOS Safari & Android) */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus by enforcing 16px base font */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Smooth momentum touch scrolling for all scrollable containers */
  .table-responsive,
  .admin-main-tabs,
  .search-tabs,
  #statModalCategoryPills,
  #statModalListContainer {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* 2. Mobile Phones (< 576px) — iPhone SE, 12-16, Samsung Galaxy, Pixel */
@media (max-width: 576px) {
  /* Top Nav & Branding */
  .top-nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
  }

  .top-nav .brand-logo {
    font-size: 1.3rem;
  }

  .top-nav .d-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px !important;
  }

  /* Hero Section */
  .hero {
    padding: 16px 0 95px 0;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.25;
    padding: 0 8px;
  }

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

  /* Search Card */
  .search-card-wrapper {
    margin-top: -60px;
    padding: 0 4px;
  }

  .search-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  /* Search Identifier Tabs: smooth horizontal scroll on narrow screens */
  #searchTabs {
    margin-bottom: 18px !important;
  }

  .search-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    justify-content: flex-start !important;
    scrollbar-width: none; /* Firefox */
  }

  .search-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .search-tabs .nav-link {
    padding: 6px 12px;
    font-size: 0.82rem;
    margin: 0 2px;
    flex-shrink: 0;
  }

  .search-input-group .form-control {
    height: 52px;
    padding-left: 44px;
    border-radius: 12px;
  }

  .search-input-group .search-icon {
    left: 14px;
    font-size: 1.15rem;
  }

  .btn-search {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  /* Warranty Result Display */
  .result-status-banner {
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .warranty-detail-card {
    padding: 12px !important;
  }

  .warranty-detail-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
  }

  .warranty-label {
    font-size: 0.85rem;
    width: 100%;
  }

  .warranty-val {
    text-align: left;
    font-size: 0.9rem;
    word-break: break-word;
    width: 100%;
    padding-left: 18px;
  }

  /* Certificate Box */
  .certificate-box {
    padding: 18px 14px;
    border-width: 2px;
  }

  .certificate-watermark {
    font-size: 2.8rem;
  }

  /* Admin Dashboard Layout */
  .admin-navbar {
    padding: 8px 0;
  }

  .admin-navbar .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .admin-navbar .navbar-brand {
    font-size: 1.1rem;
  }

  .admin-navbar .navbar-brand span {
    font-size: 0.95rem;
  }

  /* Admin Main Tabs: native-like horizontal swipe */
  .admin-main-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap !important;
    padding: 6px 10px 0 10px !important;
    border-radius: 10px 10px 0 0;
    scrollbar-width: none;
  }

  .admin-main-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-main-tabs .nav-link {
    padding: 9px 14px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
  }

  /* Stat KPI Cards */
  .stat-card {
    padding: 16px;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  /* Quick View Modal Category Switcher */
  #statModalCategoryPills {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none;
  }

  #statModalCategoryPills::-webkit-scrollbar {
    display: none;
  }

  #statModalCategoryPills .nav-link {
    padding: 6px 10px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  /* Pricing Cards on Phone */
  .pricing-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .plan-price-num {
    font-size: 2.1rem;
  }

  /* Table Cards */
  .table-card {
    padding: 16px 12px;
    border-radius: 12px;
  }
}

/* 3. Tablets & Small Laptops (576px to 991px) — iPad, Android Tablets */
@media (min-width: 577px) and (max-width: 991px) {
  .hero-title {
    font-size: 2rem;
  }

  .search-card {
    padding: 30px 28px;
  }

  .admin-main-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* 4. Large Screens & Desktops (>= 992px) */
@media (min-width: 992px) {
  .search-card:hover {
    box-shadow: var(--card-shadow-hover);
  }

  .stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
}



