/* Torqon Automotive Pvt Ltd - Custom Styles (Official Brand Identity) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Rajdhani:wght@600;700;800&display=swap');

:root {
  --torqon-blue: #07038d;        /* Logo Dominant Royal Blue */
  --torqon-orange: #ff6820;      /* Logo Dominant Racing Orange */
  --torqon-blue-dark: #04024a;
  --torqon-blue-light: #3b4bf2;
  --torqon-orange-glow: rgba(255, 104, 32, 0.45);
  --torqon-blue-glow: rgba(7, 3, 141, 0.5);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-heading {
  font-family: 'Outfit', 'Rajdhani', sans-serif;
  letter-spacing: -0.02em;
}

.font-tech {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* Glassmorphism & Luxury Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
  background: rgba(4, 5, 24, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-dark-card {
  background: linear-gradient(180deg, rgba(7, 9, 39, 0.8) 0%, rgba(4, 5, 24, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero Gradient & Mesh */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(255, 104, 32, 0.16) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(7, 3, 141, 0.4) 0%, transparent 55%),
              linear-gradient(135deg, #030414 0%, #060724 50%, #090c38 100%);
}

.accent-gradient {
  background: linear-gradient(135deg, #ff6820 0%, #ea580c 100%);
}

.blue-gradient {
  background: linear-gradient(135deg, #07038d 0%, #2520e3 100%);
}

.subtle-border {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hover Elevations */
.card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(7, 3, 141, 0.2), 0 0 1px 1px rgba(255, 104, 32, 0.3);
}

/* Animated Pulse in Brand Orange */
.pulse-glow {
  box-shadow: 0 0 20px rgba(255, 104, 32, 0.4);
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(255, 104, 32, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(255, 104, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 104, 32, 0); }
}

/* Shimmer Highlight */
.shimmer-badge {
  background: linear-gradient(90deg, rgba(7,3,141,0.15) 0%, rgba(255,104,32,0.25) 50%, rgba(7,3,141,0.15) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #030414;
}
::-webkit-scrollbar-thumb {
  background: #ff6820;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}

/* Badge glow */
.logo-orange {
  color: #ff6820;
}
.logo-blue {
  color: #07038d;
}
.bg-logo-orange {
  background-color: #ff6820;
}
.bg-logo-blue {
  background-color: #07038d;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e11d48;
}

/* Stepper / Timeline */
.step-item {
  position: relative;
  flex: 1;
  text-align: center;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}

.step-item.completed:not(:last-child)::after {
  background: #10b981;
}

.step-item.active:not(:last-child)::after {
  background: linear-gradient(90deg, #10b981 0%, #e2e8f0 100%);
}

.step-circle {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  border: 3px solid #e2e8f0;
  transition: all 0.3s ease;
}

.step-item.completed .step-circle {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
}

.step-item.active .step-circle {
  background: #e11d48;
  color: #ffffff;
  border-color: #be123c;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.2);
}

/* Fuel Gauge Widget */
.fuel-level-bar {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, #ef4444 0%, #eab308 50%, #22c55e 100%);
}

/* Print Stylesheet for Invoices & Job Cards */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
  }
  .no-print, nav, footer, aside, .btn-action, .sidebar-nav {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .print-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page-break {
    page-break-after: always;
  }
}
