/* Müşteri bekleme listesi kartı ("İlçene gelince haber verelim").
   Ana sayfa ve dükkân sayfası ortak kullanıyor; kod assets/bekleme.js.
   Tasarım Stitch'ten (proje 13058996392615068956), renkler sitenin teması.
   Kurallar .waitlist altında: ana sayfanın genel input/button/label
   stilleri buraya karışmasın. */
.waitlist { background: #fff; border: 1px solid #E7E5E4; border-radius: 16px; padding: 20px; color: #292524; }
.waitlist .wl-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.waitlist .wl-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #FFF3EF; color: #FC3A08; display: grid; place-items: center; }
.waitlist .wl-ic svg { width: 24px; height: 24px; fill: currentColor; }
.waitlist h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.waitlist .wl-head p { margin: 2px 0 0; color: #79716B; font-size: 13.5px; line-height: 1.45; }
.waitlist .wl-field { margin-bottom: 14px; }
.waitlist .wl-label { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 600; }
.waitlist select,
.waitlist input[type=tel] { display: block; width: 100%; height: 46px; margin: 0; padding: 0 14px; font: inherit; font-size: 16px; color: #292524; background-color: #fff; border: 1px solid #D6D3D1; border-radius: 12px; outline: none; box-shadow: none; }
.waitlist select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2379716B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; }
.waitlist select:invalid { color: #79716B; }
.waitlist select:focus,
.waitlist input[type=tel]:focus { border-color: #FC3A08; box-shadow: 0 0 0 3px rgba(252, 58, 8, .12); }
.waitlist .bad { border-color: #C62828; }
.waitlist .wl-consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 14px; color: #79716B; font-size: 12.5px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.waitlist .wl-consent input { flex: none; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #FC3A08; cursor: pointer; }
.waitlist .wl-consent a { color: #FC3A08; }
.waitlist .cf-turnstile { margin: 0 0 14px; }
.waitlist button { display: block; width: 100%; height: 48px; border: 0; border-radius: 12px; background: #FC3A08; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: none; animation: none; }
.waitlist button:hover { background: #D12C03; }
.waitlist button:disabled { opacity: .55; cursor: default; }
.waitlist .wl-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #FDECEA; color: #C62828; font-size: 13.5px; }
.waitlist .wl-error.on { display: block; }
.waitlist .wl-done { display: none; padding: 6px 0 2px; text-align: center; }
.waitlist .wl-done .ok { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: #E8F5E9; color: #2E7D32; display: grid; place-items: center; }
.waitlist .wl-done .ok svg { width: 28px; height: 28px; fill: currentColor; }
.waitlist .wl-done p { margin: 4px auto 0; max-width: 300px; color: #79716B; font-size: 13.5px; }
.waitlist.done form { display: none; }
.waitlist.done .wl-done { display: block; }

/* Masaüstü: form kartın içinde açık; pencere düğmeleri yok. */
.waitlist .wl-open,
.waitlist .wl-close,
.waitlist .wl-sheet-title { display: none; }
.waitlist.done .wl-head { display: none; }

/* Telefon: başvuru formu gibi, "Haber ver" ile alttan açılan tam ekran
   pencere. Geri tuşu ve ✕ kapatır (bekleme.js). */
@media (max-width: 959px) {
  body.wl-lock { overflow: hidden; }
  .waitlist .wl-head { margin-bottom: 14px; }
  .waitlist.done .wl-head { display: flex; }
  .waitlist .wl-open { display: block; }
  .waitlist .wl-sheet { position: fixed; inset: 0; z-index: 60; padding: 20px 16px 32px; background: #fff; overflow-y: auto; transform: translateY(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s; }
  .waitlist.open .wl-sheet { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .waitlist .wl-sheet > form,
  .waitlist .wl-sheet > .wl-done,
  .waitlist .wl-sheet > .wl-sheet-title { max-width: 528px; margin-left: auto; margin-right: auto; }
  .waitlist .wl-sheet-title { display: block; margin-top: 0; margin-bottom: 18px; padding-right: 48px; font-size: 19px; }
  .waitlist .wl-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: #F5F5F4; color: #292524; }
  .waitlist .wl-close:hover { background: #E7E5E4; }
  .waitlist .wl-close svg { width: 22px; height: 22px; fill: currentColor; }
  .waitlist.done .wl-done { padding-top: 40px; }
}
