/* ============================================================
   Necalsin — SHARED UI COMPONENTS
   Reusable atoms used by both the business and customer apps:
   screen header, auth layout, forms, buttons, OTP, consent,
   agreement modal, toast keyframe.
   Loaded after app.css, before each app's own screens.css.
   ============================================================ */

/* Toast entrance (used by App.showToast in common.js) */
@keyframes wa-in { to { opacity: 1; transform: translateY(0); } }
/* Toast kendi animasyonunu kullanır: wa-in'in transform'u konumlandırmayı
   eziyordu (bkz. App.showToast). */
@keyframes nc-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Auth screen shell ── */
.screen-auth { display: flex; flex-direction: column; background: var(--ground); overflow-y: auto; }

/* ── Screen header (back + title) ── */
.screen-header { display: flex; align-items: center; padding: 12px 8px; gap: 4px; position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid transparent; }
.btn-back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); color: var(--text); transition: background 160ms ease; flex-shrink: 0; }
.btn-back:hover  { background: var(--surface); }
.btn-back:active { background: var(--surface-raised); }
.screen-title { flex: 1; text-align: center; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.screen-header-right { width: 44px; flex-shrink: 0; }

/* ── Auth body ── */
.auth-body { flex: 1; padding: 20px 28px 40px; display: flex; flex-direction: column; }

/* ── Social buttons ── */
.auth-social { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.btn-social { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; font-size: var(--text-sm); font-weight: 600; color: var(--text); transition: background 150ms ease, border-color 150ms ease; }
.btn-social:hover  { background: var(--surface-raised); border-color: rgba(255,255,255,.12); }
.btn-social:active { background: var(--surface-high); }
.btn-social svg { flex-shrink: 0; }

/* ── Divider ── */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* ── Form ── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.form-label { font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); padding-left: 2px; }
.form-input-wrap { position: relative; }
.form-input { width: 100%; height: 52px; padding: 0 16px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; font-size: var(--text-base); font-weight: 400; color: var(--text); transition: border-color 180ms ease, box-shadow 180ms ease; -webkit-appearance: none; }
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); outline: none; }
.form-input.is-error { border-color: #ff4455; box-shadow: 0 0 0 3px rgba(255, 68, 85, 0.1); }
.form-input.has-prefix { padding-left: 52px; }
.form-input.has-toggle { padding-right: 52px; }
.input-prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: var(--text-base); font-weight: 500; color: var(--text-secondary); pointer-events: none; user-select: none; }
.input-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); border-radius: var(--radius-full); transition: color 150ms ease; }
.input-toggle:hover  { color: var(--text-secondary); }
.input-toggle:active { color: var(--text); }
.form-error-msg { font-size: var(--text-xs); color: #ff4455; padding-left: 2px; display: none; }

/* ── Tarih / saat alanları ──
   Sayfalar bir mobil uygulamanın WebView'ında açılacağı için tarih ve saat seçimi
   İŞLETİM SİSTEMİNİN kendi seçicisiyle yapılır (input type=date/time). Aşağıdaki
   kurallar bu yerel alanların koyu temada doğru görünmesini sağlar:
   -webkit-appearance:none iOS'ta değeri dikey ortalamıyor ve takvim ikonu koyu
   zeminde siyah kaldığı için görünmez oluyordu. */
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {
  color-scheme: dark;                 /* yerel seçici paneli de koyu açılsın */
  -webkit-appearance: none;
  appearance: none;
  /* yükseklik alanın kendi sınıfından gelir (.form-input 52px, .rep-date 44px);
     flex + center, iOS'ta değerin dikeyde ortalanmasını sağlar */
  display: flex;
  align-items: center;
  cursor: pointer;
  /* takvim/saat ikonu sağ kenara sabitlenir (aşağıda); metin altına girmesin */
  position: relative;
  padding-right: 40px;
}
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value,
input[type="datetime-local"]::-webkit-date-and-time-value {
  text-align: left;                   /* iOS varsayılanı sağa yaslar */
}
input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit,
input[type="datetime-local"]::-webkit-datetime-edit { color: inherit; }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  /* color-scheme:dark ikonu zaten açık renge çeviriyor — ayrıca invert edilmemeli */
  opacity: 0.6;
  cursor: pointer;
  padding: 6px;
  margin: 0;
  /* İkon kutunun SAĞ KENARINA sabit. Eskiden margin-left:auto ile sağa
     itiliyordu ama Chrome tarih alanının iç düzeni flex olmadığı için ikon
     tarihin hemen yanında kalıyordu. */
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover { opacity: 0.9; }
.form-group.has-error .form-error-msg { display: block; }
.form-group.has-error .form-input     { border-color: #ff4455; box-shadow: 0 0 0 3px rgba(255,68,85,.1); }

/* ── Auth footer link ── */
.auth-footer { margin-top: auto; padding-top: 28px; text-align: center; font-size: var(--text-sm); color: var(--text-secondary); }
.auth-footer a, .auth-footer button { color: var(--accent); font-weight: 600; background: none; border: none; cursor: pointer; font-size: inherit; }

/* ── Two-column form row ── */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Forgot password link ── */
.btn-forgot { align-self: flex-end; font-size: var(--text-sm); color: var(--text-secondary); background: none; border: none; cursor: pointer; padding: 4px 0 16px; transition: color 150ms ease; }
.btn-forgot:hover { color: var(--accent); }

/* ── OTP ── */
.otp-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-subtle); display: flex; align-items: center; justify-content: center; margin: 8px auto 24px; border: 1.5px solid var(--border-accent); }
.otp-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.025em; text-align: center; margin-bottom: 10px; }
.otp-sub { font-size: var(--text-sm); color: var(--text-secondary); text-align: center; line-height: 1.6; margin-bottom: 36px; }
.otp-sub strong { color: var(--text); font-weight: 600; }
.otp-grid { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; }
.otp-box { width: 46px; height: 56px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; font-size: 1.375rem; font-weight: 700; color: var(--text); text-align: center; caret-color: var(--accent); transition: border-color 180ms ease, box-shadow 180ms ease; -webkit-appearance: none; }
.otp-box:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); outline: none; }
.otp-box.filled { border-color: var(--accent); }
.otp-box::-webkit-inner-spin-button, .otp-box::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.otp-box[type=number] { -moz-appearance: textfield; }
.otp-resend-wrap { text-align: center; margin-top: 20px; }
.otp-resend { font-size: var(--text-sm); color: var(--text-secondary); background: none; border: none; cursor: pointer; transition: color 180ms ease; }
.otp-resend:not(:disabled):hover { color: var(--accent); }
.otp-resend:disabled { opacity: 0.5; cursor: default; }

