/* 
 * Enhanced Main CSS File
 * Improved layout and visual design while maintaining original HTML structure
 */

 :root {
  --background-top: #1b1b1b;
  --background-bottom: #000000;
  --card-bg: rgba(255, 255, 255, 0.08);
  --gold: #FFD700;
  --dark-gold: #d1b700;
  --gray-text: #ccc;
  --transition-speed: 0.3s;
  --border-gold: rgba(255, 215, 0, 0.4);
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --info-color: #3498db;
  --border-radius: 10px;
}

/* Reset & Base */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Inter", sans-serif;
  background: radial-gradient(ellipse at top, var(--background-top) 0%, var(--background-bottom) 100%);
  color: #fff;
  overflow-x: hidden;
  text-align: center;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-gold);
}

/* Loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-speed) ease;
  backdrop-filter: blur(5px);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 215, 0, 0.2);
  border-top: 6px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.loader-text {
  color: var(--gold);
  font-size: 1.15rem;
  animation: fadeIn 1.2s infinite alternate;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  0%   { opacity: 0.2; }
  100% { opacity: 1; }
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Header (Logo Only) */
.site-header {
  margin-bottom: 20px;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}

.site-header img.logo {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.site-header img.logo:hover {
  transform: scale(1.05);
}

@keyframes fade-in-up {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card with enhanced styling */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius);
  padding: 35px;
  margin-bottom: 0;
  opacity: 0;
  animation: fade-in 0.6s ease forwards;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

@keyframes fade-in {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(4) { animation-delay: 0.6s; }

.card h2 {
  color: var(--gold);
  margin-bottom: 25px;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

/* Username / Form Groups */
.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-text);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.form-group:hover label {
  color: var(--gold);
}

#usernameInput {
  width: 280px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--border-gold);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1.05rem;
  color: #fff;
  text-align: center;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#usernameInput:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: scale(1.02);
}

/* Combined input container */
.combined-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 20px auto 30px;
}

