﻿/* Automas Garage - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@600;700&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
  --automas-red: #e80404;
  --automas-red-dark: #b90303;
  --automas-red-light: #fef2f2;
  --automas-red-glow: rgba(232, 4, 4, 0.35);
  --dark-bg: #0b0f19;
  --dark-surface: #111827;
  --dark-card: #161f33;
  --dark-card-hover: #1e2942;
  --dark-border: #23304e;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: #f3f4f6;
  min-height: 100vh;
}

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

.font-mono-plate {
  font-family: 'JetBrains Mono', monospace;
}

/* Chilean License Plate Style */
.chile-plate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #111827;
  border-radius: 5px;
  padding: 2px 7px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #111827;
  letter-spacing: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.35);
  position: relative;
  line-height: 1.1;
  text-transform: uppercase;
  user-select: none;
}

.chile-plate::before {
  content: "CHILE";
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1e40af;
  display: block;
  line-height: 1;
  margin-bottom: 1px;
}

.chile-plate-sm {
  padding: 1px 5px;
  font-size: 11px;
  border-width: 1.5px;
}
.chile-plate-sm::before {
  font-size: 6px;
  letter-spacing: 1px;
}

.chile-plate-lg {
  padding: 4px 14px;
  font-size: 19px;
  border-width: 3px;
  border-radius: 7px;
}
.chile-plate-lg::before {
  font-size: 9px;
  letter-spacing: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #2b3954;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e80404;
}

/* Glassmorphism Accents */
.glass-panel {
  background: rgba(22, 31, 51, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-modal {
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 100% Solid Opacity Dropdown (Never Transparent) */
#global-status-menu, .solid-dropdown {
  background-color: #0f172a !important;
  opacity: 1 !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.9), 0 10px 15px -5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  z-index: 99999 !important;
}

/* Glowing Effects */
.glow-red {
  box-shadow: 0 0 25px var(--automas-red-glow);
}

.glow-red-sm {
  box-shadow: 0 0 12px rgba(232, 4, 4, 0.25);
}

/* Status Badges */
.badge-pending {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-confirmed {
  background-color: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.badge-in_progress {
  background-color: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.badge-ready {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-completed {
  background-color: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-cancelled {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Custom Checkbox */
input[type="checkbox"]:checked {
  background-color: #e80404;
  border-color: #e80404;
}

/* Autofill Highlight Animation */
@keyframes autoFillFlash {
  0% {
    background-color: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
  }
  100% {
    background-color: #0f172a;
    border-color: #334155;
  }
}

.autofilled-field {
  animation: autoFillFlash 1.5s ease-out;
}
