* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f2f2f7;
  color: #111;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================
   HEADER - bulanık cam efekti
   ============================================ */
header {
  padding: 20px 16px 14px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 242, 247, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.tarih-secici {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.tarih-secici button {
  background: none;
  color: #111;
  border: 1.5px solid #ccc;
  width: 38px;
  height: 38px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.tarih-secici button:active {
  background: #111;
  color: #fff;
}

#tarih-input {
  background: #fff;
  color: #111;
  border: 1.5px solid #ccc;
  padding: 8px 14px;
  font-size: 15px;
  font-family: 'Inter', Arial, sans-serif;
  border-radius: 8px;
  text-align: center;
}

#tarih-input:focus {
  outline: none;
  border-color: #999;
}

#gun-adi {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
}

#ozet {
  margin-top: 2px;
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

/* ============================================
   SLOT LİSTESİ - kağıt kartı efekti
   ============================================ */
#slot-listesi {
  max-width: 500px;
  margin: 12px auto 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
  margin-left: 10px;
  margin-right: 10px;
}

@media (min-width: 520px) {
  #slot-listesi {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   SLOT WRAPPER - sürükleme için sarmalayıcı
   ============================================ */
.slot-wrapper {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f0f0f0;
}

.slot-wrapper:last-child {
  border-bottom: none;
}

/* Arka plan aksiyonları (sürükleme sırasında görünür) */
.slot-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  color: #fff;
}

/* Sağa sürükle = tamamlandı (yeşil, solda görünür) */
.slot-bg-tamam {
  left: 0;
  right: 50%;
  background: #34c759;
  justify-content: flex-start;
}

/* Sola sürükle = sil (kırmızı, sağda görünür) */
.slot-bg-sil {
  right: 0;
  left: 50%;
  background: #ff3b30;
  justify-content: flex-end;
}

/* ============================================
   SLOT - her bir zaman dilimi satırı
   ============================================ */
.slot {
  position: relative;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
  transition: transform 0.3s ease;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
}

.slot.swiping {
  transition: none;
}

.slot:active {
  background: #f9f9f9;
}

/* Ana saatler (00, 30) - BÜYÜK */
.slot.ana .saat {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

/* Çeyrek saatler (15, 45) - küçük */
.slot.ceyrek .saat {
  font-size: 14px;
  font-weight: 400;
  color: #bbb;
}

.slot.ceyrek {
  padding: 7px 18px 7px 32px;
}

/* Dolu slot */
.slot.dolu {
  border-left: 3px solid #111;
}

.slot .musteri-adi {
  font-size: 15px;
  color: #111;
  font-weight: 600;
}

.slot .bos-yazi {
  font-size: 13px;
  color: #e0e0e0;
}

/* Tamamlanmış slot */
.slot.tamamlandi {
  border-left: 3px solid #34c759;
}

.slot.tamamlandi .musteri-adi {
  color: #999;
  text-decoration: line-through;
}

.slot.tamamlandi .tik {
  color: #34c759;
  font-size: 16px;
  margin-left: 8px;
  font-weight: 700;
}
