/**
 * GÜZ TUR - Rezervasyon ve Araç Seçimi Stilleri (1. ve 2. Fotoğraf Tasarımı)
 */

.reservation-page-wrapper {
  background-color: #F8FAFC;
  min-height: calc(100vh - 120px);
  padding: 40px 0 60px 0;
}

/* ==========================================================================
   ADIM 1: ARAÇ SEÇİMİ (1. FOTOĞRAF)
   ========================================================================== */

/* Üst Dönüş Ekle Bandı */
.return-trip-banner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.return-trip-banner .return-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  display: block;
}

.return-trip-banner .return-text p {
  font-size: 13.5px;
  color: #64748B;
  margin: 2px 0 0 0;
}

.btn-return-action {
  background: #22C55E;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}

.btn-return-action:hover {
  background: #16A34A;
}

.btn-return-action.is-active {
  background: #0F172A;
}

/* Araç Kartları */
.vehicle-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.res-vehicle-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px 24px 16px 24px;
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 24px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* Sol Araç Görseli */
.card-left-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 160px;
  background: #F1F5F9;
}

.card-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.img-carousel-dots .dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
}

.img-carousel-dots .dot.active {
  background: #FFFFFF;
  width: 14px;
  border-radius: 4px;
}

/* Orta Araç Bilgileri */
.card-mid-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.veh-title-row .veh-name {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.veh-title-row .veh-sub {
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
}

.veh-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.veh-badge {
  background: #071E32;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.veh-free-services {
  margin-top: 6px;
}

.services-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 6px;
}

.free-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
}

.free-pill .x-mark {
  color: #64748B;
  font-size: 12px;
}

/* Sağ Fiyat Alanı */
.card-right-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.price-box-top .old-price {
  display: block;
  text-decoration: line-through;
  color: #64748B;
  font-size: 15px;
  font-weight: 600;
}

.price-box-top .cur-price {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.price-box-top .trip-tag {
  display: block;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
  margin-top: 2px;
}

.price-box-top .price-breakdown-sub {
  display: block;
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.4;
}

/* Alt Şerit: İndirim & Buton */
.card-bottom-strip {
  grid-column: 1 / -1;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.discount-pill-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #1E40AF;
}

.discount-pill-text .gear-icon {
  font-size: 18px;
  color: #2563EB;
}

.discount-pill-text strong {
  font-weight: 700;
}

.discount-pill-text .deadline {
  color: #64748B;
  font-size: 12px;
  margin-top: 2px;
}

.btn-create-booking {
  background: #22C55E;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-create-booking:hover {
  background: #16A34A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* ==========================================================================
   ADIM 2: İLETİŞİM, FATURA VE ÖDEME (2. FOTOĞRAF)
   ========================================================================== */
.booking-checkout-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* Sol Form Kolonu */
.form-card-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.card-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.card-section-subtitle {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 20px 0;
}

.form-fields-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group-item label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group-item label .required {
  color: #EF4444;
}

.res-input, .res-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  color: #0F172A;
  outline: none;
  background: #FFFFFF;
  transition: border-color 0.2s;
}

.res-input:focus, .res-select:focus {
  border-color: #22C55E;
}

.phone-input-combo {
  display: flex;
}

.phone-flag-box {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.phone-field {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.field-hint {
  display: block;
  font-size: 11.5px;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.3;
}

.btn-res-back {
  color: #64748B;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.btn-res-back:hover {
  color: #0F172A;
}

.btn-iyzico-pay {
  background: #22C55E;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-iyzico-pay:hover {
  background: #16A34A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.btn-iyzico-pay .pay-amount {
  background: rgba(0,0,0,0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 14px;
}

/* Sağ Özet Kartı */
.summary-card-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  position: sticky;
  top: 90px;
}

.summary-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px 0;
}

.summary-route-header {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.3;
}

.summary-vehicle-img {
  width: 100%;
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
  background: #F1F5F9;
  margin-bottom: 18px;
}

.summary-vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13.5px;
}

.meta-row .meta-label {
  color: #64748B;
}

.meta-row .meta-val {
  color: #0F172A;
  font-weight: 600;
  text-align: right;
}

.summary-location-box {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 6px;
}

.loc-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.loc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.loc-dot.pickup {
  background: #22C55E;
}

.loc-dot.dropoff {
  background: #EF4444;
}

.loc-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.loc-desc {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.3;
}

.summary-pricing-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-label-top {
  font-size: 12.5px;
  color: #64748B;
}

.pricing-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #334155;
}

.pricing-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed #CBD5E1;
  width: 100%;
}

.pricing-total-row .total-label-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-total-row .total-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
}

.pricing-total-row .total-kdv-pill {
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
}

.pricing-total-row .total-big {
  font-size: 24px;
  font-weight: 900;
  color: #16A34A;
  white-space: nowrap;
  line-height: 1.1;
  text-align: right;
}

/* Ultra VIP Araç Kartı Stilleri */
.res-vehicle-card.is-ultra {
  border: 2px solid #F59E0B;
  background: #FFFDF9;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12);
}

.ultra-vip-badge {
  background: linear-gradient(135deg, #FF6B16 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ultra-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ultra-feature-pill {
  font-size: 11.5px;
  font-weight: 600;
  background: #FEF3C7;
  color: #92400E;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #FDE68A;
}

/* Durum Kartları (Success / Failed) */
.res-status-card {
  max-width: 600px;
  margin: 40px auto;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.res-status-card .status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.res-status-card.is-success .status-icon {
  background: #DCFCE7;
  color: #16A34A;
}

.res-status-card.is-danger .status-icon {
  background: #FEE2E2;
  color: #DC2626;
}

.res-status-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.res-status-card p {
  color: #64748B;
  font-size: 14.5px;
  line-height: 1.5;
}

.ref-badge-box {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 20px auto;
  display: inline-block;
}

.ref-badge-box span {
  font-size: 12.5px;
  color: #64748B;
  display: block;
}

.ref-badge-box strong {
  font-size: 20px;
  color: #0F172A;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
  .res-vehicle-card {
    grid-template-columns: 1fr;
  }
  .card-left-img {
    height: 200px;
  }
  .card-right-price {
    text-align: left;
  }
  .booking-checkout-grid {
    grid-template-columns: 1fr;
  }
  .summary-card-box {
    position: static;
  }
}

/* ==========================================================================
   ÖDEME SEÇENEKLERİ (REZERVASYON YAP vs SATIN AL) & UETDS YOLCU KARTLARI
   ========================================================================== */
.payment-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.payment-method-card {
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #FFFFFF;
  display: block;
}

.payment-method-card:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.payment-method-card.selected {
  border-color: #22C55E;
  background: #F0FDF4;
}

.payment-method-card#cardPayIyzico.selected {
  border-color: #2355F6;
  background: #EFF6FF;
}

.pm-radio-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pm-radio-header input[type="radio"] {
  accent-color: #16A34A;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.pm-title-box {
  flex: 1;
}

.pm-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-desc {
  font-size: 12.5px;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.45;
}

.pm-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pm-badge.cash {
  background: #DCFCE7;
  color: #166534;
}

/* UETDS Yolcu Kartları */
.passenger-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.passenger-card:hover {
  border-color: #CBD5E1;
}

.passenger-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #E2E8F0;
}

.passenger-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uetds-pill {
  font-size: 11px;
  font-weight: 700;
  background: #DBEAFE;
  color: #1E40AF;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.btn-whatsapp-booking {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.2s;
  animation: waPulse 2s infinite;
}

.btn-whatsapp-booking:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
