/* ==========================================================================
   MS HORIZON GROUP - Luxury UI & Aesthetics Design System
   ========================================================================== */

/* Smooth scroll */
html { 
  scroll-behavior: smooth; 
}

html, body, button, input, select, textarea {
  font-family: 'Times New Roman', Times, Georgia, serif;
}

/* Preserve icon font families */
[class^="devicon-"], [class*=" devicon-"] {
  font-family: 'devicon' !important;
}
[class^="devicon-"]::before, [class*=" devicon-"]::before {
  font-family: 'devicon' !important;
}
.fa-brands, [class*="fa-brands"] {
  font-family: "Font Awesome 6 Brands" !important;
}
.fa-brands::before, [class*="fa-brands"]::before {
  font-family: "Font Awesome 6 Brands" !important;
}
.fa-solid, [class*="fa-solid"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.fa-solid::before, [class*="fa-solid"]::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.bi, [class^="bi-"], [class*=" bi-"] {
  font-family: "bootstrap-icons" !important;
}
.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
  font-family: "bootstrap-icons" !important;
}

body {
  font-family: 'Times New Roman', Times, Georgia, serif;
  color: #e2e8f0;
  background-color: #030c16;
  -webkit-font-smoothing: antialiased;
}

.font-heading {
  font-family: 'Times New Roman', Times, Georgia, serif;
  letter-spacing: -0.01em;
}

/* Luxury Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Gradient Text */
.gradient-text-emerald {
  background: linear-gradient(135deg, #10b981 0%, #84cc16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #84cc16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scroll Reveal Micro-Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* Float Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite alternate;
}
.animate-float-delayed {
  animation: float 4s ease-in-out infinite 2s alternate;
}

/* Pulse Glow for CTAs */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}
.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Shimmer animation for highlighted badges */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-bg {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay .modal-box {
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

/* Service Card Hover Elevation */
.hover-card-rise {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-card-rise:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Custom Scrollbars - Clean, subtle neutral */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Responsive & Mobile Touch Optimization */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Touch targets for mobile accessibility */
@media (max-width: 768px) {
  button, 
  a.btn,
  .btn,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
  }

  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===================================================
   PROMOTIONAL OFFERS TICKER / MARQUEE — Premium Edition
   =================================================== */
.promo-ticker-container {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #070b14 0%, #0c1222 40%, #0e1529 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  overflow: hidden;
  z-index: 40;
}

/* Subtle animated shimmer overlay across entire bar */
.promo-ticker-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(16, 185, 129, 0.03) 25%,
    rgba(52, 211, 153, 0.06) 50%,
    rgba(16, 185, 129, 0.03) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: tickerShimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Top highlight line */
.promo-ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.25) 30%, rgba(52, 211, 153, 0.4) 50%, rgba(16, 185, 129, 0.25) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---- Left Badge ---- */
.promo-ticker-badge {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow:
    4px 0 20px rgba(0, 0, 0, 0.5),
    4px 0 40px rgba(5, 150, 105, 0.15);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  padding-right: 2rem;
}

.promo-ticker-badge .w-2 {
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* ---- Scrolling Wrapper ---- */
.promo-ticker-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  padding-left: 140px;
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* ---- Responsive Badge & Wrapper ---- */
@media (max-width: 640px) {
  .promo-ticker-badge {
    padding: 0 0.85rem;
    padding-right: 1.5rem;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  }
  .promo-ticker-wrapper {
    padding-left: 100px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
  }
}

/* ---- Track ---- */
.promo-ticker-track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: promoTickerScroll 38s linear infinite;
  will-change: transform;
}

/* Smooth deceleration on hover — slows to near-stop instead of hard pause */
.promo-ticker-container:hover .promo-ticker-track {
  animation-play-state: paused;
}

.promo-ticker-container .promo-ticker-track {
  transition: animation-duration 0.6s ease;
}

/* ---- Individual Offer Item ---- */
.promo-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  letter-spacing: 0.01em;
}

.promo-ticker-item:hover {
  color: #6ee7b7;
  text-decoration: none;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}

/* ---- Gift Icon Box ---- */
.promo-ticker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(52, 211, 153, 0.08) 100%);
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.promo-ticker-item:hover .promo-ticker-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(52, 211, 153, 0.18) 100%);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.2);
  transform: scale(1.08);
}