/* ── Onay dialogu (telefon değişikliği vb.) — business ve customer ortak kullanır ── */
.pd-confirm-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 95;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.pd-confirm-overlay.open { opacity: 1; pointer-events: auto; }
.pd-confirm-card {
  width: 100%;
  background: #161616;
  border-radius: 22px 22px 0 0;
  border-top: 1px solid var(--border);
  padding: 24px 20px 32px;
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.25,0.46,0.45,0.94);
}
.pd-confirm-overlay.open .pd-confirm-card { transform: translateY(0); }
.pd-confirm-msg {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}
.pd-confirm-btns { display:flex; gap:10px; }
.pd-confirm-cancel {
  flex: 1; height: 46px; border-radius: 13px;
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer;
}
.pd-confirm-ok {
  flex: 1; height: 46px; border-radius: 13px;
  background: var(--accent); border: none;
  color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,82,0,0.3);
}

/* ── Consent (KVKK + Üyelik Sözleşmesi) ── */
.auth-consent { margin: 4px 0; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; }
.consent-cb { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.consent-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border); background: var(--surface); flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: background 150ms ease, border-color 150ms ease; }
.consent-cb:checked + .consent-box { background: var(--accent); border-color: var(--accent); }
.consent-cb:checked + .consent-box::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(0,-1px); }
.consent-text { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.consent-link { background: none; border: none; padding: 0; margin: 0; color: var(--accent); font-weight: 600; font-size: 12.5px; font-family: inherit; cursor: pointer; text-decoration: underline; }
.consent-error { display: none; font-size: 11px; color: #ff4455; padding-left: 2px; margin-top: 2px; }
.auth-consent.has-error .consent-error { display: block; }
.auth-consent.has-error .consent-box { border-color: #ff4455; }

/* ── Agreement bottom sheet ── */
.agr-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.72); z-index: 120; display: flex; align-items: flex-end; opacity: 0; transition: opacity 300ms ease; }
.agr-overlay.open { opacity: 1; }
.agr-sheet { width: 100%; background: #161616; border-radius: 24px 24px 0 0; border-top: 1px solid var(--border); padding: 10px 22px 26px; transform: translateY(100%); transition: transform 320ms cubic-bezier(0.25,0.46,0.45,0.94); max-height: 84%; display: flex; flex-direction: column; }
.agr-overlay.open .agr-sheet { transform: translateY(0); }
.agr-handle { width: 40px; height: 4px; border-radius: 999px; background: var(--surface-high); margin: 0 auto 16px; flex-shrink: 0; }
.agr-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 14px; flex-shrink: 0; }
.agr-content { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 16px; }
.agr-content::-webkit-scrollbar { display: none; }
.agr-content p { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 13px; }
.agr-content p:last-child { margin-bottom: 0; }
.agr-actions { display: flex; gap: 10px; flex-shrink: 0; }
.agr-close { flex: 1; height: 48px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--border); color: var(--text); font-size: 14px; font-weight: 600; font-family: var(--font-display); cursor: pointer; }
.agr-close:active { background: var(--surface-raised); }
.agr-accept { flex: 1.4; height: 48px; border-radius: 14px; background: var(--accent); border: none; color: #fff; font-size: 14px; font-weight: 700; font-family: var(--font-display); cursor: pointer; box-shadow: 0 4px 16px rgba(255,82,0,0.35); }
.agr-accept:active { opacity: 0.9; }

/* ── Skeleton loading + lazy images ── */
@keyframes nc-shimmer { 100% { transform: translateX(100%); } }
.skel, .lz:not(.lz-on) { position: relative; overflow: hidden; background: var(--surface-high); }
.skel::after, .lz:not(.lz-on)::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  animation: nc-shimmer 1.3s infinite;
}
.lz { background-size: cover; background-position: center; }
.lz.lz-on { animation: nc-fade 0.45s ease; }
@keyframes nc-fade { from { opacity: 0.35; } to { opacity: 1; } }
img.lz-img { opacity: 0; transition: opacity 0.45s ease; }
img.lz-img.lz-on { opacity: 1; }

.skel-list { padding: 4px 0; }
.skel-row { display: flex; align-items: center; gap: 12px; padding: 11px 6px; }
.skel-row + .skel-row { border-top: 1px solid var(--border); }
.skel-thumb { width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0; }
.skel-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skel-line { height: 11px; border-radius: 6px; }
.skel-w70 { width: 70%; }
.skel-w40 { width: 40%; }

/* ── Video pop-up (YouTube) ── */
.vid-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.85); z-index:140; display:flex; align-items:center; justify-content:center; padding:16px; opacity:0; transition:opacity 0.28s ease; }
.vid-overlay.open { opacity:1; }
.vid-box { width:100%; max-width:520px; position:relative; }
.vid-close { position:absolute; top:-42px; right:0; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.16); border:none; color:#fff; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.vid-frame { width:100%; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:#000; }
.vid-frame iframe { width:100%; height:100%; border:0; display:block; }

/* ── Musician/group profile (shared) ── */
.mz-cover { width:100%; height:110px; border-radius:14px; border:1px solid var(--border); position:relative; display:flex; align-items:flex-end; justify-content:flex-end; padding:10px; background-size:cover; background-position:center; }
.mz-pp { width:64px; height:64px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:26px; border:1px solid var(--border); background-size:cover; background-position:center; }
.mz-prof-id { display:flex; align-items:center; gap:14px; margin:-30px 0 14px 4px; position:relative; }
.mz-prof-id .mz-pp { box-shadow:0 4px 14px rgba(0,0,0,0.4); }
.mz-prof-name { font-family:var(--font-display); font-size:18px; font-weight:800; color:var(--text); }
.mz-prof-genre { font-size:13px; color:var(--accent); margin-top:2px; }
.mz-socials { display:flex; gap:10px; margin:0 0 14px 4px; }
.mz-social { width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:var(--surface); border:1px solid var(--border); color:var(--text); transition:background 0.15s ease, border-color 0.15s ease; }
.mz-social:active { background:var(--surface-raised); }
.mz-bio { font-size:13px; line-height:1.6; color:var(--text-secondary); margin:0 4px 16px; }
.mz-prow { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 0; border-bottom:1px solid var(--border); }
.mz-prow-l { font-size:13px; color:var(--text-secondary); flex-shrink:0; }
.mz-prow-v { font-size:13.5px; font-weight:600; color:var(--text); text-align:right; }
.mz-vid-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.mz-vid-thumb { position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; background-color:var(--surface-high); }
.mz-vid-play { width:40px; height:40px; border-radius:50%; background:rgba(0,0,0,0.55); backdrop-filter:blur(4px); border:1px solid rgba(255,255,255,0.3); display:flex; align-items:center; justify-content:center; padding-left:2px; }
.pf-section-lbl { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); margin-bottom:12px; }

