/* BYD-Inspired Sleek Dashboard Theme */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(ellipse at center, #1a1d29 0%, #0f1419 70%, #000000 100%);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-weight: 300;
}

/* BYD-Inspired Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.02); opacity: 1; }
}

@keyframes statusPulse {
  0%, 100% { 
    box-shadow: 0 0 20px currentColor, 0 0 40px currentColor; 
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px currentColor, 0 0 60px currentColor; 
    transform: scale(1.01);
  }
}

/* Floating Header Elements */
.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.logo-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}


.back-button {
  color: #ffffff;
  text-decoration: none;
  padding: 12px;
  border: none;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.brand-logo {
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
  animation: breathe 4s ease-in-out infinite;
}


/* Main Content */
.dashboard-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 80px 20px 40px 20px;
}

/* Input Section */
.input-section {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.input-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px 36px;
  backdrop-filter: blur(40px);
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.input-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: scan 4s ease-in-out infinite;
  border-radius: 24px 24px 0 0;
}

@keyframes scan {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); }
}

.input-title {
  font-size: 2.2rem;
  font-weight: 200;
  color: #ffffff;
  text-align: center;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.input-subtitle {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0 0 36px 0;
  line-height: 1.5;
  font-size: 0.95rem;
  font-weight: 300;
}

/* Form Styles */
.phone-form {
  width: 100%;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #00AFEF;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.phone-input {
  width: 100%;
  padding: 18px 18px 18px 54px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  font-family: inherit;
  font-weight: 300;
  letter-spacing: 0.5px;
  box-sizing: border-box;
}

.phone-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  backdrop-filter: blur(20px);
}

.search-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.search-btn.loading {
  pointer-events: none;
  animation: breathe 2s ease-in-out infinite;
}

.search-btn.loading .btn-text {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.loading-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid #ffffff;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.input-helper {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 10px 0 0 0;
  text-align: center;
}

/* Results Section */
.results-section {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.status-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
  border-bottom: none;
  min-height: 44px;
  gap: 20px;
}

.status-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  line-height: 1.2;
}

.new-search-btn {
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.15) 0%, rgba(0, 175, 239, 0.08) 100%);
  border: 1px solid rgba(0, 175, 239, 0.25);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(20px);
  flex-shrink: 0;
  white-space: nowrap;
  height: 44px;
  box-shadow: 0 4px 15px rgba(0, 175, 239, 0.1);
}

.new-search-btn:hover {
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.2) 0%, rgba(0, 175, 239, 0.12) 100%);
  border-color: rgba(0, 175, 239, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 175, 239, 0.2);
  color: #00AFEF;
  text-shadow: 0 0 8px rgba(0, 175, 239, 0.3);
}

/* Order Card */
.order-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(40px);
  box-shadow: 
    0 12px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: scaleIn 0.6s ease-out;
}

.order-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: pulse 3s ease-in-out infinite;
  border-radius: 24px 24px 0 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
  50% { opacity: 0.8; transform: scaleX(1); }
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.order-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.high-beam-icon {
  color: #00BFFF;
  filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.6));
  animation: high-beam-glow 2.5s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes high-beam-glow {
  0% { 
    filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.6));
    color: rgba(0, 191, 255, 0.8);
    opacity: 0.8;
  }
  100% { 
    filter: drop-shadow(0 0 12px rgba(0, 191, 255, 0.9)) drop-shadow(0 0 20px rgba(0, 191, 255, 0.5)) drop-shadow(0 0 25px rgba(0, 191, 255, 0.3));
    color: #00DDFF;
    opacity: 1;
  }
}

/* Dashboard Header Container */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px auto;
  position: relative;
  z-index: 4;
}

/* Folio Display - Top Left */
.order-id-top {
  position: relative;
  z-index: 4;
}

.folio-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.folio-text {
  color: #00AFEF;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  text-shadow: 
    0 0 8px #00AFEF,
    0 0 16px rgba(0, 175, 239, 0.5),
    0 0 24px rgba(0, 175, 239, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: led-glow 3s ease-in-out infinite alternate;
}

.folio-number {
  color: #00AFEF;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  text-shadow: 
    0 0 8px #00AFEF,
    0 0 16px rgba(0, 175, 239, 0.5),
    0 0 24px rgba(0, 175, 239, 0.3);
  letter-spacing: 1px;
  animation: led-glow 3s ease-in-out infinite alternate;
}

/* Dashboard Speedometer - Main Element */
.dashboard-speedometer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: radial-gradient(circle at center, rgba(0, 175, 239, 0.1) 0%, transparent 70%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 175, 239, 0.2);
}

.dashboard-speedometer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  pointer-events: none;
}

.speedometer-main {
  position: relative;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
}

.speedometer-main-svg {
  width: 200px;
  height: 120px;
}

/* Main Speedometer Track & Fill Styles */
.speedometer-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 8;
  stroke-linecap: round;
}

.speedometer-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.33; /* Arc length for larger speedometer */
  stroke-dashoffset: 251.33; /* Start completely hidden */
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 12px currentColor);
}

/* Status Text for Main Speedometer */
.speedometer-status-text {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 0 20px currentColor;
}