/* ---- Discount / Badge Tag ---- */
.promo-ticker-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.175rem 0.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.promo-ticker-item:hover .promo-ticker-tag {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(251, 191, 36, 0.18) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.12);
}

/* ---- Diamond Separator ---- */
.promo-ticker-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  color: transparent;
  font-size: 0;
  position: relative;
  width: 20px;
  height: 20px;
}

.promo-ticker-divider::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(52, 211, 153, 0.3));
  border-radius: 1px;
  transform: rotate(45deg);
  transition: all 0.35s ease;
}

.promo-ticker-item:hover + .promo-ticker-item .promo-ticker-divider::before,
.promo-ticker-item:hover .promo-ticker-divider::before {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.7), rgba(52, 211, 153, 0.5));
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}

/* ---- Keyframes ---- */
@keyframes promoTickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes tickerShimmer {
  0%, 100% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
}

/* ---- Admin Country Visa Card Enhancements ---- */
.country-flag-avatar {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  transition: transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.country-flag-avatar img {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: block;
}

.hover-border-cyan:hover {
  border-color: rgba(6, 182, 212, 0.6) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(6, 182, 212, 0.15) !important;
}

.hover-border-cyan:hover .country-flag-avatar {
  transform: scale(1.06);
  border-color: rgba(6, 182, 212, 0.5) !important;
}

.bg-cyan {
  background-color: #06b6d4 !important;
  color: #070c18 !important;
}

.bg-cyan-subtle {
  background-color: rgba(6, 182, 212, 0.15) !important;
  color: #38bdf8 !important;
}

.border-cyan {
  border-color: #06b6d4 !important;
}

.btn-outline-cyan {
  border: 1px solid rgba(6, 182, 212, 0.5) !important;
  color: #38bdf8 !important;
  background: transparent;
}

.btn-outline-cyan:hover {
  background-color: #06b6d4 !important;
  color: #070c18 !important;
}

/* Country Admin Card UI/UX Production Responsive CSS Grid Polish */
#adminCountryListContainer,
#adminCountryListContainer.country-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (max-width: 1199.98px) {
  #adminCountryListContainer,
  #adminCountryListContainer.country-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  #adminCountryListContainer,
  #adminCountryListContainer.country-cards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.875rem !important;
  }
}

#adminCountryListContainer > .col-12 {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.country-admin-card,
.country-admin-card * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  box-sizing: border-box !important;
}

.country-admin-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #0d1527 !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  border-radius: 12px !important;
  padding: 1.15rem !important;
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  min-width: 0 !important;
}

.country-admin-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.45) !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.55), 0 0 12px rgba(6, 182, 212, 0.12) !important;
}

.country-admin-card .card-main-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  min-width: 0 !important;
}

.country-admin-card .card-header-zone {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 0.85rem !important;
  min-width: 0 !important;
}

