/* =========================
   GRID
========================= */
.rental-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* =========================
   CARD
========================= */
.rental-car-card {
  background: #141414;
  border-radius: 16px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rental-car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

/* =========================
   IMAGE
========================= */
.rental-car-image {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.rental-car-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
}

/* =========================
   BADGE & PRICE
========================= */
.rental-car-price {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 20px;
  font-weight: 700;
  z-index: 2;
  line-height: 1.2;
}

.rental-car-price small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* =========================
   BODY
========================= */
.rental-car-body {
  padding: 18px;
}

.rental-car-body h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.rental-car-sub {
  color: #aaaaaa;
  font-size: 14px;
  margin: 6px 0 16px;
}

/* =========================
   SPECS
========================= */
.rental-car-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rental-car-specs .spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #e0e0e0;
  text-align: center;
}

.rental-car-specs img {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .rental-car-image {
    height: 200px;
  }
  .rental-car-body {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .rental-car-specs {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }
}

/* =========================
   MODAL
========================= */
.rcc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.rcc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.rcc-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  background: #141414;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  color: #fff;
  overflow: hidden;
  z-index: 2;
}

.rcc-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  opacity: 0.85;
}
.rcc-modal-close:hover {
  opacity: 1;
}

.rcc-modal-head {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rcc-modal-title {
  font-size: 18px;
  font-weight: 800;
}
.rcc-modal-sub {
  margin-top: 4px;
  font-size: 13px;
  color: #bdbdbd;
}

.rcc-modal-body {
  padding: 16px 18px 18px;
}

.rcc-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.rcc-grid2 label {
  display: block;
  font-size: 12px;
  color: #bdbdbd;
  margin-bottom: 6px;
}

.rcc-grid2 input,
.rcc-grid2 select {
  width: 100%;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.rcc-hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.rcc-quote {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eaeaea;
  font-size: 13px;
}

.rcc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.rcc-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.rcc-btn-primary {
  background: #22c55e;
  color: #0b2e13;
}
.rcc-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.rcc-msg {
  margin-top: 12px;
  font-size: 13px;
  color: #f0f0f0;
}

@media (max-width: 600px) {
  .rcc-grid2 {
    grid-template-columns: 1fr;
  }
}
