/* Reserve / dealer checkout (loaded by public/reserve.php) */

.reserve-page {
  min-height: 100vh;
  box-sizing: border-box;
}

.reserve-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px 48px;
}

.reserve-left {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.reserve-left h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #0f172a;
}

.reserve-right {
  position: sticky;
  top: 100px;
  align-self: start;
}

.summary-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.summary-box h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #0f172a;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 15px;
}

.summary-row.highlight {
  font-size: 18px;
  color: #1e3a8a;
  font-weight: 700;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.secure-box {
  margin-top: 15px;
  font-size: 14px;
  color: #16a34a;
  line-height: 1.55;
}

.reserve-left .group {
  margin: 14px 0;
}

.reserve-left label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.reserve-left input,
.reserve-left textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.reserve-left textarea {
  min-height: 90px;
  resize: vertical;
}

.payment-methods {
  margin-top: 15px;
}

.payment-option-wrap {
  margin-bottom: 10px;
}

.payment-option-wrap input[type="radio"] {
  display: none;
}

.payment-option-wrap label.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  margin: 0;
}

.payment-option-wrap label.payment-option:hover {
  border-color: #cbd5e1;
}

.payment-option-wrap input:checked + label.payment-option {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 1px rgba(30, 58, 138, 0.15);
}

.custom-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  margin-top: 2px;
}

.payment-option-wrap input:checked + label .custom-radio {
  border-color: #1e3a8a;
}

.payment-option-wrap input:checked + label .custom-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #1e3a8a;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
}

.payment-option strong {
  display: block;
  color: #0f172a;
}

.payment-option p {
  font-size: 13px;
  color: #666;
  margin: 4px 0 0;
}

.reserve-left .btn.btn-buy {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  background: #1e3a8a;
  color: #fff;
  transition: background 0.2s ease;
}

.reserve-left .btn.btn-buy:hover {
  background: #162d6b;
}

@media (max-width: 900px) {
  .reserve-container {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .reserve-right {
    position: static;
    order: -1;
  }
}