.country-admin-card .card-flag-box {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 10px !important;
  background: rgba(30, 41, 59, 0.9) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.country-admin-card .card-flag-box img {
  width: 30px !important;
  height: 20px !important;
  object-fit: cover !important;
  border-radius: 3px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  display: block !important;
}

.country-admin-card .card-identity-box {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.country-admin-card .card-country-name {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 0.25rem 0 !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

.country-admin-card .card-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
}

.country-admin-card .country-badge-pill {
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  color: #06b6d4 !important;
  background: rgba(6, 182, 212, 0.12) !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
  padding: 0.12rem 0.5rem !important;
  border-radius: 9999px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.country-admin-card .country-slug-text {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 140px !important;
}

.country-admin-card .card-status-box {
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.country-admin-card .btn-status-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
}

.country-admin-card .card-desc-zone {
  margin-bottom: 0.85rem !important;
  min-height: 3.2rem !important;
}

.country-admin-card .card-desc {
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  word-break: break-word !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.country-admin-card .metric-strip {
  display: flex !important;
  align-items: stretch !important;
  background: rgba(8, 14, 26, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.4rem !important;
  margin-bottom: 0.85rem !important;
  min-width: 0 !important;
}

.country-admin-card .metric-col {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.35rem !important;
}

.country-admin-card .metric-divider {
  width: 1px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  margin: 0 0.15rem !important;
  align-self: stretch !important;
  flex-shrink: 0 !important;
}

.country-admin-card .metric-label {
  font-size: 0.64rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  margin-bottom: 0.2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  line-height: 1.2 !important;
  width: 100% !important;
  white-space: nowrap !important;
}

.country-admin-card .metric-val {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  line-height: 1.3 !important;
  width: 100% !important;
  word-break: break-word !important;
  text-align: center !important;
}

.country-admin-card .metric-val-fee {
  color: #a3e635 !important;
}

.country-admin-card .metric-val-time {
  color: #f8fafc !important;
}

.country-admin-card .visa-categories-zone {
  margin-bottom: 0.85rem !important;
  min-height: 48px !important;
}

.country-admin-card .visa-categories-label {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 0.35rem !important;
}

.country-admin-card .visa-chips-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px !important;
}

.country-admin-card .visa-chip {
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  max-width: 135px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #e2e8f0 !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 6px !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}

.country-admin-card .visa-chip:hover {
  border-color: rgba(56, 189, 248, 0.45) !important;
  background: rgba(30, 41, 59, 0.85) !important;
}

.country-admin-card .visa-chip-more {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  background: rgba(6, 182, 212, 0.15) !important;
  border: 1px solid rgba(6, 182, 212, 0.4) !important;
  color: #38bdf8 !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.country-admin-card .visa-empty-text {
  font-size: 0.72rem !important;
  color: #64748b !important;
  font-style: italic !important;
}

.country-admin-card .card-footer-toolbar {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 0.75rem !important;
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

.country-admin-card .docs-badge {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.country-admin-card .card-action-btns {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin-left: auto !important;
}

.country-admin-card .action-btn {
  height: 32px !important;
  min-width: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.65rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.country-admin-card .action-btn-view {
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  color: #cbd5e1 !important;
  background: transparent !important;
}

.country-admin-card .action-btn-view:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.country-admin-card .action-btn-edit {
  border: 1px solid rgba(6, 182, 212, 0.5) !important;
  color: #06b6d4 !important;
  background: rgba(6, 182, 212, 0.08) !important;
  gap: 4px !important;
}

.country-admin-card .action-btn-edit:hover {
  background: #06b6d4 !important;
  color: #070c18 !important;
  border-color: #06b6d4 !important;
}

.country-admin-card .action-btn-delete {
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
  background: transparent !important;
}

.country-admin-card .action-btn-delete:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

@media (max-width: 420px) {
  .country-admin-card {
    padding: 0.875rem !important;
  }
  .country-admin-card .card-footer-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .country-admin-card .card-action-btns {
    width: 100% !important;
    justify-content: flex-end !important;
  }
}

/* ==========================================================================
   Smooth Mobile Menu Navigation Drawer
   ========================================================================== */
#mobileMenu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.35s;
  will-change: max-height, opacity, transform;
}

#mobileMenu.is-open {
  max-height: 85vh;
  opacity: 1;
  overflow-y: auto;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* ==========================================================================
   Responsive Header & Navigation Rules (All Devices)
   ========================================================================== */
/* Desktop Navigation Links */
header > div > nav a {
  white-space: nowrap;
}

/* Mobile Nav Drawer Smooth Entry */
#mobileNavDrawer:not(.hidden) {
  animation: slideDownNav 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Canonical Utility Compatibility */
.grow { flex-grow: 1 !important; }
.shrink-0 { flex-shrink: 0 !important; }
@media (min-width: 576px) {
  .sm\:grow-0 { flex-grow: 0 !important; }
}


