/* styles.css - FIXED VERSION */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  color: #2c3e50;
  line-height: 1.7;
}
.price-card {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 20px;
    width: 300px;
    background: #fff;

    display: flex;              /* 🔥 FIX */
    flex-direction: column;     /* 🔥 FIX */
    justify-content: space-between; /* 🔥 FIX */
    min-height: 420px;          /* 🔥 FIX */
}
.buy-btn {
    width: 100%;
    padding: 14px;
    background: #ff5722;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: auto;   /* 🔥 MOST IMPORTANT */
    display: block;
}

/* Header */
.header {
  background: white;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav a {
  color: #2c3e50;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover { color: #0b6; }

/* NAV BUTTON (only navbar button) */
.nav .btn {
  background: #0b6;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 1.5rem;
  transition: 0.3s;
}

.nav .btn:hover {
  background: #099157;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,182,102,0.3);
}

/* Container & Card */
.container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

/* Headings */
h1, h2, h3 {
  color: #0b6;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #0b6;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

/* Form */
.form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #34495e;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0b6;
  box-shadow: 0 0 0 3px rgba(0, 182, 102, 0.1);
}

input[readonly] {
  background: #f8f9fa;
  color: #e74c3c;
  font-weight: bold;
  cursor: not-allowed;
}

/* GLOBAL BUTTON FIX */
.btn {
  background: #0b6;
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  width: auto;          /* 🔥 FIXED */
  display: inline-block;/* 🔥 FIXED */
  margin-top: 1rem;
  transition: 0.3s;
}

.btn:hover {
  background: #099157;
  transform: translateY(-2px);
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
  background: white;
}

#dealerTable tr:nth-child(odd) {
  background-color: #fff9c4 !important;
}

#dealerTable tr:nth-child(even) {
  background-color: #ffffff !important;
}

#dealerTable tr:hover {
  background-color: #fff176 !important;
  transition: 0.2s;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  background: white;
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 3rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .header { flex-direction: column; padding: 1rem; gap: 1rem; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav a { margin: 0.5rem; }
  .card { padding: 1.5rem; }
}
.download-btn{
    background:linear-gradient(45deg,#ff5722,#ff9800);
    color:#fff;
    padding:16px 30px;
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    display:inline-block;
    box-shadow:0 8px 20px rgba(255,87,34,.35);
    transition:.3s;
}

.download-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(255,87,34,.5);
}