.speedometer-status-text.low {
  color: #FFB800;
  animation: text-glow-low 2s ease-in-out infinite alternate;
}

.speedometer-status-text.medium {
  color: #FF6B35;
  animation: text-glow-medium 2s ease-in-out infinite alternate;
}

.speedometer-status-text.high {
  color: #00D26A;
  animation: text-glow-high 2s ease-in-out infinite alternate;
}

@keyframes text-glow-low {
  0% { text-shadow: 0 0 20px #FFB800; }
  100% { text-shadow: 0 0 30px #FFB800, 0 0 40px rgba(255, 184, 0, 0.5); }
}

@keyframes text-glow-medium {
  0% { text-shadow: 0 0 20px #FF6B35; }
  100% { text-shadow: 0 0 30px #FF6B35, 0 0 40px rgba(255, 107, 53, 0.5); }
}

@keyframes text-glow-high {
  0% { text-shadow: 0 0 20px #00D26A; }
  100% { text-shadow: 0 0 30px #00D26A, 0 0 40px rgba(0, 210, 106, 0.5); }
}

.speedometer-fill.speedometer-low {
  stroke-dashoffset: calc(251.33 - (251.33 * 0.2)); /* 20% progress */
  animation: arc-oscillate-low 3s ease-in-out infinite, speedometer-glow-low 2s ease-in-out infinite alternate;
}

.speedometer-fill.speedometer-medium {
  stroke-dashoffset: calc(251.33 - (251.33 * 0.6)); /* 60% progress */
  animation: arc-oscillate-medium 2.5s ease-in-out infinite, speedometer-glow-medium 2s ease-in-out infinite alternate;
}

.speedometer-fill.speedometer-high {
  stroke-dashoffset: calc(251.33 - (251.33 * 1.0)); /* 100% progress */
  animation: arc-oscillate-high 2s ease-in-out infinite, speedometer-glow-high 1.5s ease-in-out infinite alternate;
}

@keyframes arc-oscillate-low {
  0%, 100% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.2)); 
  }
  25% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.18)); 
  }
  50% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.22)); 
  }
  75% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.19)); 
  }
}

@keyframes arc-oscillate-medium {
  0%, 100% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.6)); 
  }
  20% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.62)); 
  }
  40% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.58)); 
  }
  60% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.61)); 
  }
  80% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.59)); 
  }
}

@keyframes arc-oscillate-high {
  0%, 100% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 1.0)); 
  }
  33% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 0.98)); 
  }
  66% { 
    stroke-dashoffset: calc(251.33 - (251.33 * 1.0)); 
  }
}

