/* Araç detay — tahsis/rezervasyon popup'ı */
#allocModal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
#allocModal.open { display: flex; }
#allocBackdrop { position: absolute; inset: 0; background: rgba(10, 10, 12, .65); backdrop-filter: blur(3px); }
.aht-alloc-box { position: relative; width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: allocIn .25s ease; }
@keyframes allocIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.aht-alloc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 32px; border-bottom: 1px solid var(--aht-border-strong); }
.aht-alloc-head h3 { margin: 0; font-size: 19px; font-weight: 700; color: #2f2f2f; }
.aht-alloc-head small { display: block; margin-top: 3px; color: #8a8b91; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.aht-alloc-close { border: 0; background: #f3f4f5; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #45464d; flex-shrink: 0;
  transition: background .15s, color .15s; }
.aht-alloc-close:hover { background: #111; color: #fff; }
.aht-alloc-body { padding: 28px 32px 32px; }
.aht-alloc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.aht-alloc-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .aht-alloc-grid { grid-template-columns: 1fr; } .aht-alloc-grid .full { grid-column: auto; } }
.aht-alloc-field label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  color: #45464d; margin-bottom: 6px; }
.aht-alloc-field input, .aht-alloc-field select, .aht-alloc-field textarea {
  width: 100%; background: var(--aht-sand); border: 1px solid var(--aht-border-strong); border-radius: 12px;
  padding: 12px 14px; font-size: 14.5px; color: #2f2f2f; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s; }
.aht-alloc-field input:focus, .aht-alloc-field select:focus, .aht-alloc-field textarea:focus {
  border-color: var(--aht-primary); background: #fff; box-shadow: 0 0 0 3px rgba(153,0,0,.18); }
.aht-alloc-field textarea { resize: vertical; min-height: 92px; }
.aht-alloc-submit { width: 100%; margin-top: 22px; background: var(--aht-primary); color: #ffffff; border: 0;
  padding: 16px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; transition: filter .15s, transform .15s; }
.aht-alloc-submit:hover { filter: brightness(1.06); }
.aht-alloc-submit:active { transform: scale(.985); }
.aht-alloc-submit:disabled { opacity: .6; cursor: wait; }
.aht-alloc-msg-ok, .aht-alloc-msg-err { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.aht-alloc-msg-ok { background: rgba(25,135,84,.08); color: #14683f; border: 1px solid rgba(25,135,84,.25); }
.aht-alloc-msg-err { background: rgba(220,53,69,.08); color: #a02834; border: 1px solid rgba(220,53,69,.25); }
.aht-dtpicker-overlay { z-index: 2200 !important; }

/* ---- Araç detay foto galeri (modern) ---- */
.aht-vd-gallery { width: 100%; }
.aht-vd-main { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: #f1ece1; box-shadow: 0 12px 36px rgba(11, 11, 11, .12); border: 1px solid rgba(11, 11, 11, .06); }
.aht-vd-main img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease, opacity .25s ease; }
.aht-vd-main:hover img { transform: scale(1.03); }
.aht-vd-thumbs { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 6px;
  scrollbar-width: thin; scroll-snap-type: x mandatory; }
.aht-vd-thumbs::-webkit-scrollbar { height: 6px; }
.aht-vd-thumbs::-webkit-scrollbar-thumb { background: rgba(11,11,11,.18); border-radius: 12px; }
.aht-vd-thumb { flex: 0 0 auto; width: 112px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: #f1ece1; scroll-snap-align: start;
  transition: border-color .18s ease, box-shadow .18s ease; }
.aht-vd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.aht-vd-thumb:hover { box-shadow: 0 6px 18px rgba(11,11,11,.15); }
.aht-vd-thumb:hover img { transform: scale(1.08); }
.aht-vd-thumb.active { border-color: var(--aht-primary); box-shadow: 0 4px 14px rgba(153,0,0,.3); }
@media (max-width: 640px) { .aht-vd-thumb { width: 88px; } .aht-vd-main { border-radius: 12px; } }

/* ---- Hizmet Noktası (TomSelect) — diğer form inputlarıyla aynı görünüm ---- */
.aht-alloc-field .ts-wrapper { width: 100%; }
.aht-alloc-field .ts-wrapper.single .ts-control,
.aht-alloc-field .ts-control {
  background: var(--aht-sand); border: 1px solid var(--aht-border-strong); border-radius: 12px;
  padding: 11px 14px; min-height: 48px; font-size: 14.5px; color: #2f2f2f;
  box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.aht-alloc-field .ts-wrapper.focus .ts-control {
  border-color: var(--aht-primary); background: #fff; box-shadow: 0 0 0 3px rgba(153,0,0,.18); }
.aht-alloc-field .ts-control input { font-size: 14.5px; color: #2f2f2f; }
.aht-alloc-field .ts-control input::placeholder { color: #9a8f78; }
.aht-alloc-field .ts-dropdown { border: 1px solid var(--aht-border-strong); border-radius: 12px; margin-top: 4px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12); overflow: hidden; }
.aht-alloc-field .ts-dropdown .option { padding: 10px 14px; font-size: 14px; color: #2f2f2f; }
.aht-alloc-field .ts-dropdown .option.active { background: #f3f4f5; color: #2f2f2f; }
.aht-alloc-field .ts-dropdown .ts-dropdown-content { max-height: 260px; }
