/* saat.css — Paylasilan saat-araligi secici (saat-secici.js ile). Form alaninda tek tetik
   ("Calisma Saatleri" ozeti); tiklayinca P360.modal icinde analog kadran acilir: baslangic/bitis
   sekmeleri, suruklenebilir akrep/yelkovan, pasif (hayalet) kollar, aralik yayi, AM/PM, sure.
   Kadran yuzeyi her temada koyu "aygit"; modal kabugu standart P360.modal. */

/* ── Form tetigi ───────────────────────────────────────────────────────────── */
.p360-saat-aralik { position: relative; }
.p360-saat-aralik-alan {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 40px; padding: 7px 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.p360-saat-aralik-alan:hover { border-color: var(--accent, #007AFF); }
.p360-saat-aralik-alan > .bi-clock { color: var(--accent, #007AFF); font-size: 15px; }
.p360-saat-aralik-metin { flex: 1; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.p360-saat-aralik.bos .p360-saat-aralik-metin { color: var(--muted); font-weight: 500; }
.p360-saat-aralik-sure {
  font-size: 11.5px; font-weight: 600; color: var(--accent, #007AFF);
  background: color-mix(in srgb, var(--accent, #007AFF) 12%, transparent);
  padding: 2px 8px; border-radius: 999px;
}
.p360-saat-aralik-ok { color: var(--muted); font-size: 13px; }
/* 7/24 kilidi: tetik pasiflesir, sure rozeti yesile doner. */
.p360-saat-aralik.kilitli .p360-saat-aralik-alan { opacity: .7; cursor: default; }
.p360-saat-aralik.kilitli .p360-saat-aralik-alan:hover { border-color: var(--border); }
.p360-saat-aralik.kilitli .p360-saat-aralik-sure { color: #fff; background: var(--green, #34C759); }

/* ── Tek-saat tetigi (kesim saati gibi) — aralik tetigiyle ayni gorunum ─────── */
.p360-saat-tek { position: relative; }
.p360-saat-tek-alan {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 40px; padding: 7px 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.p360-saat-tek-alan:hover { border-color: var(--accent, #007AFF); }
.p360-saat-tek-alan > .bi-clock { color: var(--accent, #007AFF); font-size: 15px; }
.p360-saat-tek-metin { flex: 1; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.p360-saat-tek.bos .p360-saat-tek-metin { color: var(--muted); font-weight: 500; }
.p360-saat-tek-ok { color: var(--muted); font-size: 13px; }
/* Tek-saat modal: sekme yerine buyuk dijital gosterge. */
.sk-tek-dg { font-size: 30px; font-weight: 500; letter-spacing: .5px; font-variant-numeric: tabular-nums; color: var(--sk-bas); margin-bottom: 18px; }

/* ── Modal govdesi: koyu aygit paneli ──────────────────────────────────────── */
.sk-panel {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  margin: -4px 0;
  --sk-bas: #60a5fa;   /* baslangic kolu (mavi) */
  --sk-bit: #34d399;   /* bitis kolu (yesil) */
  --sk-yay: rgba(59,130,246,0.28);
}

/* Sekmeler (baslangic / bitis) */
.sk-tablar {
  display: flex; width: 100%; gap: 4px;
  background: rgba(0,0,0,0.30); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 5px; margin-bottom: 22px;
}
.sk-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; cursor: pointer; color: var(--muted);
  font-family: var(--font); transition: all .18s ease;
}
.sk-tab .et { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: .7; }
.sk-tab .dg { font-size: 21px; font-weight: 500; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.sk-tab.aktif {
  background: linear-gradient(180deg, #2c2c2e, #1c1c1e);
  border-color: rgba(255,255,255,0.10); color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.sk-tab[data-mod="start"].aktif .dg { color: var(--sk-bas); }
.sk-tab[data-mod="end"].aktif .dg { color: var(--sk-bit); }

/* Kadran cercevesi */
.sk-saat {
  position: relative; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2c2c2e, #1c1c1e 75%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 30px rgba(0,0,0,0.5), inset 0 2px 6px rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  touch-action: none; user-select: none;
}
.sk-saat::after { /* ic cam halkasi */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); pointer-events: none;
}
.sk-saat.kilitli { opacity: .45; pointer-events: none; }
.sk-svg { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.sk-svg .sk-arc { transition: d .25s ease; filter: drop-shadow(0 0 8px rgba(59,130,246,0.4)); }
.sk-svg .sk-hand { transition: x2 .12s ease, y2 .12s ease; }

/* Sure rozeti */
.sk-sure { margin-top: 20px; min-height: 26px; }
.sk-sure .ic {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.22);
  color: #93c5fd; font-size: 12px; font-weight: 600; font-family: var(--font);
}
.sk-sure .nokta { width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; }

/* AM / PM segmented */
.sk-ampm {
  margin-top: 18px; display: inline-flex; gap: 4px;
  background: #1c1c1e; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 11px; padding: 4px;
}
.sk-ampm-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 22px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--muted);
  font-family: var(--font); font-size: 13px; font-weight: 600;
  transition: all .15s ease;
}
.sk-ampm-btn .bi { font-size: 13px; }
.sk-ampm-btn.aktif { background: #3a3a3c; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.sk-saat.kilitli ~ .sk-ampm,
.sk-panel.kilitli .sk-ampm { opacity: .45; pointer-events: none; }

/* 7/24 bilgi seridi (kilitliyken kadran yerine) */
.sk-yedi24-not {
  margin: 8px 0 2px; padding: 10px 14px; border-radius: 11px;
  background: rgba(52,199,89,0.10); border: 1px solid rgba(52,199,89,0.25);
  color: #6ee7a8; font-size: 12.5px; font-weight: 600; text-align: center;
}