@keyframes speedometer-glow-low {
  0% { filter: drop-shadow(0 0 6px #FFB800); }
  100% { filter: drop-shadow(0 0 14px #FFB800) drop-shadow(0 0 20px rgba(255, 184, 0, 0.3)); }
}

@keyframes speedometer-glow-medium {
  0% { filter: drop-shadow(0 0 8px #FF6B35); }
  100% { filter: drop-shadow(0 0 16px #FF6B35) drop-shadow(0 0 24px rgba(255, 107, 53, 0.4)); }
}

@keyframes speedometer-glow-high {
  0% { filter: drop-shadow(0 0 10px #00D26A); }
  100% { filter: drop-shadow(0 0 18px #00D26A) drop-shadow(0 0 28px rgba(0, 210, 106, 0.5)); }
}

.speedometer-needle {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 4px;
  height: 80px;
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.9) 80%, rgba(255, 255, 255, 0.6) 100%);
  transform-origin: bottom center;
  transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
}

.speedometer-needle.speedometer-needle-low {
  transform: translateX(-50%) rotate(-70deg);
  animation: needle-oscillate-low 3s ease-in-out infinite;
}

.speedometer-needle.speedometer-needle-medium {
  transform: translateX(-50%) rotate(0deg);
  animation: needle-oscillate-medium 2.5s ease-in-out infinite;
}

.speedometer-needle.speedometer-needle-high {
  transform: translateX(-50%) rotate(70deg);
  animation: needle-oscillate-high 2s ease-in-out infinite;
}

@keyframes needle-oscillate-low {
  0%, 100% { 
    transform: translateX(-50%) rotate(-70deg); 
  }
  25% { 
    transform: translateX(-50%) rotate(-65deg); 
  }
  50% { 
    transform: translateX(-50%) rotate(-75deg); 
  }
  75% { 
    transform: translateX(-50%) rotate(-68deg); 
  }
}

@keyframes needle-oscillate-medium {
  0%, 100% { 
    transform: translateX(-50%) rotate(0deg); 
  }
  20% { 
    transform: translateX(-50%) rotate(8deg); 
  }
  40% { 
    transform: translateX(-50%) rotate(-6deg); 
  }
  60% { 
    transform: translateX(-50%) rotate(5deg); 
  }
  80% { 
    transform: translateX(-50%) rotate(-3deg); 
  }
}

@keyframes needle-oscillate-high {
  0%, 100% { 
    transform: translateX(-50%) rotate(70deg); 
  }
  33% { 
    transform: translateX(-50%) rotate(65deg); 
  }
  66% { 
    transform: translateX(-50%) rotate(75deg); 
  }
}

.speedometer-center {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #e0e0e0 60%, #999999 100%);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.9), inset 0 0 8px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: center-pulse 2s ease-in-out infinite alternate;
}

/* Date Gauge - Fuel Indicator Style */
.date-gauge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.date-gauge {
  position: relative;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 20px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 175, 239, 0.1);
}

.date-gauge::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 175, 239, 0.3);
}

.date-gauge-icon {
  font-size: 1.5rem;
  color: #00AFEF;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 175, 239, 0.6);
}

.date-gauge-value {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.date-gauge-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  text-align: center;
}

.date-gauge-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 40px;
  background: linear-gradient(to top, #00AFEF 0%, rgba(0, 175, 239, 0.6) 100%);
  transform-origin: bottom center;
  transform: translateX(-50%) translateY(-100%) rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 175, 239, 0.6);
  animation: needle-glow 3s ease-in-out infinite alternate;
}

@keyframes needle-glow {
  0% { 
    box-shadow: 0 0 8px rgba(0, 175, 239, 0.6);
    background: linear-gradient(to top, #00AFEF 0%, rgba(0, 175, 239, 0.6) 100%);
  }
  100% { 
    box-shadow: 0 0 12px rgba(0, 175, 239, 0.8);
    background: linear-gradient(to top, #00AFEF 0%, rgba(0, 175, 239, 0.8) 100%);
  }
}

/* Turn Signal Indicators - Top of Dashboard */
.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.turn-signals-top {
  display: flex;
  gap: 40px;
}

.turn-signal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.turn-signal-arrow {
  width: 24px;
  height: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turn-signal-arrow svg {
  width: 24px;
  height: 16px;
  color: rgba(255, 160, 0, 0.3);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 3px rgba(255, 160, 0, 0.2));
}

.turn-signal-top.active.left .turn-signal-arrow svg {
  color: #FFA000;
  filter: drop-shadow(0 0 8px rgba(255, 160, 0, 0.8)) drop-shadow(0 0 12px rgba(255, 160, 0, 0.4));
  animation: turn-signal-blink-left 1.5s ease-in-out infinite;
}

.turn-signal-top.active.right .turn-signal-arrow svg {
  color: #FFA000;
  filter: drop-shadow(0 0 8px rgba(255, 160, 0, 0.8)) drop-shadow(0 0 12px rgba(255, 160, 0, 0.4));
  animation: turn-signal-blink-right 1.5s ease-in-out infinite;
}

@keyframes turn-signal-blink-left {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
    color: #FFA000;
    filter: drop-shadow(0 0 12px rgba(255, 160, 0, 0.8));
  }
  25% {
    opacity: 0.2;
    transform: scale(0.95);
    color: rgba(255, 160, 0, 0.2);
    filter: drop-shadow(0 0 3px rgba(255, 160, 0, 0.2));
  }
  50% { 
    opacity: 1;
    transform: scale(1);
    color: #FFA000;
    filter: drop-shadow(0 0 12px rgba(255, 160, 0, 0.8));
  }
  75% {
    opacity: 0.2;
    transform: scale(0.95);
    color: rgba(255, 160, 0, 0.2);
    filter: drop-shadow(0 0 3px rgba(255, 160, 0, 0.2));
  }
}

@keyframes turn-signal-blink-right {
  0%, 100% { 
    opacity: 0.2;
    transform: scale(0.95);
    color: rgba(255, 160, 0, 0.2);
    filter: drop-shadow(0 0 3px rgba(255, 160, 0, 0.2));
  }
  25% {
    opacity: 1;
    transform: scale(1);
    color: #FFA000;
    filter: drop-shadow(0 0 12px rgba(255, 160, 0, 0.8));
  }
  50% { 
    opacity: 0.2;
    transform: scale(0.95);
    color: rgba(255, 160, 0, 0.2);
    filter: drop-shadow(0 0 3px rgba(255, 160, 0, 0.2));
  }
  75% {
    opacity: 1;
    transform: scale(1);
    color: #FFA000;
    filter: drop-shadow(0 0 12px rgba(255, 160, 0, 0.8));
  }
}

.turn-signal-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.turn-signal-top.active .turn-signal-text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(255, 160, 0, 0.3);
}

/* LED Date Display - Top Right */
.dashboard-date {
  position: relative;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #00FFAA;
  text-shadow: 
    0 0 10px #00FFAA,
    0 0 20px rgba(0, 255, 170, 0.5),
    0 0 30px rgba(0, 255, 170, 0.3);
  letter-spacing: 1px;
  font-weight: 400;
  animation: led-glow 3s ease-in-out infinite alternate;
  z-index: 4;
  white-space: nowrap;
}

@keyframes led-glow {
  0% { 
    text-shadow: 
      0 0 10px #00FFAA,
      0 0 20px rgba(0, 255, 170, 0.5),
      0 0 30px rgba(0, 255, 170, 0.3);
  }
  100% { 
    text-shadow: 
      0 0 15px #00FFAA,
      0 0 25px rgba(0, 255, 170, 0.7),
      0 0 35px rgba(0, 255, 170, 0.5);
  }
}

/* Engine Warning Lights - Around Speedometer */
.engine-lights {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.engine-light {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 25px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.engine-light.active {
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.6);
  background: rgba(255, 215, 0, 0.1);
  text-shadow: 0 0 8px #FFD700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.engine-light.marca {
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 0.5rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.engine-light.marca.active {
  border-color: rgba(255, 215, 0, 0.8);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 
    0 0 15px rgba(255, 215, 0, 0.4),
    0 0 25px rgba(255, 215, 0, 0.2);
}

.engine-light.modelo {
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 0.5rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.engine-light.modelo.active {
  border-color: rgba(255, 215, 0, 0.8);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 
    0 0 15px rgba(255, 215, 0, 0.4),
    0 0 25px rgba(255, 215, 0, 0.2);
}

.vehicle-icon {
  font-size: 0.8rem;
  margin-right: 3px;
}

/* Dashboard Indicators Grid - 3x3 Overlay */
.dashboard-indicators {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 5px;
  z-index: 4;
  pointer-events: none;
}

/* ABS Dashboard Indicator - Right Middle */
.abs-indicator {
  grid-column: 3;
  grid-row: 2;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  pointer-events: auto;
}

.abs-indicator svg {
  width: 28px;
  height: 28px;
  color: rgba(0, 230, 200, 0.9);
  filter: drop-shadow(0 0 8px rgba(0, 230, 200, 0.6));
  animation: abs-glow 3s ease-in-out infinite alternate;
}

@keyframes abs-glow {
  0% { 
    color: rgba(0, 230, 200, 0.7);
    filter: drop-shadow(0 0 6px rgba(0, 230, 200, 0.4));
  }
  100% { 
    color: rgba(0, 230, 200, 1);
    filter: drop-shadow(0 0 12px rgba(0, 230, 200, 0.8)) drop-shadow(0 0 18px rgba(0, 230, 200, 0.5));
  }
}

/* Make Dashboard Indicator - Left Middle */
.make-indicator {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  pointer-events: auto;
}

.make-indicator svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 184, 0, 0.9);
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.6));
  animation: make-glow 2.8s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes make-glow {
  0% { 
    color: rgba(255, 184, 0, 0.7);
    filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.4));
    opacity: 0.8;
  }
  100% { 
    color: #FFB800;
    filter: drop-shadow(0 0 12px rgba(255, 184, 0, 0.8)) drop-shadow(0 0 18px rgba(255, 184, 0, 0.5)) drop-shadow(0 0 24px rgba(255, 184, 0, 0.3));
    opacity: 1;
  }
}

.make-label {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #FFB800;
  text-shadow: 
    0 0 8px #FFB800,
    0 0 16px rgba(255, 184, 0, 0.5),
    0 0 24px rgba(255, 184, 0, 0.3);
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  animation: make-led-glow 3s ease-in-out infinite alternate;
}

@keyframes make-led-glow {
  0% { 
    color: rgba(255, 184, 0, 0.7);
    text-shadow: 
      0 0 6px rgba(255, 184, 0, 0.4),
      0 0 12px rgba(255, 184, 0, 0.3),
      0 0 18px rgba(255, 184, 0, 0.2);
  }
  100% { 
    color: #FFB800;
    text-shadow: 
      0 0 10px #FFB800,
      0 0 20px rgba(255, 184, 0, 0.6),
      0 0 30px rgba(255, 184, 0, 0.4);
  }
}

/* Installation Dashboard Indicator - Top Center */
.installation-indicator {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  pointer-events: auto;
}

.installation-indicator svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 87, 34, 0.9);
  filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.6));
  animation: installation-glow 2.8s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes installation-glow {
  0% { 
    color: rgba(255, 87, 34, 0.7);
    filter: drop-shadow(0 0 6px rgba(255, 87, 34, 0.4));
    opacity: 0.8;
  }
  100% { 
    color: #FF5722;
    filter: drop-shadow(0 0 12px rgba(255, 87, 34, 0.8)) drop-shadow(0 0 18px rgba(255, 87, 34, 0.5)) drop-shadow(0 0 24px rgba(255, 87, 34, 0.3));
    opacity: 1;
  }
}

.installation-label {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #FF5722;
  text-shadow: 
    0 0 8px #FF5722,
    0 0 16px rgba(255, 87, 34, 0.5),
    0 0 24px rgba(255, 87, 34, 0.3);
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  animation: installation-led-glow 2.8s ease-in-out infinite alternate;
}

@keyframes installation-led-glow {
  0% { 
    color: rgba(255, 87, 34, 0.7);
    text-shadow: 
      0 0 6px rgba(255, 87, 34, 0.4),
      0 0 12px rgba(255, 87, 34, 0.3),
      0 0 18px rgba(255, 87, 34, 0.2);
  }
  100% { 
    color: #FF5722;
    text-shadow: 
      0 0 10px #FF5722,
      0 0 20px rgba(255, 87, 34, 0.6),
      0 0 30px rgba(255, 87, 34, 0.4);
  }
}

/* BodyType Dashboard Indicator - Bottom Center */
.chassis-indicator {
  grid-column: 2;
  grid-row: 3;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  pointer-events: auto;
}

.chassis-indicator svg {
  width: 28px;
  height: 28px;
  color: rgba(156, 39, 176, 0.9);
  filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.6));
  animation: chassis-glow 2.8s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes chassis-glow {
  0% { 
    color: rgba(156, 39, 176, 0.7);
    filter: drop-shadow(0 0 6px rgba(156, 39, 176, 0.4));
    opacity: 0.8;
  }
  100% { 
    color: #9C27B0;
    filter: drop-shadow(0 0 12px rgba(156, 39, 176, 0.8)) drop-shadow(0 0 18px rgba(156, 39, 176, 0.5)) drop-shadow(0 0 24px rgba(156, 39, 176, 0.3));
    opacity: 1;
  }
}

