/* Price List Page Styles */

.price-list-page {
  min-height: 100vh;
  background: #f5f7fa;
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 3rem 1rem;
  color: white;
}

.promo-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.promo-left {
  text-align: center;
}

.promo-badge {
  display: inline-block;
  background: #eb0a1e;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.promo-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
}

.promo-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.promo-cars {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.promo-cars img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.promo-cta {
  display: inline-block;
  background: #eb0a1e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.promo-cta:hover {
  background: #c00818;
  transform: translateY(-2px);
}

.promo-right {
  display: flex;
  justify-content: center;
}

.special-rate-box {
  background: #0f3460;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 350px;
  width: 100%;
}

.special-rate-box h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffd700;
}

.rate-info {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.rate-label, .dp-label {
  font-size: 0.9rem;
  color: #b0b0b0;
  margin-bottom: 0.5rem;
}

.rate-value, .dp-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.3rem;
}

.rate-duration {
  font-size: 0.85rem;
  color: #e0e0e0;
}

.dp-info {
  margin-bottom: 1.5rem;
}

.promo-note {
  font-size: 0.75rem;
  color: #b0b0b0;
  line-height: 1.4;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1rem;
  color: #666;
}

/* Search Box */
.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.search-box {
  position: relative;
  width: 90%;
  max-width: 600px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.search-box input:focus {
  outline: none;
  border-color: #eb0a1e;
  box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.1);
}

.search-box input::placeholder {
  color: #999;
}

.search-result-count {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  pointer-events: none;
}

/* Price Table with Scroll */
.price-table-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.price-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 550px;
  width: 90%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background-color: white;
  color: black;
}

.price-table thead {
  background: #eb0a1e;
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.price-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table th:last-child {
  text-align: right;
}

.price-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.price-table tbody tr:hover {
  background-color: #f9fafb;
}

.price-table tbody tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 0.9rem 1.5rem;
}

.product-name {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.product-price {
  color: #eb0a1e;
  font-weight: 600;
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.price-note {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #eb0a1e;
}

.price-note strong {
  color: #1a1a1a;
  font-size: 1.1rem;
}

.price-note ul {
  margin: 1rem 0 0 1.5rem;
  color: #666;
}

.price-note li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .promo-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .promo-title {
    font-size: 1.8rem;
  }

  .promo-subtitle {
    font-size: 1rem;
  }

  .promo-cars img {
    width: 100px;
    height: 70px;
  }

  .promo-cta {
    font-size: 0.85rem;
    padding: 0.8rem 1.5rem;
  }

  .special-rate-box {
    max-width: 100%;
  }

  .page-header h2 {
    font-size: 1.5rem;
  }

  .search-box {
    width: 95%;
  }

  .search-box input {
    padding: 0.8rem 0.8rem 0.8rem 2.8rem;
    font-size: 0.9rem;
  }

  .search-icon {
    left: 0.8rem;
    width: 18px;
    height: 18px;
  }

  .search-result-count {
    right: 0.8rem;
    font-size: 0.8rem;
  }

  .price-table-wrapper {
    width: 95%;
    max-height: 450px;
  }

  .price-table th,
  .price-table td {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .promo-banner {
    padding: 2rem 0.5rem;
  }

  .promo-title {
    font-size: 1.5rem;
  }

  .promo-cars {
    flex-wrap: wrap;
  }

  .promo-cars img {
    width: 80px;
    height: 60px;
  }

  .page-header h2 {
    font-size: 1.3rem;
  }

  .price-table-wrapper {
    width: 100%;
    max-height: 400px;
  }

  .price-table th,
  .price-table td {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .price-note {
    padding: 1rem;
  }

  .price-note ul {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
}