/* Public profil (customer & business — birebir aynı) */
.screen-pf { display:flex; flex-direction:column; overflow:hidden; position:relative; }
.pf-header { flex-shrink:0; height:54px; display:flex; align-items:center; justify-content:space-between; padding:0 12px; border-bottom:1px solid var(--border); }
.pf-back { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:none; border:none; color:var(--text); cursor:pointer; flex-shrink:0; }
.pf-back:active { background:var(--surface-raised); }
.pf-title { flex:1; text-align:center; font-family:var(--font-display); font-size:17px; font-weight:700; color:var(--text); }
.pf-scroll { flex:1; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.pf-scroll::-webkit-scrollbar { display:none; }
.pf-identity { display:flex; align-items:center; gap:14px; padding:20px 18px 16px; }
.pf-pp { width:60px; height:60px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:22px; font-weight:800; border:1px solid var(--border-accent); }
.pf-pp.lg { width:84px; height:84px; font-size:30px; }
.pf-id-info { min-width:0; }
.pf-id-name { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--text); }
.pf-id-sub { font-size:13px; color:var(--text-secondary); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pf-panel { padding:16px; }
.pf-li { display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--border); border-radius:13px; padding:12px 13px; margin-bottom:10px; }
.pf-li-ic { width:36px; height:36px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:var(--surface-high); color:var(--text-secondary); }
.pf-li-text { flex:1; min-width:0; }
.pf-li-title { display:block; font-size:13.5px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pf-li-sub { display:block; font-size:11.5px; color:var(--text-secondary); margin-top:2px; }
.pf-li-tag { font-size:10px; font-weight:700; color:var(--accent); background:var(--accent-subtle); border-radius:7px; padding:4px 8px; flex-shrink:0; max-width:120px; text-align:center; line-height:1.2; }
.pf-empty { text-align:center; padding:28px 16px; color:var(--text-muted); font-size:13px; }

/* Destek formu (her iki app) */
.sup-intro { font-size:12.5px; line-height:1.55; color:var(--text-secondary); background:var(--surface); border:1px solid var(--border); border-radius:13px; padding:13px 14px; margin-bottom:18px; }
.sup-textarea { width:100%; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px 14px; color:var(--text); font-size:14px; font-family:inherit; line-height:1.5; resize:vertical; outline:none; }
.sup-textarea:focus { border-color:var(--accent); }
.sup-textarea::placeholder { color:var(--text-muted); }
.sup-count { display:block; text-align:right; font-size:11px; color:var(--text-muted); margin-top:5px; }
.sup-check { display:flex; align-items:flex-start; gap:11px; margin-top:18px; cursor:pointer; }
.sup-check input { width:20px; height:20px; flex-shrink:0; accent-color:var(--accent); margin-top:1px; }
.sup-check span { font-size:13px; color:var(--text-secondary); line-height:1.45; }

/* Oyunu paylaş pop-up + hazır post */
.sh-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.78); z-index:135; display:flex; align-items:flex-end; opacity:0; transition:opacity 280ms ease; }
.sh-overlay.open { opacity:1; }
.sh-sheet { width:100%; max-height:94%; overflow-y:auto; scrollbar-width:none; background:#161616; border-radius:24px 24px 0 0; border-top:1px solid var(--border); padding:10px 18px 24px; transform:translateY(100%); transition:transform 320ms cubic-bezier(0.25,0.46,0.45,0.94); }
.sh-sheet::-webkit-scrollbar { display:none; }
.sh-overlay.open .sh-sheet { transform:translateY(0); }
.sh-title { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--text); margin-bottom:14px; }
/* generated JPG preview */
.sh-preview { display:flex; align-items:center; justify-content:center; min-height:110px; border-radius:18px; overflow:hidden; background:var(--surface);  }
.sh-prep { font-size:12.5px; color:var(--text-muted); padding:40px 0; }
.sh-img { border: 1px solid var(--border); display:block; width:auto; height:auto; max-width:100%; max-height:44vh; max-height:44dvh; margin:0 auto; border-radius:14px; }
/* share options */
.sh-sub { font-size:12.5px; color:var(--text-secondary); text-align:center; margin:16px 0 12px; }
.sh-options { display:flex; gap:8px; justify-content:space-between; }
.sh-opt { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; background:none; border:none; cursor:pointer; padding:0; }
.sh-opt-ic { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; }
.sh-opt-ic.net-instagram { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sh-opt-ic.net-whatsapp { background:#25D366; }
.sh-opt-ic.net-x { background:#000; border:1px solid var(--border); }
.sh-opt-ic.net-facebook { background:#1877F2; }
.sh-opt-ic.net-download { background:var(--surface-high); color:var(--text); }
.sh-opt:active .sh-opt-ic { transform:scale(0.92); }
.sh-opt-ic { transition:transform 0.12s ease; }
.sh-opt-lbl { font-size:10.5px; color:var(--text-secondary); }
.sh-skip { width:100%; margin-top:18px; height:46px; border-radius:13px; background:var(--surface); border:1px solid var(--border); color:var(--text-secondary); font-size:14px; font-weight:600; cursor:pointer; }
.sh-skip:active { background:var(--surface-high); }

/* Kalıcı alt menü çubuğu (oklarla kardeş alt menüler) */
.subnav-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.subnav-arrow { width:44px; height:44px; flex-shrink:0; border-radius:12px; background:var(--surface); border:1px solid var(--border); color:var(--text); display:flex; align-items:center; justify-content:center; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.subnav-arrow:active { background:var(--surface-high); }
.subnav-label { flex:1; text-align:center; font-family:var(--font-display); font-size:15px; font-weight:700; color:var(--accent); }

.mz-photo-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.mz-photo { width:100%; aspect-ratio:4/3; border-radius:12px; overflow:hidden; border:1px solid var(--border); background-color:var(--surface-high); background-size:cover; background-position:center; cursor:pointer; padding:0; -webkit-tap-highlight-color:transparent; }
.mz-photo:active { opacity:0.9; }

/* QR scanner overlay (shared) */
.qr-scan { position:absolute; inset:0; z-index:130; background:#000; opacity:0; transition:opacity 280ms ease; overflow:hidden; }
.qr-scan.open { opacity:1; }
.qr-scan-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.qr-scan.no-cam .qr-scan-video { display:none; }
.qr-scan-fallback { position:absolute; inset:0; display:none; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:var(--text-secondary); }
.qr-scan.no-cam .qr-scan-fallback { display:flex; }
.qr-scan-fallback p { font-size:13px; }
.qr-scan-header { position:absolute; top:0; left:0; right:0; z-index:3; display:flex; align-items:center; justify-content:space-between; padding:14px 14px; background:linear-gradient(to bottom, rgba(0,0,0,0.55), transparent); }
.qr-scan-close { width:40px; height:40px; border-radius:50%; background:rgba(0,0,0,0.45); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,0.16); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; }
.qr-scan-close:active { background:rgba(0,0,0,0.7); }
.qr-scan-title { color:#fff; font-family:var(--font-display); font-size:16px; font-weight:700; text-shadow:0 1px 6px rgba(0,0,0,0.5); }
.qr-scan-center { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; }
.qr-scan-window { width:240px; height:240px; max-width:68vw; max-height:68vw; border-radius:26px; position:relative; box-shadow:0 0 0 9999px rgba(0,0,0,0.62); }
.qr-c { position:absolute; width:30px; height:30px; border:3px solid var(--accent); }
.qr-tl { top:-2px; left:-2px;  border-right:none; border-bottom:none; border-radius:26px 0 0 0; }
.qr-tr { top:-2px; right:-2px; border-left:none;  border-bottom:none; border-radius:0 26px 0 0; }
.qr-bl { bottom:-2px; left:-2px;  border-right:none; border-top:none; border-radius:0 0 0 26px; }
.qr-br { bottom:-2px; right:-2px; border-left:none;  border-top:none; border-radius:0 0 26px 0; }
.qr-scan-line { position:absolute; left:10px; right:10px; top:12px; height:2px; border-radius:2px; background:linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow:0 0 14px 1px var(--accent); animation:qr-scan-move 2.4s cubic-bezier(0.45,0,0.55,1) infinite; }
@keyframes qr-scan-move { 0% { top:12px; } 50% { top:calc(100% - 14px); } 100% { top:12px; } }
.qr-scan-hint { color:#fff; font-size:13px; font-weight:500; text-align:center; padding:0 32px; text-shadow:0 1px 8px rgba(0,0,0,0.7); }
.qr-scan-foot { position:absolute; left:0; right:0; bottom:0; z-index:3; padding:18px 20px 26px; display:flex; align-items:center; gap:10px; background:linear-gradient(to top, rgba(0,0,0,0.55), transparent); }
/* Girdi ile düğme yan yana: ikisi de aynı yükseklikte olsun (52px) */
.qr-scan-foot .form-input { margin-bottom:0; }
.qr-scan-demo { height:52px; flex-shrink:0; padding:0 26px; border-radius:13px; border:none; background:var(--accent); color:#fff; font-size:14px; font-weight:700; font-family:var(--font-display); cursor:pointer; box-shadow:0 4px 16px rgba(255,82,0,0.4); }
.qr-scan-demo:active { opacity:0.9; }

/* Screen activation sheet (business venue screens) */
.scr-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.72); z-index:125; display:flex; align-items:flex-end; opacity:0; transition:opacity 300ms ease; }
.scr-overlay.open { opacity:1; }
.scr-sheet { width:100%; background:#161616; border-radius:24px 24px 0 0; border-top:1px solid var(--border); padding:10px 20px 26px; transform:translateY(100%); transition:transform 320ms cubic-bezier(0.25,0.46,0.45,0.94); }
.scr-overlay.open .scr-sheet { transform:translateY(0); }
.scr-opt { width:100%; display:flex; align-items:center; justify-content:center; gap:9px; height:52px; border-radius:14px; background:var(--accent); border:none; color:#fff; font-size:15px; font-weight:700; font-family:var(--font-display); cursor:pointer; }
.scr-opt:active { filter:brightness(0.92); }
.scr-or { text-align:center; font-size:12px; color:var(--text-muted); margin:14px 0; position:relative; }
.scr-code-row { display:flex; gap:10px; }
.scr-code-row .form-input { flex:1; }
.scr-connect { flex-shrink:0; padding:0 18px; height:52px; border-radius:14px; background:var(--surface); border:1.5px solid var(--accent); color:var(--accent); font-size:14px; font-weight:700; font-family:var(--font-display); cursor:pointer; }
.scr-connect:active { background:var(--surface-high); }

/* Image lightbox */
.img-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.9); z-index:140; display:flex; align-items:center; justify-content:center; padding:24px 16px; opacity:0; transition:opacity 0.26s ease; }
.img-overlay.open { opacity:1; }
.img-box { max-width:100%; max-height:100%; display:flex; align-items:center; justify-content:center; transform:scale(0.94); transition:transform 0.28s cubic-bezier(0.25,0.46,0.45,0.94); }
.img-overlay.open .img-box { transform:scale(1); }
.img-box img { max-width:100%; max-height:80vh; border-radius:14px; object-fit:contain; }
.img-close { position:absolute; top:16px; right:16px; width:38px; height:38px; border-radius:50%; background:rgba(0,0,0,0.55); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,0.18); color:#fff; font-size:17px; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:2; }
/* Galeri (App.imageGallery): resimler yan yana bir şeritte, kaydırılarak geçilir */
.img-gallery { display:block; padding:0; }
.img-gallery .img-viewport { position:absolute; inset:0; overflow:hidden; touch-action:pan-y; }
.img-track { display:flex; height:100%; transition:transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94); }
.img-track.dragging { transition:none; }
.img-slide { flex:0 0 100%; height:100%; display:flex; align-items:center; justify-content:center; padding:64px 16px; box-sizing:border-box; }
.img-slide img { max-width:100%; max-height:100%; border-radius:14px; object-fit:contain; user-select:none; -webkit-user-select:none; -webkit-user-drag:none; }
.img-nav { position:absolute; top:50%; z-index:2; width:42px; height:42px; margin-top:-21px; border-radius:50%; background:rgba(0,0,0,0.5); border:1px solid rgba(255,255,255,0.18); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.img-nav.prev { left:10px; }
.img-nav.next { right:10px; }
.img-nav:disabled { opacity:0.25; cursor:default; }
.img-count { position:absolute; top:22px; left:50%; transform:translateX(-50%); z-index:2; padding:4px 12px; border-radius:999px; background:rgba(0,0,0,0.5); color:#fff; font-size:13px; font-weight:700; }
.img-dots { position:absolute; bottom:22px; left:0; right:0; z-index:2; display:flex; justify-content:center; gap:6px; pointer-events:none; }
.img-dots i { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.35); }
.img-dots i.on { background:#fff; }

/* ── Sahne Takvimi popup ── */
.sch-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.72); z-index:120; display:flex; align-items:flex-end; opacity:0; transition:opacity 0.3s ease; }
.sch-overlay.open { opacity:1; }
.sch-sheet { width:100%; background:#161616; border-radius:24px 24px 0 0; border-top:1px solid var(--border); padding:10px 22px 26px; transform:translateY(100%); transition:transform 0.34s cubic-bezier(0.25,0.46,0.45,0.94); }
.sch-overlay.open .sch-sheet { transform:translateY(0); }
.sch-handle { width:40px; height:4px; border-radius:999px; background:var(--surface-high); margin:0 auto 16px; }
.sch-title { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--text); margin-bottom:16px; }
.sch-range { display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:14px; margin-bottom:18px; }
.sch-range-col { flex:1; display:flex; flex-direction:column; gap:4px; }
.sch-lbl { font-size:11px; color:var(--text-secondary); }
.sch-val { font-family:var(--font-display); font-size:14px; font-weight:700; color:var(--text); }
.sch-arrow { color:var(--accent); font-size:18px; flex-shrink:0; }
.sch-sec { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); margin-bottom:10px; }
.sch-days { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:18px; }
.sch-day { width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; font-family:var(--font-display); background:var(--surface); border:1px solid var(--border); color:var(--text-muted); }
.sch-day.on { background:var(--accent); border-color:var(--accent); color:#fff; }
.sch-time { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-size:16px; font-weight:700; color:var(--text); background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:11px 16px; margin-bottom:16px; }
.sch-time svg { color:var(--accent); }
.sch-note { font-size:12px; line-height:1.5; color:var(--text-secondary); margin-bottom:18px; }
.sch-close { width:100%; height:48px; border-radius:14px; border:1.5px solid var(--border); background:var(--surface); color:var(--text); font-size:14px; font-weight:600; font-family:var(--font-display); cursor:pointer; }
.sch-close:active { background:var(--surface-raised); }

/* ── Request cards (band-requests / song-suggestions / restoran istekleri) ── */
.band-filter { flex-shrink:0; display:flex; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border); overflow-x:auto; scrollbar-width:none; }
.band-filter::-webkit-scrollbar { display:none; }
.band-filter-btn { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 14px; border-radius:999px; border:1px solid var(--border); background:var(--surface); color:var(--text-secondary); font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; flex-shrink:0; transition:all 150ms ease; }
.band-filter-btn.active { background:var(--accent); border-color:var(--accent); color:#fff; }
.band-filter-count { display:inline-flex; align-items:center; justify-content:center; min-width:17px; height:17px; padding:0 5px; border-radius:999px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; }
.band-filter-btn.active .band-filter-count { background:rgba(0,0,0,0.25); }
.band-list { flex:1; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:14px 16px 16px; }
.band-list::-webkit-scrollbar { display:none; }
.band-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:14px; margin-bottom:12px; }
.band-card-top { display:flex; align-items:center; gap:12px; }
.mz-kind { flex-shrink:0; align-self:flex-start; padding:4px 9px; border-radius:999px; font-size:10.5px; font-weight:700; letter-spacing:0.2px; }
.mz-kind.single { background:rgba(255,82,0,0.12); color:var(--accent); }
.mz-kind.continuous { background:rgba(80,160,255,0.14); color:#6db3ff; }
.band-avatar { width:48px; height:48px; border-radius:13px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:23px; }
.band-info { flex:1; min-width:0; }
.band-name { display:block; font-size:15px; font-weight:700; color:var(--text); font-family:var(--font-display); }
.band-genre { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--text-secondary); margin-top:3px; }
.band-genre svg { flex-shrink:0; opacity:0.7; margin-left:2px; }
.band-members { margin-left:1px; }
.band-sched { display:inline-flex; align-items:center; gap:7px; margin:13px 0; height:38px; padding:0 14px; border-radius:10px; background:var(--surface-raised); border:1px solid var(--border); color:var(--text); font-size:13px; font-weight:600; font-family:var(--font-display); cursor:pointer; transition:background 140ms ease; }
.band-sched:active { background:var(--surface-high); }
.band-sched svg { color:var(--accent); flex-shrink:0; }
.band-actions { display:flex; gap:10px; }
.band-btn { flex:1; height:42px; border-radius:12px; font-size:13.5px; font-weight:700; font-family:var(--font-display); cursor:pointer; display:flex; align-items:center; justify-content:center; gap:6px; transition:opacity 140ms ease, background 140ms ease; }
.band-reject { background:rgba(229,85,85,0.1); border:1.5px solid rgba(229,85,85,0.25); color:#e55; }
.band-reject:active { background:rgba(229,85,85,0.2); }
.band-approve { background:#3ddc84; border:none; color:#06231b; box-shadow:0 4px 14px rgba(61,220,132,0.28); }
.band-approve:active { opacity:0.9; }
.band-status { display:flex; align-items:center; justify-content:center; gap:7px; height:42px; border-radius:12px; font-size:13.5px; font-weight:700; font-family:var(--font-display); }
.band-status.is-approved { color:#3ddc84; background:rgba(61,220,132,0.1); border:1px solid rgba(61,220,132,0.22); }
.band-status.is-rejected { color:#e55; background:rgba(229,85,85,0.08); border:1px solid rgba(229,85,85,0.2); }
.band-status.is-paused { color:#e0a83a; background:rgba(224,168,58,0.1); border:1px solid rgba(224,168,58,0.22); }
.band-status.is-waiting { color:#6db3ff; background:rgba(80,160,255,0.1); border:1px solid rgba(80,160,255,0.22); }
.mz-req-hint { font-size:12px; line-height:1.45; color:var(--text-secondary); margin:10px 0 8px; padding:9px 11px; background:var(--surface-raised); border:1px solid var(--border); border-radius:10px; }
.mz-req-rep { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-secondary); margin:10px 0 8px; }
.mz-req-rep b { color:var(--text); font-weight:600; }
.mz-req-acts { display:flex; gap:8px; margin-bottom:8px; }
.mz-req-act { flex:1; background:var(--surface-raised); border:1px solid var(--border); color:var(--text); font-size:12px; font-weight:600; padding:9px 6px; border-radius:10px; cursor:pointer; transition:all 0.14s ease; }
.mz-req-act:active { background:var(--surface); }
.mz-req-act.mz-rep-change { color:var(--accent); }
.mz-req-act.danger { color:#e55; border-color:rgba(229,85,85,0.3); }
.band-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:56px 32px; text-align:center; }
.band-empty-ic { width:64px; height:64px; border-radius:20px; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:28px; margin-bottom:16px; }
.band-empty-title { font-size:15px; font-weight:600; color:var(--text); margin-bottom:6px; }
.band-empty-sub { font-size:13px; color:var(--text-secondary); }

/* ── Toggle switch + row (shared) ── */
.set-switch-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.set-switch-row:last-child { border-bottom: none; }
.set-switch-row .srow-text { flex: 1; min-width: 0; }
.set-switch-row .srow-title { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.set-switch-row .srow-sub { display: block; font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.set-switch { position: relative; display: inline-block; width: 46px; height: 27px; flex-shrink: 0; }
.set-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.set-slider { position: absolute; inset: 0; background: var(--surface-high); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: background 200ms ease, border-color 200ms ease; }
.set-slider::before { content: ''; position: absolute; width: 21px; height: 21px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: transform 200ms cubic-bezier(0.4,0.1,0.2,1); box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.set-switch input:checked + .set-slider { background: var(--accent); border-color: var(--accent); }
.set-switch input:checked + .set-slider::before { transform: translateX(19px); }

/* ============================================================
   Searchable picker + phone field + combo select + confirm
   ============================================================ */
/* Picker bottom sheet */
.pk-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.7); z-index:120; display:flex; align-items:flex-end; opacity:0; transition:opacity 300ms ease; }
.pk-overlay.open { opacity:1; }
.pk-sheet { width:100%; background:#161616; border-radius:24px 24px 0 0; border-top:1px solid var(--border); padding:10px 18px 22px; transform:translateY(100%); transition:transform 320ms cubic-bezier(0.25,0.46,0.45,0.94); max-height:82%; display:flex; flex-direction:column; }
.pk-overlay.open .pk-sheet { transform:translateY(0); }
.pk-handle { width:40px; height:4px; border-radius:999px; background:var(--surface-high); margin:0 auto 14px; flex-shrink:0; }
.pk-title { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--text); margin-bottom:14px; flex-shrink:0; }
.pk-search { display:flex; align-items:center; gap:9px; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:0 13px; height:44px; margin-bottom:12px; flex-shrink:0; }
.pk-search-ic { color:var(--text-muted); display:flex; flex-shrink:0; }
.pk-search-in { flex:1; min-width:0; background:none; border:none; outline:none; color:var(--text); font-size:14.5px; }
.pk-search-in::placeholder { color:var(--text-muted); }
.pk-list { flex:1; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; display:flex; flex-direction:column; gap:6px; }
.pk-list::-webkit-scrollbar { display:none; }
.pk-item { display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:12px 14px; border-radius:12px; background:var(--surface); border:1.5px solid transparent; cursor:pointer; transition:background 140ms ease; }
.pk-item:active { background:var(--surface-high); }
.pk-item.on { background:var(--accent-subtle); border-color:var(--accent); }
.pk-flag { font-size:21px; line-height:1; flex-shrink:0; }
.pk-item-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.pk-item-label { font-size:14.5px; font-weight:600; color:var(--text); }
.pk-item-sub { font-size:12px; color:var(--text-muted); }
.pk-check { color:var(--accent); flex-shrink:0; opacity:0; transition:opacity 140ms ease; }
.pk-item.on .pk-check { opacity:1; }
.pk-apply { flex-shrink:0; margin-top:12px; height:50px; border-radius:14px; background:var(--accent); border:none; color:#fff; font-size:15px; font-weight:700; font-family:var(--font-display); cursor:pointer; }
.pk-apply:active { filter:brightness(0.92); }

/* Phone field */
.phone-field { display:flex; gap:8px; }
.phone-cc { display:flex; align-items:center; gap:5px; flex-shrink:0; padding:0 12px; height:52px; border-radius:14px; background:var(--surface); border:1.5px solid var(--border); color:var(--text); cursor:pointer; font-size:14px; }
.phone-cc:active { background:var(--surface-high); }
.phone-cc-flag { font-size:19px; line-height:1; }
.phone-cc-dial { font-weight:600; }
.phone-cc svg { color:var(--text-muted); }
.phone-num { flex:1; min-width:0; }

/* Combo select */
.combo { width:100%; }
.combo-btn { display:flex; align-items:center; gap:8px; width:100%; height:52px; padding:0 14px; border-radius:14px; background:var(--surface); border:1.5px solid var(--border); color:var(--text); font-size:14px; cursor:pointer; text-align:left; }
.combo-btn:active { background:var(--surface-high); }
.combo-text { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.combo-btn.is-empty .combo-text { color:var(--text-muted); }
.combo-btn svg { color:var(--text-muted); flex-shrink:0; }
.combo-chips { display:flex; flex-wrap:wrap; gap:7px; margin-top:9px; }
.combo-chip { display:inline-flex; align-items:center; gap:5px; padding:5px 10px; border-radius:999px; background:var(--accent-subtle); border:1px solid var(--accent); color:var(--accent); font-size:12px; font-weight:600; }
.combo-chip-x { display:flex; cursor:pointer; opacity:0.8; }

/* Confirm sheet */
.cfm-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.72); z-index:130; display:flex; align-items:flex-end; opacity:0; transition:opacity 280ms ease; }
.cfm-overlay.open { opacity:1; }
.cfm-sheet { width:100%; background:#161616; border-radius:24px 24px 0 0; border-top:1px solid var(--border); padding:10px 20px 24px; transform:translateY(100%); transition:transform 300ms cubic-bezier(0.25,0.46,0.45,0.94); }
.cfm-overlay.open .cfm-sheet { transform:translateY(0); }
.cfm-title { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--text); margin-bottom:8px; }
.cfm-msg { font-size:13.5px; color:var(--text-secondary); line-height:1.5; margin-bottom:14px; }
.cfm-rows { display:flex; flex-direction:column; gap:1px; background:var(--border); border-radius:13px; overflow:hidden; margin-bottom:18px; }
.cfm-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; background:var(--surface); }
.cfm-row-l { font-size:12.5px; color:var(--text-muted); flex-shrink:0; }
.cfm-row-v { font-size:13.5px; font-weight:600; color:var(--text); text-align:right; }
.cfm-actions { display:flex; gap:10px; }
.cfm-cancel { flex:1; height:50px; border-radius:14px; background:var(--surface); border:1px solid var(--border); color:var(--text-secondary); font-size:14.5px; font-weight:600; cursor:pointer; }
.cfm-confirm { flex:1.4; height:50px; border-radius:14px; background:var(--accent); border:none; color:#fff; font-size:14.5px; font-weight:700; font-family:var(--font-display); cursor:pointer; }
.cfm-confirm:active { filter:brightness(0.92); }
.cfm-confirm.danger { background:#e04848; }

/* ============================================================
   MARKA PRELOADER (App.showLoader / App.hideLoader)
   logo_icon.svg — nefes alan ikon + kuyruklu dönen halkalar
   ============================================================ */
.nc-loader {
  position: absolute; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(circle at 50% 42%, rgba(20,10,4,0.82), rgba(6,6,6,0.92));
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  opacity: 0; transition: opacity 300ms ease;
}
.nc-loader.open { opacity: 1; }

.nc-loader-mark { position: relative; width: 118px; height: 118px; display: flex; align-items: center; justify-content: center; }

/* dönen kuyruklu halkalar — conic gradient + ring maskesi */
.nc-loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,82,0,0) 0deg, rgba(255,82,0,0) 200deg, var(--accent) 340deg, #ff8a4d 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: nc-spin 0.95s linear infinite;
}
.nc-loader-ring2 {
  inset: 13px;
  background: conic-gradient(from 90deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 250deg, rgba(255,255,255,0.5) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: nc-spin-rev 1.5s linear infinite;
  opacity: 0.7;
}

/* nefes alan / parlayan ikon */
.nc-loader-ico {
  width: 46px; height: auto; display: block;
  animation: nc-breathe 1.8s ease-in-out infinite;
  will-change: transform, filter;
}

.nc-loader-label {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.nc-loader-label::after { content: ''; display: inline-block; width: 1.1em; text-align: left; animation: nc-dots 1.4s steps(1,end) infinite; }

@keyframes nc-spin      { to { transform: rotate(360deg); } }
@keyframes nc-spin-rev  { to { transform: rotate(-360deg); } }
@keyframes nc-breathe {
  0%, 100% { transform: scale(0.9);  filter: drop-shadow(0 0 5px rgba(255,82,0,0.30)); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(255,82,0,0.70)); }
}
@keyframes nc-dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

@media (prefers-reduced-motion: reduce) {
  .nc-loader-ring, .nc-loader-ring2 { animation: none; }
  .nc-loader-ico { animation: nc-pulse 1.4s ease-in-out infinite; filter: none; }
  @keyframes nc-pulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
}

/* Başarı ekranı (App.successSheet) — her iki uygulama da kullanır */
.succ-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.78); z-index:130; display:flex; align-items:center; justify-content:center; padding:28px; opacity:0; transition:opacity 0.3s ease; }
.succ-overlay.open { opacity:1; }
.succ-card { width:100%; max-width:300px; background:#161616; border:1px solid var(--border); border-radius:22px; padding:30px 24px 24px; text-align:center; transform:scale(0.9); transition:transform 0.34s cubic-bezier(0.34,1.56,0.64,1); }
.succ-overlay.open .succ-card { transform:scale(1); }
.succ-check { width:64px; height:64px; border-radius:50%; background:#3ddc84; display:flex; align-items:center; justify-content:center; margin:0 auto 18px; box-shadow:0 6px 22px rgba(61,220,132,0.45); }
.succ-title { font-family:var(--font-display); font-size:19px; font-weight:800; color:var(--text); margin-bottom:10px; }
.succ-amt { font-family:var(--font-display); font-size:26px; font-weight:800; color:#3ddc84; margin-bottom:4px; }
.succ-sub { font-size:13px; color:var(--text-secondary); margin-bottom:22px; }
.succ-btn { width:100%; height:48px; border-radius:14px; border:none; background:var(--accent); color:#fff; font-size:15px; font-weight:700; font-family:var(--font-display); cursor:pointer; }
.succ-btn:active { opacity:0.9; }

/* ============================================================
   BİLDİRİM EKRANI (business + customer ortak)
   İki uygulamada da aynı zil listesi kullanıldığı için bu blok
   business/screens.css'ten buraya taşındı.
   ============================================================ */

.screen-notif { display:flex; flex-direction:column; overflow:hidden; position:relative; }
.notif-readall { flex-shrink:0; background:none; border:none; color:var(--accent); font-size:12px; font-weight:600; cursor:pointer; padding:6px 4px; white-space:nowrap; }
.notif-readall:active { opacity:0.7; }

.notif-filter { flex-shrink:0; display:flex; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border); }
.notif-filter-btn { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 14px; border-radius:999px; border:1px solid var(--border); background:var(--surface); color:var(--text-secondary); font-size:12px; font-weight:600; cursor:pointer; transition:all 150ms ease; }
.notif-filter-btn.active { background:var(--accent); border-color:var(--accent); color:#fff; }
.notif-filter-count { display:inline-flex; align-items:center; justify-content:center; min-width:17px; height:17px; padding:0 5px; border-radius:999px; background:rgba(0,0,0,0.25); font-size:10px; font-weight:700; }
.notif-filter-btn:not(.active) .notif-filter-count { background:var(--accent); color:#fff; }

.notif-list { flex:1; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:8px 0 16px; }
.notif-list::-webkit-scrollbar { display:none; }

.notif-group-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); padding:14px 16px 6px; }

.notif-item { display:flex; align-items:flex-start; gap:12px; padding:12px 16px; cursor:pointer; position:relative; transition:background 140ms ease; -webkit-tap-highlight-color:transparent; }
.notif-item:active { background:var(--surface-raised); }
.notif-item.unread { background:rgba(255,82,0,0.04); }
.notif-icon { width:38px; height:38px; border-radius:11px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.notif-content { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.notif-title { font-size:13.5px; font-weight:600; color:var(--text); }
.notif-body { font-size:12.5px; color:var(--text-secondary); line-height:1.45; }
.notif-time { font-size:11px; color:var(--text-muted); margin-top:2px; }
.notif-unread-dot { width:8px; height:8px; border-radius:50%; background:var(--accent); flex-shrink:0; margin-top:6px; box-shadow:0 0 0 3px rgba(255,82,0,0.15); }

.notif-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:60px 32px; text-align:center; }
.notif-empty-ic { width:64px; height:64px; border-radius:20px; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--text-muted); margin-bottom:18px; }
.notif-empty-title { font-size:15px; font-weight:600; color:var(--text); margin-bottom:6px; }
.notif-empty-sub { font-size:13px; color:var(--text-secondary); }

/* ── Sürükleyerek sıralama (App.dragList) ──────────────────────────────────
   Bırakma yeri ince çizgi yerine kesikli dikdörtgenle gösterilir: satırın tam
   olarak hangi iki öğenin arasına oturacağı belirsiz kalmasın. */
.nc-dragging { opacity: 0.96; border-radius: 12px; background: var(--surface-raised); box-shadow: 0 12px 28px rgba(0,0,0,0.5); }
.nc-drop-ph {
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--accent); border-radius: 12px;
  background: rgba(255,82,0,0.08);
  margin: 4px 0; box-sizing: border-box;
  animation: nc-ph-in 180ms ease;
}
.nc-drop-ph span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); text-transform: uppercase; }
@keyframes nc-ph-in { from { opacity: 0; transform: scaleY(0.7); } to { opacity: 1; transform: scaleY(1); } }
/* tutamaç: touch-action:none olmadan tarayıcı parmağı liste kaydırma sayar */
.nc-grip { touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab; }
.nc-grip:active { cursor: grabbing; }

/* ── App.promptSheet: hazır seçenek listesi (ekran seçimi gibi) ── */
.ps-picks { display:flex; flex-direction:column; gap:8px; max-height:38vh; overflow-y:auto; scrollbar-width:none; }
.ps-picks::-webkit-scrollbar { display:none; }
.ps-pick { display:flex; flex-direction:column; align-items:flex-start; gap:3px; width:100%; text-align:left; padding:11px 14px; border-radius:13px; background:var(--surface-raised); border:1px solid var(--border); cursor:pointer; transition:border-color 0.14s ease, background 0.14s ease; }
.ps-pick:active { background:var(--surface); border-color:var(--accent); }
.ps-pick-name { font-size:13.5px; font-weight:600; color:var(--text); }
.ps-pick-sub { font-size:11.5px; color:var(--text-muted); }

/* ── Avatar: fotoğraf yüklenemezse baş harfler ────────────────────────────
   Eskiden fotoğraf background-image olarak veriliyordu; adres kırıksa (silinmiş
   dosya, zaman aşımı) bomboş bir daire kalıyordu. Artık baş harfler her zaman
   çizilir, fotoğraf onun ÜSTÜNE <img> olarak biner; yüklenemezse img kendini
   kaldırır ve harfler ortaya çıkar (bkz. App.avatarInner). */
.nc-av { position: relative; overflow: hidden; }
.nc-av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* Bildirim başlığındaki ayar kısayolu (bkz. customer/screens/notifications.js) */
.notif-settings { flex-shrink:0; background:none; border:none; color:var(--text-secondary); cursor:pointer; padding:6px 2px 6px 8px; display:flex; align-items:center; }
.notif-settings:active { color:var(--accent); }

/* ── Oy rozeti (Bronz / Gümüş / Altın / Platin / Elmas) ───────────────────
   Eşikler ve hesap sunucuda (pbl_constants.php + _badge); burada yalnızca
   görünüm. Bkz. App.badgeHTML / App.badgeProgress / App.badgeRulesHTML. */
.nc-badge { display:inline-flex; align-items:center; gap:5px; vertical-align:middle; margin-left:8px;
  padding:3px 9px 3px 7px; border-radius:999px; font-size:11.5px; font-weight:700; letter-spacing:0.01em;
  color:#3a2a06; border:1px solid rgba(0,0,0,0.12); white-space:nowrap; }
.nc-badge svg { flex-shrink:0; }
.nc-badge.is-bronze { background:linear-gradient(135deg,#e8a06a,#b26a34); color:#2e1a08; }
.nc-badge.is-silver { background:linear-gradient(135deg,#e6e9ee,#a8b0bd); color:#25292f; }
.nc-badge.is-gold   { background:linear-gradient(135deg,#ffd970,#e0a516); color:#3a2a06; }
.nc-badge.is-platinum { background:linear-gradient(135deg,#f2f6fa,#9fb3c4); color:#1c2833; }
.nc-badge.is-diamond  { background:linear-gradient(135deg,#c9f6ff,#7aa2ff 55%,#c48bff); color:#121a3a; }
.nc-badge.is-none   { background:var(--surface-raised); color:var(--text-muted); border-color:var(--border); }

/* Kendi profilindeki rozet kartı: mevcut rozet + bir sonraki hedef */
.nc-badge-card { margin:14px 0 4px; padding:13px 14px; border-radius:14px;
  background:var(--surface); border:1px solid var(--border); }
.nc-badge-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.nc-badge-title { display:flex; align-items:center; min-width:0; }
.nc-badge-title .nc-badge { margin-left:0; }
.nc-badge-count { flex-shrink:0; font-size:12.5px; font-weight:700; color:var(--text-secondary); }
.nc-badge-bar { margin-top:10px; height:6px; border-radius:999px; background:var(--surface-raised); overflow:hidden; }
.nc-badge-bar i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#e8a06a,#ffd970); transition:width 400ms ease; }
.nc-badge-next { margin:8px 0 0; font-size:11.5px; color:var(--text-muted); }
/* İki koşulun ayrı ilerlemesi: oy ve farklı mekan */
.nc-badge-prog { margin-top:10px; display:flex; flex-direction:column; gap:7px; }
.nc-badge-prog-row { display:flex; align-items:center; gap:10px; }
.nc-badge-prog-lbl { flex-shrink:0; width:96px; font-size:11.5px; color:var(--text-secondary); }
.nc-badge-prog-row .nc-badge-bar { flex:1; margin-top:0; }
.nc-badge-prog-val { flex-shrink:0; min-width:64px; text-align:right; font-size:11.5px; font-weight:700; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
/* Kurallar (açıklama) */
.nc-badge-rules { margin-top:12px; padding-top:11px; border-top:1px solid var(--border); }
.nc-badge-rules-lead { margin:0 0 9px; font-size:11.5px; line-height:1.5; color:var(--text-muted); }
.nc-badge-rules-lead b { color:var(--text-secondary); font-weight:700; }
.nc-badge-rules-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px; }
.nc-badge-rules-list li { display:flex; align-items:center; gap:10px; opacity:0.6; }
.nc-badge-rules-list li.is-done { opacity:1; }
.nc-badge-rules-list li .nc-badge { margin-left:0; min-width:84px; justify-content:flex-start; }
.nc-badge-rule { flex:1; min-width:0; font-size:12px; color:var(--text-secondary); }
.nc-badge-rules-list li.is-current .nc-badge-rule { color:var(--text); font-weight:700; }
.nc-badge-ok { flex-shrink:0; font-size:12px; font-weight:800; color:#3ddc84; }

/* Tanıtım sitesinden okunan yasal metinler (App.legalDocHTML): belge penceresi ve Kurallar ekranı */
.legal-body h2 { font-family: var(--font-display); font-size: 15px; color: var(--text); margin: 18px 0 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 14px; color: var(--text); margin: 14px 0 6px; }
.legal-body p { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 12px; }
.legal-body ul, .legal-body ol { padding-left: 18px; margin: 0 0 12px; display: grid; gap: 6px; }
.legal-body li { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }
.legal-body strong { color: var(--text); }
.legal-body .box { background: var(--surface-raised); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 10px 0 14px; }
.legal-body .table-scroll { overflow-x: auto; margin: 8px 0 14px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 12px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.legal-body th { color: var(--text); }
.legal-loading { color: var(--text-muted); font-size: 13px; }