.chassis-label {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: #9C27B0;
  text-shadow: 
    0 0 8px #9C27B0,
    0 0 16px rgba(156, 39, 176, 0.5),
    0 0 24px rgba(156, 39, 176, 0.3);
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
  animation: chassis-led-glow 2.8s ease-in-out infinite alternate;
}

@keyframes chassis-led-glow {
  0% { 
    color: rgba(156, 39, 176, 0.7);
    text-shadow: 
      0 0 6px rgba(156, 39, 176, 0.4),
      0 0 12px rgba(156, 39, 176, 0.3),
      0 0 18px rgba(156, 39, 176, 0.2);
  }
  100% { 
    color: #9C27B0;
    text-shadow: 
      0 0 10px #9C27B0,
      0 0 20px rgba(156, 39, 176, 0.6),
      0 0 30px rgba(156, 39, 176, 0.4);
  }
}

.model-label {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: rgba(0, 230, 200, 1);
  text-shadow: 
    0 0 8px rgba(0, 230, 200, 0.8),
    0 0 16px rgba(0, 230, 200, 0.5),
    0 0 24px rgba(0, 230, 200, 0.3);
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
  animation: model-led-glow 3s ease-in-out infinite alternate;
}

@keyframes model-led-glow {
  0% { 
    color: rgba(0, 230, 200, 0.7);
    text-shadow: 
      0 0 6px rgba(0, 230, 200, 0.4),
      0 0 12px rgba(0, 230, 200, 0.3),
      0 0 18px rgba(0, 230, 200, 0.2);
  }
  100% { 
    color: rgba(0, 230, 200, 1);
    text-shadow: 
      0 0 10px rgba(0, 230, 200, 0.8),
      0 0 20px rgba(0, 230, 200, 0.6),
      0 0 30px rgba(0, 230, 200, 0.4);
  }
}