/* Input wrapper */
.input-wrapper {
  position: relative;
  width: 100%;
  height: 56px;
  display: flex;
  overflow: hidden !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Main input field */
.combined-input {
  width: 100% !important;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 2px solid var(--border-gold);
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 1.15rem;
  color: #fff;
  text-align: center;
  letter-spacing: 1.5px;
  transition: all 0.3s ease !important;
  z-index: 1;
  font-weight: 500;
}

/* Input when it's a plate */
.combined-input.is-plate {
  width: 60% !important;
  border-radius: 10px 0 0 10px;
  border-right: none !important;
  text-align: center;
}

/* State select container styling */
.state-select-container {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 56px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* State select container when active */
.state-select-container.active {
  transform: translateX(0) !important;
  display: flex !important;
}

/* State select styling */
.state-select {
  width: 100%;
  height: 56px;
  border: 2px solid var(--border-gold) !important;
  border-left: none !important;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 0 10px 10px 0;
  font-size: 1.1rem;
  font-family: inherit;
  text-align: center !important;
  padding: 0 30px 0 15px !important;
  letter-spacing: 1.5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-weight: 500;
}

/* Custom dropdown arrow */
.state-select-container::after {
  content: '▼';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
  font-size: 12px;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.state-select-container:hover::after {
  transform: translateY(-50%) scale(1.2);
}

/* Style the dropdown options */
.state-select option {
  background-color: #1d1d1d;
  color: #fff;
  padding: 10px;
}

/* Type indicator with enhanced styling */
.input-type-indicator {
  position: absolute;
  top: -12px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ccc;
  border: 1px solid var(--border-gold);
  transition: all 0.3s ease;
  z-index: 5;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.input-type-indicator.vin-active {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-color: #3498db;
  animation: pulse 2s infinite;
  color: white;
}

.input-type-indicator.plate-active {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  border-color: #9b59b6;
  animation: pulse 2s infinite;
  color: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(155, 89, 182, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(155, 89, 182, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(155, 89, 182, 0);
  }
}

.input-type-indicator .type-vin,
.input-type-indicator .type-plate {
  color: white;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Valid/Invalid input styling */
.combined-input.valid-input {
  border-color: var(--success-color);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
}

.combined-input.invalid-input {
  border-color: var(--error-color);
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

/* Validation styling for state select */
.combined-input.valid-input ~ .state-select-container .state-select {
  border-color: var(--success-color) !important;
  box-shadow: inset 0 0 0 1px var(--success-color);
}

.combined-input.invalid-input ~ .state-select-container .state-select {
  border-color: var(--error-color) !important;
  box-shadow: inset 0 0 0 1px var(--error-color);
}

/* Loading Indicator */
#loadingIndicator {
  display: none;
  margin: 25px auto 10px;
  color: var(--gold);
  font-size: 1.1rem;
  padding: 15px 20px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  max-width: 400px;
  animation: pulse-bg 2s infinite alternate;
}

@keyframes pulse-bg {
  0% { background: rgba(255, 215, 0, 0.05); }
  100% { background: rgba(255, 215, 0, 0.15); }
}

#loadingIndicator i {
  margin-right: 10px;
  animation: spin 1.5s linear infinite;
}

/* "Essential" & "Comprehensive" Buttons */
.report-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.report-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px; /* Increased padding from 14px to 18px */
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: #000;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  min-width: 180px;
  position: relative;
  overflow: hidden;
  height: 60px; /* Added explicit height */
}

.report-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.report-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.report-btn:hover::before {
  left: 100%;
}

.report-btn i {
  font-size: 1.2rem;
}

/* Pricing Beta Button */
.pricing-beta-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.pricing-beta-btn:hover {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ff9500, #ff5e3a);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 9px;
  border-radius: 12px;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  vertical-align: middle;
  box-shadow: 0 2px 5px rgba(255, 94, 58, 0.3);
}

.beta-badge i {
  margin-right: 4px;
  font-size: 0.75rem;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  min-width: 130px;
  position: relative;
  overflow: hidden;
}

.tab.active {
  background-color: var(--gold);
  color: black;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tab:hover:not(.active) {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Enhanced contract actions */
.contract-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.contract-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  justify-content: center;
}

.contract-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.7s ease;
}

.contract-btn:hover {
  background-color: var(--gold);
  color: #000;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
}

.contract-btn:hover::before {
  left: 100%;
}

.contract-btn i {
  font-size: 1.1rem;
}

/* Terms Summary */
.terms-summary {
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 25px;
  animation: fadeInUp 0.5s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terms-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-gold);
}

.terms-header h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.25rem;
  display: inline-block;
  position: relative;
}

.terms-header h3 i {
  margin-right: 8px;
}

.terms-header p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.term-item {
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.term-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.term-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.term-content h4 {
  color: var(--gold);
  margin: 0 0 10px 0;
  font-size: 1.05rem;
}

.term-content p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.terms-footer {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--border-gold);
  text-align: center;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.terms-footer a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.terms-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Hidden State */
.hidden {
  display: none;
}

/* Responsive Enhancements */
@media (max-width: 800px) {
  .container {
    padding: 30px 15px 50px;
    gap: 25px;
  }
  
  .card {
    padding: 25px 20px;
  }
  
  .terms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .method-switcher {
    flex-direction: column;
  }
  
  .method-button {
    max-width: none;
    width: 100%;
  }
  
  .report-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .report-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .combined-input-group {
    max-width: 100%;
  }
  
  .combined-input {
    font-size: 1rem;
  }
  
  .combined-input.is-plate {
    width: 55% !important;
  }
  
  .state-select-container {
    width: 45%;
  }
  
  .state-select {
    font-size: 0.95rem;
    padding-right: 20px !important;
  }
  
  .input-type-indicator {
    right: 10px;
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  
  .contract-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .contract-btn {
    width: 100%;
    max-width: 250px;
  }
  
  .card h2 {
    font-size: 1.3rem;
  }
}

/* Custom Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
  100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
}

/* Modal Enhancements */
.modal-overlay {
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1b1b1b, #252525);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 30px;
  max-width: 500px;
  width: 90%;
}

.modal-btn {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  border: none;
  border-radius: 6px;
  padding: 12px 25px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.modal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.btn-red {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-green {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* Pricing Tool Enhancements */
#pricingCard .pricing-form {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.pricing-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.pricing-form-col {
  flex: 1;
  min-width: 250px;
}

.pricing-form-group {
  margin-bottom: 5px;
}

.pricing-form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--gray-text);
}

.pricing-form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 12px 15px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.pricing-form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.pricing-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border: none;
  color: white;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pricing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Vehicle Info Section */
.vehicle-info-header {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vehicle-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vehicle-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.vehicle-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.vehicle-detail i {
  color: var(--gold);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.pricing-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.pricing-card-header {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.pricing-card-title {
  margin: 0;
  color: var(--gold);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card-title i {
  font-size: 1rem;
}

.pricing-card-body {
  padding: 20px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.price-label {
  color: var(--gray-text);
  font-size: 0.95rem;
}

.price-value {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.price-value.positive {
  color: var(--success-color);
}

.price-value.negative {
  color: var(--error-color);
}

.price-highlight {
  background: rgba(255, 215, 0, 0.1);
  margin: 0 -20px -20px;
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.price-final {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Chart Container */
.chart-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.chart-title {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-title i {
  font-size: 1rem;
}

.bar-chart {
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 20px 0;
}

/* Market Insights */
.market-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.insight-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.insight-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-text);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.insight-title i {
  color: var(--gold);
}

.insight-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.insight-range {
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* Depreciation Alert */
.depreciation-alert {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(to right, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.1));
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.depreciation-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.depreciation-title {
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.depreciation-text {
  color: var(--gray-text);
  line-height: 1.5;
}

.depreciation-text strong {
  color: white;
}

/* Pricing Actions */
.pricing-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.back-to-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-form:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Error and Loader */
.pricing-error {
  display: none;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
  color: white;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-error i {
  color: #e74c3c;
  font-size: 1.1rem;
}

.pricing-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.pricing-loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 215, 0, 0.2);
  border-top: 5px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.pricing-loader-text {
  color: var(--gold);
  font-size: 1rem;
}

/* NEW: Custom Sparkle Effect for Gold Elements */
@keyframes sparkle {
  0%, 100% { 
    background-position: 0% 0%;
    opacity: 0.3;
  }
  50% { 
    background-position: 100% 100%;
    opacity: 1;
  }
}

.gold-sparkle {
  position: relative;
  overflow: hidden;
}

.gold-sparkle::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  right: -100%;
  bottom: -100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 1%, transparent 10%),
              radial-gradient(circle, rgba(255, 215, 0, 0.8) 1%, transparent 10%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  animation: sparkle 6s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.gold-sparkle:hover::after {
  opacity: 0.1;
}

/* NEW: Enhanced Form Focus Styles */
input:focus, select:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

/* NEW: Notification Dot for Beta Features */
.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background-color: #e74c3c;
  border-radius: 50%;
  border: 2px solid #000;
  animation: pulse 2s infinite;
}

/* NEW: Enhanced Tooltip Styling */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(10px);
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-gold);
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* NEW: Success Message Styling */
.success-message {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(46, 204, 113, 0.1));
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #fff;
}

.success-message i {
  color: var(--success-color);
  font-size: 1.2rem;
}

/* NEW: Document Card (for previous reports) */
.document-card {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.document-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.35);
}

.document-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #000;
  border-radius: 8px;
  margin-right: 15px;
}

.document-info {
  flex: 1;
  text-align: left;
}

.document-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: white;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.document-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.document-meta i {
  color: var(--gold);
  font-size: 0.9rem;
}

.document-actions {
  margin-left: 15px;
}

.document-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.document-btn:hover {
  background: var(--gold);
  color: #000;
}

/* NEW: Recent Reports Section */
.recent-reports-section {
  margin-top: 30px;
}

.recent-reports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.recent-reports-title {
  font-size: 1.1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-all-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: var(--gold);
  color: #000;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

/* NEW: Report Card */
.report-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.report-header {
  padding: 15px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.report-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.report-title i {
  color: var(--gold);
}

.report-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
}

.report-body {
  padding: 15px;
}

.report-info {
  margin-bottom: 15px;
}

.report-info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.report-info-label {
  color: var(--gray-text);
}

.report-info-value {
  color: white;
  font-weight: 500;
}

.report-actions {
  display: flex;
  gap: 10px;
}

.report-btn {
  flex: 1;
  padding: 8px 0;
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.report-btn:hover {
  background: var(--gold);
  color: #000;
}

.report-btn.primary {
  background: var(--gold);
  color: #000;
}

.report-btn.primary:hover {
  background: var(--dark-gold);
}

/* Additional Style Enhancements */
::selection {
  background: rgba(255, 215, 0, 0.3);
  color: white;
}

.info-text {
  line-height: 1.6;
  color: var(--gray-text);
  margin-bottom: 20px;
}

/* Add attractive scroll-to-top button that appears when scrolling down */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: var(--dark-gold);
}