﻿/* Tahsis (saatlik kiralama) paket seçimi ve paket bilgisi — TAHSIS-20261029.
   Arama formundaki süre penceresi, sonuç listesi araç kartı ve yolcu/ödeme özetindeki tahsis notları. */

.tahsis-paket-hint {
  margin: 0 2px 8px;
  color: #7b8698;
  font-size: 12.5px;
  line-height: 1.4;
}

.tahsis-paket-list {
  display: grid;
  gap: 6px;
  max-height: min(60vh, 420px);
  overflow-y: auto;
}

.tahsis-paket-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #e3e7ee;
  border-radius: 10px;
  background: #fff;
  color: #17223a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.tahsis-paket-option:hover,
.tahsis-paket-option:focus-visible {
  border-color: #c9d1de;
  background: #fafbfd;
  outline: none;
}

.tahsis-paket-option.is-selected {
  border-color: #ff6a13;
  background: #fff7f1;
}

.tahsis-paket-option-name {
  font-size: 14px;
  font-weight: 700;
}

.tahsis-paket-option-km {
  color: #7b8698;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.tahsis-paket-option .bi-check-circle-fill {
  color: #ff6a13;
  font-size: 16px;
}

.tahsis-paket-option-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tahsis-paket-empty {
  margin: 0;
  padding: 14px 12px;
  border: 1px dashed #dfe4ec;
  border-radius: 10px;
  background: #fff;
  color: #7b8698;
  font-size: 13px;
  text-align: center;
}

/* Seçili paket düğmede: ad + küçük "80 km dahil". */
.tahsis-paket-km {
  margin-left: 6px;
  color: #7b8698;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

#hourlyDurationBtn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Paket seçilince iki satır: "4 saat" üstte, "80 km dahil" küçük altta (dar düğmede kesilmesin). */
#hourlyDurationBtn.tahsis-has-km {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding-top: 4px;
  padding-bottom: 4px;
  line-height: 1.15;
  text-align: left;
}

#hourlyDurationBtn .tahsis-paket-secim-ad,
#hourlyDurationBtn.tahsis-has-km .tahsis-paket-km {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#hourlyDurationBtn.tahsis-has-km .tahsis-paket-km {
  margin-left: 0;
  font-size: 11px;
}

/* Araç kartı ve özet satırlarındaki tahsis bilgisi. */
.tahsis-kart-bilgi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 6px;
  color: #17223a;
  font-size: 13px;
  font-weight: 600;
}

.tahsis-kart-bilgi .bi {
  color: #4a68c7;
}

.tahsis-asim-notu {
  display: block;
  margin-top: 4px;
  color: #7b8698;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.tahsis-kart-bilgi .tahsis-asim-notu {
  flex-basis: 100%;
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .tahsis-paket-option {
    min-height: 44px;
    padding: 8px 10px;
  }

  .tahsis-paket-option-name {
    font-size: 13.5px;
  }
}