/* Customer Information Section */
.customer-section {
  margin: 30px 0 20px 0;
  padding: 0 20px;
}

.customer-info {
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.1) 0%, rgba(0, 175, 239, 0.05) 100%);
  border: 1px solid rgba(0, 175, 239, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 175, 239, 0.1);
}

.customer-title {
  color: #00AFEF;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  text-shadow: 0 0 8px rgba(0, 175, 239, 0.3);
}

.customer-name {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dashboard Information Panels */
.dashboard-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
}

.info-panel {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00AFEF 50%, transparent 100%);
}

.panel-title {
  font-size: 0.8rem;
  color: #00AFEF;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 600;
}

.panel-value {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  word-break: break-word;
}

.panel-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

@keyframes center-pulse {
  0% { 
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  }
  100% { 
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 16px rgba(255, 255, 255, 1);
  }
}

.speedometer-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.order-details {
  display: grid;
  gap: 15px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.detail-row:nth-child(1) { animation-delay: 0.1s; }
.detail-row:nth-child(2) { animation-delay: 0.2s; }
.detail-row:nth-child(3) { animation-delay: 0.3s; }
.detail-row:nth-child(4) { animation-delay: 0.4s; }
.detail-row:nth-child(5) { animation-delay: 0.5s; }
.detail-row:nth-child(6) { animation-delay: 0.6s; }
.detail-row:nth-child(7) { animation-delay: 0.7s; }
.detail-row:nth-child(8) { animation-delay: 0.8s; }

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.detail-value {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
  font-family: 'Courier New', monospace;
}

.order-notes {
  margin-top: 25px;
  padding: 20px;
  background: rgba(0, 175, 239, 0.1);
  border: 1px solid rgba(0, 175, 239, 0.3);
  border-radius: 10px;
}

.order-notes h4 {
  color: #00AFEF;
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-notes p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Animated Status Icons */
.animated-icon {
  display: inline-block;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Love Message Section */
.love-message {
  margin: 25px 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(255, 105, 180, 0.1));
  border: 1px solid rgba(255, 20, 147, 0.3);
  border-radius: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.love-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF1493, transparent);
  animation: loveScan 3s linear infinite;
}

@keyframes loveScan {
  0% { left: -100%; }
  100% { left: 100%; }
}

.love-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  animation: carDrive 2s ease-in-out infinite;
}

@keyframes carDrive {
  0%, 100% { transform: scale(1) translateX(0); }
  25% { transform: scale(1.1) translateX(2px); }
  75% { transform: scale(1.1) translateX(-2px); }
}

.love-message p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

.sparkles {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.6; transform: rotate(0deg) scale(1); }
  50% { opacity: 1; transform: rotate(360deg) scale(1.2); }
}

/* Contact Section */
.contact-section {
  margin-top: 25px;
  padding: 20px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 15px;
  text-align: center;
}

.contact-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 20px;
}

