/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Android Auto specific styles */
.android-auto-container {
    background: #1e293b;
    border-radius: 12px;
    padding: 1rem;
}

.android-auto-button {
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.android-auto-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Map controls */
.leaflet-control-container .leaflet-top {
    margin-top: 80px;
}

/* Navigation interface */
.nav-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.route-info-card {
    background: #374151;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #3b82f6;
}

.satellite-status {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation App Specific Styles */
.navigation-interface {
  font-family: 'Inter', sans-serif;
  background: #1e293b;
  color: white;
}

.navigation-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.route-alternatives {
  background: #374151;
  border-radius: 8px;
  padding: 1rem;
}

.traffic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.voice-command-active {
  background: #10b981 !important;
}

.map-download-progress {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.offline-mode {
  background: #f59e0b;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.accessible-text {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Android Auto specific navigation styles */
.android-auto-nav {
  background: #111827;
  color: white;
  font-size: 1.25rem;
}

.lane-guidance {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem;
}

.turn-by-turn {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem;
}
/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}