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

:root {
  --navy-dark: #0A1931;
  --navy-deep: #071326;
  --navy-banner: #091C42;
  --navy-banner-end: #0B2968;
  --gold-primary: #FDB022;
  --gold-hover: #F59E0B;
  --gold-light: #FEF08A;
  --blue-primary: #1D4ED8;
  --blue-accent: #3B82F6;
  --bg-slate: #F4F7FC;
  --card-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-subtle: #E2E8F0;
  --green-badge: #10B981;
  --green-bg: #ECFDF5;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-slate);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Navy Sidebar Gradient */
.sidebar-navy {
  background: linear-gradient(180deg, #091834 0%, #0A1931 50%, #061122 100%);
}

/* Hero Banner Graphic Styling */
.hero-banner {
  background: linear-gradient(135deg, #071A3F 0%, #0B2562 55%, #103487 100%);
  position: relative;
  overflow: hidden;
}

.hero-curve {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 320px;
  height: 220px;
  border-radius: 50% 50% 0 50%;
  background: linear-gradient(45deg, #FDB022 0%, #F59E0B 100%);
  z-index: 1;
  opacity: 0.95;
}

/* Scalloped Stamp Badge */
.seal-badge {
  position: relative;
  width: 140px;
  height: 140px;
  background: #FDB022;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(253, 176, 34, 0.4), inset 0 0 0 4px #F59E0B;
}

.seal-badge::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.7);
  animation: rotateSeal 25s linear infinite;
}

@keyframes rotateSeal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Active Nav Button */
.nav-item-active {
  background-color: var(--gold-primary) !important;
  color: #0A1931 !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(253, 176, 34, 0.35);
}

.nav-item-active svg {
  stroke: #0A1931;
}

/* Live Pulse Indicator */
.pulse-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Mobile Mockup Frames */
.phone-mockup {
  width: 300px;
  height: 620px;
  border-radius: 42px;
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(10, 25, 49, 0.25), 0 0 0 10px #0A1931, 0 0 0 13px #334155;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #0A1931;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 50;
}

.phone-home-bar {
  width: 110px;
  height: 4px;
  background: #0A1931;
  border-radius: 9999px;
  margin: 8px auto 6px;
}

/* Smooth transition utility */
.transition-all-ease {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 20px rgba(253, 176, 34, 0.45);
}

.glow-blue {
  box-shadow: 0 0 25px rgba(29, 78, 216, 0.35);
}

/* Login Page Background & Travel Grid */
.login-bg-pattern {
  background-color: #071326;
  background-image: radial-gradient(#1e3a8a 0.75px, transparent 0.75px), radial-gradient(#0f172a 0.75px, #071326 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* Print Invoice Styling */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-invoice-modal,
  #printable-invoice-modal * {
    visibility: visible;
  }
  #printable-invoice-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
  }
  .no-print {
    display: none !important;
  }
}
