/* DriveOrange - Sixt-inspired orange/black theme */

:root {
  --orange-primary: #ff5f00;
  --orange-dark: #e65500;
  --orange-light: #ff8c42;
  --orange-bg: #fff7f0;
  --orange-accent: #1a1a1a;
  --orange-text: #2d2d2d;
}

/* Header styling */
header {
  background: var(--orange-accent);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header .logo {
  color: var(--orange-primary);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -0.5px;
}

header .tagline {
  color: #888;
  font-size: 0.875rem;
  font-style: italic;
}

@media (max-width: 480px) {
  header {
    padding: 0.75rem 1rem;
    justify-content: center;
    text-align: center;
  }
  
  header .tagline {
    width: 100%;
  }
}

/* Hero banner */
.hero-banner {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-banner h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  opacity: 0.9;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .hero-banner {
    padding: 1.5rem 1rem;
  }
  
  .hero-banner h1 {
    font-size: 1.5rem;
  }
}

/* Car card */
.car-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--orange-bg);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 2px solid var(--orange-primary);
  position: relative;
}

@media (max-width: 480px) {
  .car-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    text-align: center;
  }
}

.car-image {
  font-size: 4rem;
  width: 140px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: var(--radius);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .car-image {
    width: 120px;
    height: 90px;
    font-size: 3.5rem;
    margin: 0 auto;
  }
}

.car-badge {
  display: inline-block;
  background: var(--orange-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.car-info {
  flex: 1;
}

.car-info h2 {
  margin-bottom: 0.25rem;
  color: var(--orange-accent);
  font-weight: 700;
}

.car-category {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.car-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--orange-text);
  margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
  .car-features {
    justify-content: center;
  }
}

.car-features span {
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--orange-primary);
}

.car-joke {
  font-style: italic;
  color: var(--orange-primary);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Booking summary */
.booking-summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .booking-summary {
    padding: 1rem;
  }
}

.booking-summary h3 {
  margin-bottom: 1rem;
  color: var(--orange-accent);
  font-weight: 700;
}

.booking-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.booking-item.extras {
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .booking-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .booking-item span:first-child {
    font-weight: 600;
  }
}

.booking-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  font-weight: 700;
  font-size: 1.25rem;
}

.booking-total .price {
  color: var(--orange-primary);
}

/* License requirement */
.license-requirement {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: white;
}

.license-requirement .requirement-icon {
  font-size: 2rem;
}

.license-requirement strong {
  color: var(--orange-primary);
}

.license-requirement p {
  margin-top: 0.25rem;
  opacity: 0.9;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .license-requirement {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Buttons */
.btn-primary {
  background: var(--orange-primary);
  color: white;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-primary:disabled {
  background: #ccc;
}

.btn-secondary {
  background: var(--orange-accent);
  color: white;
}

.btn-secondary:hover {
  background: #333;
}

.btn-large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.trust-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Verification section */
.verification-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.license-info {
  background: var(--orange-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--orange-primary);
}

.license-info h3 {
  margin-bottom: 1rem;
  color: var(--orange-accent);
}

.data-list {
  list-style: none;
}

.data-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.data-icon {
  font-size: 1.25rem;
}

/* QR container */
.qr-container {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  border: 2px dashed var(--orange-primary);
  margin-bottom: 1.5rem;
}

.qr-code {
  display: inline-block;
  padding: 1rem;
  background: white;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.qr-code.has-qr {
  border: 2px solid var(--orange-primary);
}

.same-device-section {
  margin-top: 1rem;
}

.divider-text {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.status-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.status-text.error {
  color: var(--error);
}

.hidden {
  display: none !important;
}

/* Privacy note */
.privacy-note {
  background: #f0f0f0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.privacy-note strong {
  color: var(--orange-accent);
}

.privacy-note p {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Success section */
.success-header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
  border-radius: var(--radius);
  color: white;
  margin-bottom: 1.5rem;
}

.success-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.success-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.booking-confirmation {
  text-align: center;
  padding: 1.5rem;
  background: var(--orange-accent);
  border-radius: var(--radius);
  color: white;
  margin-bottom: 1.5rem;
}

.confirmation-number {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.confirmation-number span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.confirmation-number strong {
  font-size: 1.5rem;
  color: var(--orange-primary);
  font-weight: 800;
  letter-spacing: 2px;
}

.confirmation-joke {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Verified license */
.verified-license {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.verified-license h3 {
  margin-bottom: 1rem;
  color: var(--orange-accent);
}

.results-grid {
  display: grid;
  gap: 0.75rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.result-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.result-value {
  font-weight: 600;
  color: var(--orange-accent);
}

@media (max-width: 480px) {
  .result-item {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Pickup info */
.pickup-info {
  background: var(--orange-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--orange-primary);
}

.pickup-info h3 {
  margin-bottom: 1rem;
  color: var(--orange-accent);
}

.info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 95, 0, 0.2);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  font-size: 1.5rem;
}

.info-item strong {
  display: block;
  color: var(--orange-accent);
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--text);
  font-size: 0.95rem;
}

.info-item small {
  display: block;
  margin-top: 0.25rem;
  color: var(--orange-primary);
  font-style: italic;
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Success CTA */
.success-cta {
  margin-bottom: 1rem;
}

.final-joke {
  text-align: center;
  color: var(--orange-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Error section */
.error-card {
  border: 2px solid var(--error);
}

.error-content {
  text-align: center;
  padding: 2rem;
}

.error-content .error-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.error-content h2 {
  color: var(--error);
  margin-bottom: 0.5rem;
}

.error-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: var(--orange-accent);
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

footer a {
  color: var(--orange-primary);
}

footer .footer-note {
  opacity: 0.6;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Processing icon animation */
.processing-icon {
  font-size: 3rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