.contact-detail {
  flex: 1;
  text-align: left;
}

.contact-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-left: 5px;
}

.contact-text {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 15px 0;
  font-size: 0.9rem;
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-contact svg {
  flex-shrink: 0;
}

/* Error Section */
.error-section {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.error-panel {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: 
    0 0 40px rgba(255, 68, 68, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.error-icon {
  color: #FF4444;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 68, 68, 0.5));
}

.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF4444;
  margin: 0 0 15px 0;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.error-message {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 30px 0;
  line-height: 1.6;
}

.retry-btn {
  background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
}

/* Customer Photos Gallery */
.customer-photos-section {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 175, 239, 0.2);
  backdrop-filter: blur(20px);
}

.customer-photos-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.customer-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(0, 175, 239, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.customer-photo-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(0, 175, 239, 0.8);
  box-shadow: 
    0 15px 35px rgba(0, 175, 239, 0.3),
    0 0 20px rgba(0, 175, 239, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.customer-photo-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.customer-photo-item:hover .customer-photo-thumbnail {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.8) 0%, rgba(0, 120, 212, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.customer-photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Photo Gallery Modal */
.photo-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.photo-gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.photo-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 175, 239, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 175, 239, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-gallery-modal.active .photo-modal-content {
  transform: scale(1);
}

.modal-photo-container {
  position: relative;
  padding: 20px;
}

.modal-photo {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.photo-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.9) 0%, rgba(0, 120, 212, 0.8) 100%);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 
    0 5px 15px rgba(0, 175, 239, 0.4),
    0 0 10px rgba(0, 175, 239, 0.2);
}

.photo-nav-button:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 
    0 10px 25px rgba(0, 175, 239, 0.6),
    0 0 20px rgba(0, 175, 239, 0.4);
}

.photo-nav-button.prev {
  left: -70px;
}

.photo-nav-button.next {
  right: -70px;
}

.photo-nav-button svg {
  width: 20px;
  height: 20px;
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 
    0 5px 15px rgba(255, 68, 68, 0.4),
    0 0 10px rgba(255, 68, 68, 0.2);
}

.modal-close:hover {
  transform: scale(1.1);
  box-shadow: 
    0 10px 25px rgba(255, 68, 68, 0.6),
    0 0 20px rgba(255, 68, 68, 0.4);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.photo-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(0, 175, 239, 0.3);
  backdrop-filter: blur(10px);
}

/* Version Card - Matching Dashboard Design */
.version-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(0, 175, 239, 0.2);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(20px);
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 25px rgba(0, 175, 239, 0.1),
    0 0 15px rgba(0, 175, 239, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.version-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 175, 239, 0.8) 50%, transparent 100%);
  animation: cardGlow 3s ease-in-out infinite;
}

.version-card:hover {
  border-color: rgba(0, 175, 239, 0.4);
  box-shadow: 
    0 12px 35px rgba(0, 175, 239, 0.15),
    0 0 25px rgba(0, 175, 239, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.version-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.version-icon {
  color: rgba(0, 175, 239, 0.9);
  filter: drop-shadow(0 0 6px rgba(0, 175, 239, 0.4));
  animation: iconPulse 2s ease-in-out infinite;
}

.version-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(0, 175, 239, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 175, 239, 0.3);
}

.version-content {
  padding-left: 26px;
}

.version-value {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  display: block;
  line-height: 1.4;
}

@keyframes cardGlow {
  0%, 100% { 
    background: linear-gradient(90deg, transparent 0%, rgba(0, 175, 239, 0.4) 50%, transparent 100%);
  }
  50% { 
    background: linear-gradient(90deg, transparent 0%, rgba(0, 175, 239, 0.8) 50%, transparent 100%);
  }
}

@keyframes iconPulse {
  0%, 100% { 
    filter: drop-shadow(0 0 6px rgba(0, 175, 239, 0.4));
    color: rgba(0, 175, 239, 0.9);
  }
  50% { 
    filter: drop-shadow(0 0 10px rgba(0, 175, 239, 0.6));
    color: rgba(0, 175, 239, 1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .customer-photos-gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }
  
  .photo-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .modal-photo-container {
    padding: 15px;
  }
  
  .photo-nav-button {
    width: 40px;
    height: 40px;
  }
  
  .photo-nav-button.prev {
    left: -50px;
  }
  
  .photo-nav-button.next {
    right: -50px;
  }
  
  .modal-close {
    width: 35px;
    height: 35px;
    top: -10px;
    right: -10px;
  }
  
  .photo-counter {
    bottom: -35px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .photo-nav-button.prev {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
  }
  
  .photo-nav-button.next {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Dashboard Grid Background */
.dashboard-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0, 175, 239, 0.1), transparent);
  animation: gridPulse 4s ease-in-out infinite;
}

.grid-line.horizontal {
  width: 100%;
  height: 1px;
}

.grid-line.horizontal:nth-child(1) { top: 20%; }
.grid-line.horizontal:nth-child(2) { top: 50%; }
.grid-line.horizontal:nth-child(3) { top: 80%; }

.grid-line.vertical {
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 175, 239, 0.1), transparent);
}

.grid-line.vertical:nth-child(4) { left: 30%; }
.grid-line.vertical:nth-child(5) { left: 70%; }

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Glowing Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(2px);
  animation: float 6s ease-in-out infinite;
}

