/* ══ Kuaför Dilek Şengül — admin.css v19 ModernUI ══ */
@charset "UTF-8";

/* ── ADMİN PANEL DEĞİŞKENLERİ ── */
:root {
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow: 0 4px 16px -4px rgba(0,0,0,0.08), 0 2px 6px -2px rgba(0,0,0,0.04);
  --shadow-card: 0 8px 24px -6px rgba(0,0,0,0.10), 0 3px 8px -3px rgba(0,0,0,0.05);
  --shadow-deep: 0 16px 40px -8px rgba(0,0,0,0.15);
  --z-nav: 100;
  --z-modal: 1000;
  --z-toast: 9999;
}

/* ── ADMİN EKRAN ── */
#admin { background: #f4f6f8; }

.adm-header {
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cz);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.adm-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--yaz);
  letter-spacing: -0.3px;
}
.adm-cikis {
  background: var(--krem);
  border: 1.5px solid var(--cz);
  color: var(--sil);
  padding: 8px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-pill);
  min-height: 36px;
  transition: all 0.2s ease;
}
.adm-cikis:hover { color: #dc2626; border-color: #feb2b2; background: #fff5f5; }

/* ── ALT NAV ── */
.alt-nav {
  display: flex;
  border-top: 1px solid var(--cz);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-shrink: 0;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
}
.nav-b {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--sil);
  padding: 10px 4px 8px;
  font-family: 'Outfit', sans-serif;
  font-size: .48rem;
  letter-spacing: .5px;
  cursor: pointer;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  font-weight: 400;
  position: relative;
}
.nav-b .ico { font-size: 1.1rem; }
.nav-lbl { font-size: .48rem; display: block; margin-top: 1px; }
.nav-b.an { color: #4f46e5; }
.nav-b.an .ico { transform: scale(1.1); }

/* Sekme içerikleri */
.a-s { display: none; }
.a-s.aa { display: block; animation: fadeInUp 0.25s ease; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── KARTLAR ── */
.a-kart {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
}
.a-kart-b {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  color: var(--yaz);
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--krem2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── İSTATİSTİK KARTLAR ── */
.stat-g { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 12px; }
.stat-k {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-ico { font-size: 1.1rem; margin-bottom: 4px; }
.stat-val {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  color: var(--yaz);
  font-weight: 700;
  line-height: 1;
}
.stat-lbl2 {
  font-size: .5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sil);
  margin-top: 3px;
  font-weight: 400;
}

/* ── RANDEVU KARTLAR ── */
.r-k {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.r-k:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.r-k.rb { border-left-color: #4f46e5; }
.r-k.rbe { border-left-color: #dc2626; }
.r-ust { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.r-saat { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--yaz); }
.r-isim { font-weight: 600; font-size: .86rem; color: var(--yaz); }
.r-alt { font-size: .68rem; color: var(--sil); margin-top: 2px; }
.r-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--krem2);
}

/* ── BUTONLAR ── */
.b {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  min-height: 34px;
}
.b:hover { transform: translateY(-1px); }
.b:active { transform: scale(0.96); }

.ba { background: var(--yaz); color: var(--beyaz); }
.ba:hover { background: #1e1a16; box-shadow: 0 4px 12px rgba(15,13,11,0.2); }

.by { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.by:hover { background: #bbf7d0; }

.bk { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.bk:hover { background: #fecaca; }

.bt { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.bt:hover { background: #fde68a; }

.bg { background: var(--krem); color: var(--sil); border: 1px solid var(--cz); }
.bg:hover { border-color: var(--yaz); color: var(--yaz); }

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: .52rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.baj-a { background: #dbeafe; color: #1d4ed8; }
.baj-y { background: #dcfce7; color: #166534; }
.baj-k { background: #fee2e2; color: #991b1b; }
.baj-t { background: #fef3c7; color: #92400e; }
.baj-g { background: var(--krem2); color: var(--sil); }

/* ── FİLTRE ── */
.filtre-r { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; }
.filtre-r::-webkit-scrollbar { display: none; }
.f-btn {
  background: var(--krem);
  border: 1.5px solid var(--cz);
  color: var(--sil);
  padding: 6px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  min-height: 34px;
  transition: all 0.2s ease;
}
.f-btn:hover { border-color: #4f46e5; color: #4f46e5; }
.f-btn.af { background: #4f46e5; color: #fff; border-color: #4f46e5; }

/* ── MÜŞTERİ KARTLAR ── */
.m-k {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}
.m-k:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); border-left: 3px solid #4f46e5; }
.m-ust { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; }
.m-isim { font-weight: 600; font-size: .86rem; color: var(--yaz); }
.m-tel { font-size: .68rem; color: var(--sil); }
.puan-bar { background: var(--krem2); border-radius: var(--radius-pill); height: 3px; margin-top: 7px; overflow: hidden; }
.puan-d { height: 100%; border-radius: var(--radius-pill); background: #4f46e5; transition: width 0.4s ease; }

/* ── INPUT ── */
.a-inp {
  width: 100%;
  background: var(--krem);
  border: 1.5px solid var(--cz);
  color: var(--yaz);
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: .84rem;
  outline: none;
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  min-height: 44px;
  transition: all 0.2s ease;
}
.a-inp:focus { border-color: #4f46e5; background: var(--beyaz); box-shadow: 0 0 0 3px rgba(79,70,229,0.08); }
.a-lbl {
  font-size: .54rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sil);
  margin-bottom: 5px;
  display: block;
  font-weight: 400;
}
.ag2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

/* ── CİRO ── */
.c-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 12px; }
.c-k { background: var(--beyaz); border-radius: var(--radius); padding: 16px 12px; text-align: center; box-shadow: var(--shadow); }
.c-val { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--yaz); }
.c-lbl { font-size: .52rem; letter-spacing: 2px; text-transform: uppercase; color: var(--sil); margin-top: 3px; }

/* ── LİSTE SATIR ── */
.is-s {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--krem2);
  font-size: .82rem;
}
.is-s:last-child { border-bottom: none; }
.bos { text-align: center; padding: 40px 16px; color: var(--cz); font-size: .78rem; }
.bos .ico { font-size: 1.8rem; margin-bottom: 8px; opacity: .4; }

/* ── DOĞUM GÜNÜ UYARI ── */
.dgunu-uyari {
  background: #fffbeb;
  border: 1.5px solid #fbbf24;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  display: none;
  box-shadow: 0 4px 12px rgba(251,191,36,0.12);
}
.dgunu-uyari-baslik { font-size: .72rem; color: #92400e; margin-bottom: 10px; font-weight: 600; }

/* ── MODAL ── */
.modal-arka {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(15,13,11,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  align-items: flex-end;
  justify-content: center;
}
.modal-arka.acik { display: flex; }
.modal-k {
  background: var(--beyaz);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 24px;
  width: 100%;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: slideUp .22s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-b {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--yaz);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--krem2);
  letter-spacing: -0.2px;
}
.modal-btns { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.modal-btns .b { flex: 1; padding: 12px; min-width: 70px; text-align: center; border-radius: var(--radius-sm); }

/* ── EYLEMLER MERKEZİ ── */
.ac-rozet-satir { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.ac-rozet {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.ac-rozet-sayi { display: block; font-family: 'Inter', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--yaz); line-height: 1; }
.ac-rozet-lbl { display: block; font-size: .44rem; letter-spacing: 1px; text-transform: uppercase; color: var(--sil); margin-top: 5px; }
.ac-rozet.uyari .ac-rozet-sayi { color: #dc2626; }
.ac-rozet.uyari { border-top: 3px solid #dc2626; }
.ac-rozet.bekliyor .ac-rozet-sayi { color: #d97706; }
.ac-rozet.bekliyor { border-top: 3px solid #d97706; }

.ac-blok { margin-bottom: 12px; }
.ac-blok-baslik {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--yaz);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--krem2);
}
.ac-blok-ico { font-size: 1rem; }
.ac-badge {
  margin-left: auto;
  background: #dc2626;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .5rem;
  padding: 2px 8px;
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  display: none;
}
.ac-badge.goster { display: inline-block; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* Nav badge */
.nav-b { position: relative; }
.nav-lbl { font-size: .46rem; display: block; margin-top: 2px; }
.ac-nav-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  background: #dc2626;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .45rem;
  padding: 1px 5px;
  min-width: 15px;
  text-align: center;
  font-weight: 700;
  display: none;
}
.ac-nav-badge.goster { display: inline-block; }

/* Eylemler satırlar */
.ac-randevu-satir { display: flex; justify-content: space-between; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--krem2); gap: 8px; }
.ac-randevu-satir:last-child { border-bottom: none; }
.ac-randevu-bilgi { flex: 1; min-width: 0; }
.ac-randevu-isim { font-size: .84rem; font-weight: 600; color: var(--yaz); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-randevu-alt { font-size: .65rem; color: var(--sil); margin-top: 2px; }
.ac-randevu-btns { display: flex; gap: 5px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.ac-htr-btn { border-radius: var(--radius-pill) !important; }

/* ── PUANLA ÖDE (Admin Modal) ── */
.puan-ode-k { background: linear-gradient(135deg, #1a1208, #2c1f0e); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; border: 1px solid rgba(212,168,83,0.15); }
.puan-ode-b { font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.puan-ode-satir { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: #fff; margin-bottom: 8px; }
.puan-ode-inp { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 10px 12px; font-family: 'Outfit', sans-serif; font-size: .84rem; outline: none; border-radius: var(--radius-sm); width: 120px; text-align: center; min-height: 40px; }
.puan-ode-btn { background: #d4a853; color: var(--yaz); border: none; padding: 10px 16px; font-family: 'Outfit', sans-serif; font-size: .62rem; font-weight: 600; letter-spacing: 2px; cursor: pointer; border-radius: var(--radius-pill); min-height: 40px; }

/* ── TAKVİM TİMELINE ── */
.tkv-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tkv-header { display: flex; background: var(--krem); border-bottom: 2px solid var(--cz); position: sticky; top: 0; z-index: 2; }
.tkv-saat-col { width: 42px; flex-shrink: 0; border-right: 1px solid var(--cz); padding: 6px 0; text-align: center; font-size: .5rem; color: var(--sil); }
.tkv-lane-hdr { flex: 1; min-width: 80px; text-align: center; font-size: .52rem; letter-spacing: 1px; text-transform: uppercase; color: var(--sil); padding: 8px 4px; border-right: 1px solid var(--cz); line-height: 1.4; }
.tkv-lane-hdr:last-child { border-right: none; }
.tkv-lane-hdr span { display: block; font-size: .62rem; font-weight: 600; color: var(--yaz); }
.tkv-body { display: flex; position: relative; }
.tkv-saat-axis { width: 42px; flex-shrink: 0; border-right: 1px solid var(--cz); }
.tkv-saat-lbl { height: 24px; display: flex; align-items: center; justify-content: flex-end; padding-right: 5px; font-size: .48rem; color: var(--cz); border-bottom: 1px solid var(--krem2); }
.tkv-lane-body { flex: 1; min-width: 80px; position: relative; border-right: 1px solid var(--cz); background-size: 100% 30px; background-image: linear-gradient(to top, var(--krem2) 1px, transparent 1px); }
.tkv-lane-body:last-child { border-right: none; }
.tkv-blok { position: absolute; left: 2px; right: 2px; border-radius: 6px; padding: 3px 5px; font-size: .52rem; line-height: 1.3; overflow: hidden; z-index: 1; will-change: transform; transform: translateZ(0); box-shadow: 0 2px 4px rgba(0,0,0,0.06); }
.tkv-blok-isim { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkv-blok-hiz { opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .49rem; }
.tkv-blok.bekliyor { background: rgba(220,38,38,.12); border-left: 3px solid #dc2626; color: #7f1d1d; }
.tkv-blok.onaylandi { background: rgba(79,70,229,.12); border-left: 3px solid #4f46e5; color: #1e1b4b; }
.tkv-blok.tamamlandi { background: rgba(22,163,74,.12); border-left: 3px solid #16a34a; color: #14532d; }
.tkv-blok.gap-blok { background: repeating-linear-gradient(45deg,transparent,transparent 3px,rgba(160,120,40,.09) 3px,rgba(160,120,40,.09) 4px); border-left: 3px solid rgba(160,120,40,.35); color: rgba(130,90,20,.7); font-style: italic; }
.tkv-bos { padding: 24px; text-align: center; font-size: .78rem; color: var(--sil); }
.tkv-legend { display: flex; gap: 12px; padding: 8px 12px; font-size: .54rem; color: var(--sil); flex-wrap: wrap; border-top: 1px solid var(--cz); }
.tkv-legend span { display: flex; align-items: center; gap: 4px; }
.tkv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.tkv-now-line { position: absolute; left: 0; right: 0; height: 2px; background: rgba(220,38,38,.6); z-index: 4; pointer-events: none; }
.tkv-now-line::before { content: '▶'; position: absolute; left: -8px; top: -5px; font-size: 6px; color: rgba(220,38,38,.8); }

/* 1. Chrome ve Safari'nin çirkin varsayılan okunu gizle */
.liste-cekmece summary::-webkit-details-marker {
  display: none;
}

/* 2. Menü açıldığında senin koyduğun oku 180 derece döndür */
.liste-cekmece[open] .cekmece-ok {
  transform: rotate(180deg);
}

/* 3. Menü açıkken başlık ile içerik arasına ince bir ayırıcı çizgi koy */
.liste-cekmece[open] summary {
  border-bottom: 1px solid var(--krem2) !important;
  margin-bottom: 12px !important;
}