.glow-orb-1 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 175, 239, 0.3) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.glow-orb-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.glow-orb-3 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 175, 239, 0.4) 0%, transparent 70%);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1); 
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-15px) translateX(5px) scale(1.05); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-20px) translateX(0px) scale(1.1); 
    opacity: 1;
  }
  75% { 
    transform: translateY(-15px) translateX(-5px) scale(1.05); 
    opacity: 0.8;
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  .back-button {
    top: 10px;
    left: 10px;
  }
  
  .logo-container {
    top: 10px;
  }
  
  .dashboard-main {
    padding: 60px 15px 30px 15px;
  }
  
  .input-panel, .order-card, .error-panel {
    padding: 30px 20px;
  }
  
  .input-title {
    font-size: 1.5rem;
  }
  
  .phone-input {
    padding: 12px 12px 12px 45px;
    font-size: 0.9rem;
  }
  
  .input-icon {
    left: 12px;
    width: 18px;
  }
  
  .search-btn {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .order-header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  .dashboard-speedometer {
    padding: 50px 15px;
    margin-bottom: 30px;
    border-width: 1px;
  }
  
  .speedometer-main {
    width: 160px;
    height: 96px;
    margin-bottom: 15px;
  }
  
  .speedometer-main-svg {
    width: 160px;
    height: 96px;
  }
  
  .speedometer-needle {
    width: 3px;
    height: 64px;
    bottom: 6px;
  }
  
  .speedometer-center {
    width: 12px;
    height: 12px;
    bottom: 3px;
  }
  
  .speedometer-status-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  
  .date-gauge {
    width: 100px;
    height: 100px;
  }
  
  .date-gauge-needle {
    height: 35px;
  }
  
  .date-gauge-icon {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  
  .date-gauge-value {
    font-size: 0.65rem;
  }
  
  .date-gauge-label {
    font-size: 0.55rem;
  }
  
  .dashboard-top {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .turn-signals-top {
    gap: 30px;
  }
  
  .turn-signal-arrow {
    width: 20px;
    height: 14px;
  }
  
  .turn-signal-arrow svg {
    width: 20px;
    height: 14px;
  }
  
  .engine-light {
    width: 40px;
    height: 22px;
    font-size: 0.55rem;
  }
  
  .engine-light.marca {
    width: 40px;
    height: 40px;
    left: -50px;
    font-size: 0.45rem;
  }
  
  .engine-light.modelo {
    width: 40px;
    height: 40px;
    right: -50px;
    font-size: 0.45rem;
  }
  
  .turn-signal-text {
    font-size: 0.6rem;
  }
  
  
  .dashboard-date {
    font-size: 0.8rem;
  }
  
  .contact-info-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-detail {
    text-align: center;
  }
  
  .make-indicator {
    bottom: -10px;
    left: -40px;
  }
  
  
  .installation-indicator {
    top: -10px;
    left: -40px;
  }
  
  .chassis-indicator {
    top: -10px;
    right: -10px;
  }
  
  .dashboard-header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .make-indicator svg, .installation-indicator svg, .chassis-indicator svg {
    width: 28px;
    height: 28px;
  }
  
  .make-label, .installation-label, .chassis-label {
    font-size: 0.7rem;
  }
  
  .make-indicator, .installation-indicator, .chassis-indicator {
    gap: 3px;
  }
  
  .customer-section {
    margin: 20px 0 15px 0;
    padding: 0 15px;
  }
  
  .customer-info {
    padding: 15px;
  }
  
  .customer-title {
    font-size: 1rem;
  }
  
  .customer-name {
    font-size: 1.2rem;
  }

  .new-search-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    min-height: 44px;
    gap: 6px;
  }
  
  .new-search-btn svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 4px rgba(0, 175, 239, 0.3));
    transition: all 0.3s ease;
  }
  
  .new-search-btn:hover svg {
    filter: drop-shadow(0 0 8px rgba(0, 175, 239, 0.6));
    color: #00AFEF;
  }

  .dashboard-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .info-panel {
    padding: 15px;
  }
  
  .panel-value {
    font-size: 1.2rem;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    text-align: left;
  }
  
  .detail-value {
    text-align: left;
    font-size: 1.1rem;
  }
  
  .new-search-btn {
    width: auto;
    min-width: 160px;
    justify-content: center;
  }
  
  .status-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .back-button {
    top: 30px;
    left: 30px;
  }
  
  .logo-container {
    top: 30px;
  }
  
  /* Desktop layout for dashboard indicators 3x3 overlay */
  .dashboard-indicators {
    gap: 8px;
  }
  
  .dashboard-main {
    padding: 100px 40px 60px 40px;
  }
  
  .input-panel, .order-card, .error-panel {
    padding: 50px 40px;
  }
  
  .input-title {
    font-size: 2.5rem;
  }
  
  .phone-input {
    padding: 18px 18px 18px 55px;
    font-size: 1.1rem;
  }
  
  .input-icon {
    left: 18px;
    width: 22px;
  }
  
  .search-btn {
    padding: 18px;
    font-size: 1.1rem;
  }
  
  .order-header {
    flex-direction: row;
    align-items: center;
  }
  
  .detail-row {
    flex-direction: row;
    align-items: center;
  }
  
  .detail-value {
    text-align: right;
  }
  
  .new-search-btn {
    width: auto;
  }
  
  .status-header {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

/* Vehicle Information Section */
.vehicle-info-section {
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 2px;
  flex-shrink: 0;
}

.vehicle-details {
  display: grid;
  gap: 12px;
}

.vehicle-details .detail-row {
  animation-delay: 0.4s;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vehicle-details .detail-row:last-child {
  border-bottom: none;
}

.body-type-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.body-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Materials Section - Mobile First Design */
.materials-section {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.material-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 120px;
  opacity: 0;
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.material-card:nth-child(2) { animation-delay: 0.2s; }
.material-card:nth-child(3) { animation-delay: 0.4s; }

.material-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.material-info {
  flex: 1;
  min-width: 0;
}

.material-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: 0.3px;
}

.material-type {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-transform: capitalize;
  line-height: 1.4;
}

.material-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.material-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.material-card:hover .material-preview {
  transform: scale(1.05);
}

/* Desktop Layout */
/* Figura-specific styles */
.figura-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.figura-image {
  position: relative;
  overflow: hidden;
}

.figura-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(240, 240, 240, 0.9) 50%, 
    rgba(220, 220, 220, 0.85) 100%);
  border-radius: 16px;
  z-index: 1;
}

.figura-preview {
  position: relative;
  z-index: 2;
  mix-blend-mode: multiply;
  filter: contrast(1.1) brightness(0.1);
}

.figura-card:hover .figura-background {
  background: radial-gradient(ellipse at center, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(245, 245, 245, 0.95) 50%, 
    rgba(230, 230, 230, 0.9) 100%);
}

/* Mobile adjustments for figura */
@media (max-width: 767px) {
  .materials-section {
    gap: 16px;
  }
  
  .figura-card {
    order: 3; /* Show figura last on mobile */
  }
}

@media (min-width: 768px) {
  .materials-section {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .material-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    min-height: 200px;
    min-width: 0;
  }
  
  /* Adjust layout when figura is present */
  .materials-section:has(.figura-card) .material-card {
    flex-basis: calc(33.333% - 16px);
  }
  
  .figura-background {
    border-radius: 20px;
  }
  
  .material-info {
    order: 2;
    margin-top: 16px;
  }
  
  .material-image {
    order: 1;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 20px;
  }
  
  .material-title {
    font-size: 1.2rem;
  }
  
  .material-type {
    font-size: 1rem;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .material-card {
    padding: 32px 28px;
    min-height: 220px;
  }
  
  .material-image {
    width: 120px;
    height: 120px;
  }
}

/* Additional Information Section */
.additional-info-section {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: slideInFromRight 0.8s ease-out forwards;
}

.info-card:nth-child(2) { animation-delay: 0.2s; }

.info-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.info-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-title::before {
  content: '';
  width: 3px;
  height: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  border-radius: 2px;
  flex-shrink: 0;
}

.info-content {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
  word-wrap: break-word;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

/* Desktop layout for additional info */
@media (min-width: 768px) {
  .additional-info-section {
    flex-direction: row;
    gap: 20px;
  }
  
  .info-card {
    flex: 1;
    padding: 20px 24px;
  }
  
  .info-title {
    font-size: 0.95rem;
  }
  
  .info-content {
    font-size: 0.95rem;
    padding: 14px;
  }
}

/* Cost Breakdown Section */
.cost-breakdown-section {
  margin: 32px 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Courier New', monospace;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.cost-line:last-child {
  border-bottom: none;
}

.cost-concept {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-grow: 1;
  text-align: left;
}

.cost-amount {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  min-width: 120px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.cost-subtotal {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px solid rgba(0, 175, 239, 0.3);
  font-weight: 600;
}

.cost-subtotal .cost-concept {
  color: #00AFEF;
  text-shadow: 0 0 8px rgba(0, 175, 239, 0.3);
}

.cost-subtotal .cost-amount {
  color: #00AFEF;
  text-shadow: 0 0 8px rgba(0, 175, 239, 0.3);
}

.cost-deduction .cost-amount {
  color: #FF6B35;
  text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.cost-total {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 3px solid rgba(0, 210, 106, 0.4);
  font-size: 1.1rem;
  font-weight: 700;
}

.cost-total .cost-concept {
  color: #00D26A;
  text-shadow: 0 0 10px rgba(0, 210, 106, 0.4);
  font-size: 1.1rem;
}

.cost-total .cost-amount {
  color: #00D26A;
  text-shadow: 0 0 10px rgba(0, 210, 106, 0.4);
  font-size: 1.2rem;
}

/* Receipt Legend */
.receipt-legend {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
}

.legend-text {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.8rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Clickable Images */
.clickable-image {
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.15) saturate(1.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
  .modal-close {
    top: -60px;
    right: 50%;
    transform: translateX(50%);
  }
  
  .image-modal {
    padding: 10px;
  }
}

@media (min-width: 1024px) {
  .dashboard-main {
    padding: 0 40px;
  }
  
  .input-section, .results-section, .error-section {
    max-width: 700px;
  }
}