/* Klavye güvenli alan değişkeni */
:root {
  --kb-safe: 0px;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100dvh; /* 100vh yerine 100dvh kullan */
}

body {
  margin-bottom: 60px;
}

/* Ana kapsayıcı için mobil klavye uyumlu stil */
.main-wrapper {
  min-height: 100dvh;        /* kritik: mobil klavye ile doğru ölçüm */
  padding-bottom: var(--kb-safe);
  overflow: auto;            /* içerik kayabilsin */
  -webkit-overflow-scrolling: touch;
}

/* Form içindeki scroll alanları */
.form-scroll {
  max-height: 100dvh;
  overflow: auto;
}

/* Genel gövde */
.zz-body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sayfa ana kartı */
.zz-page-card {
  border-radius: 16px;
}

/* Responsive Grid */
.zz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 576px) {
  .zz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .zz-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .zz-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Kart */
.zz-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background: #fff;
  transition: transform .12s ease-in-out, box-shadow .12s ease-in-out;
}
.zz-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.zz-card .zz-card-cover {
  height: 160px;
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* Buton aralıkları */
.zz-actions .btn { margin-right: .5rem; margin-bottom: .5rem; }

/* Zaman Kutusu - Facebook-vari kart ve mobil uyumlu stil */
.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 1rem; 
}

/* Masaüstünde container'ı da küçült */
@media (min-width: 768px) {
  .container {
    max-width: 737px; /* 1100px'in %67'si */
    padding: 0.67rem; /* 1rem'in %67'si */
  }
}

.topbar { 
  display: flex; 
  gap: 1rem; 
  align-items: center; 
  padding: .75rem 1rem; 
  border-bottom: 1px solid #e5e7eb; 
  position: sticky; 
  top: 0; 
  background: #fff; 
  z-index: 10; 
}

.topbar .brand { 
  font-weight: 700; 
}

.btn { 
  display: inline-block; 
  padding: .5rem .9rem; 
  border-radius: .5rem; 
  border: 1px solid #e5e7eb; 
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary { 
  background: #2563eb; 
  color: #fff; 
  border-color: #2563eb; 
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-danger { 
  background: #dc2626; 
  color: #fff; 
  border-color: #dc2626; 
}

.btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.btn-secondary {
  background: #6b7280;
  color: #fff;
  border-color: #6b7280;
}

.btn-secondary:hover {
  background: #4b5563;
  border-color: #4b5563;
}

.page-header { 
  display: flex; 
  gap: .75rem; 
  align-items: center; 
  justify-content: space-between; 
  margin: 1.5rem 0; 
  flex-wrap: wrap; 
}

.balance { 
  font-weight: 600; 
  color: #059669;
  background: #d1fae5;
  padding: .5rem 1rem;
  border-radius: .5rem;
  border: 1px solid #a7f3d0;
}

.card-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 1.5rem; 
}

.card { 
  border: 1px solid #e5e7eb; 
  border-radius: .75rem; 
  background: #fff; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1rem; 
  border-bottom: 1px solid #f1f5f9; 
  background: #f8fafc;
}

.card-header h3 { 
  margin: 0; 
  font-size: 1.1rem; 
  font-weight: 600;
  color: #1f2937;
}

.badge { 
  font-size: .75rem; 
  background: #f1f5f9; 
  border: 1px solid #e2e8f0; 
  padding: .3rem .6rem; 
  border-radius: .5rem; 
  font-weight: 500;
}

.card-body { 
  padding: 1rem; 
  display: flex; 
  flex-direction: column; 
  gap: .5rem; 
  flex-grow: 1;
}

.meta {
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.4;
}

.media-preview img, 
.media-preview video, 
.media-preview audio { 
  width: 100%; 
  max-height: 200px;
  object-fit: cover;
  border-radius: .5rem; 
  margin-top: .75rem; 
}

.card-actions { 
  display: flex; 
  gap: .5rem; 
  padding: .75rem 1rem; 
  border-top: 1px solid #f1f5f9; 
  background: #f8fafc;
}

.form-grid { 
  display: grid; 
  gap: 1rem; 
  max-width: 600px; 
}

.form-item { 
  display: flex; 
  flex-direction: column; 
  gap: .4rem; 
}

.form-actions {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.empty { 
  padding: 2rem; 
  border: 2px dashed #cbd5e1; 
  border-radius: .75rem; 
  background: #f8fafc; 
  text-align: center;
  color: #6b7280;
  font-style: italic;
}

.alert {
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

@media (max-width: 768px) { 
  .topbar { 
    gap: .5rem; 
    flex-wrap: wrap; 
  }
  
  .page-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .card-grid { 
    grid-template-columns: 1fr; 
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
}

/* Navbar dark içinde kimlik linklerinin görünürlüğü */
.navbar-dark .nav-link,
.navbar-dark .btn-link {
  color: rgba(255,255,255,.9) !important;
}
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus,
.navbar-dark .btn-link:hover,
.navbar-dark .btn-link:focus {
  color: #fff !important;
  text-decoration: none;
}

/* === Retro TV Theme === */
.retro-tv {
  --tv-body:#3a2e27;
  --tv-wood:#6f4e37;
  --tv-accent:#d2b48c;
  --tv-screen:#111;
  --radius:16px;

  max-width: 420px;
  margin: 12px auto;
}

.retro-tv__bezel {
  display: grid;
  grid-template-columns: 1fr 140px;
  background: var(--tv-wood);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 0 0 4px rgba(0,0,0,.15);
  overflow: hidden;
}

.retro-tv__screen {
  background: radial-gradient(ellipse at center, #222 0%, #0d0d0d 60%, #000 100%);
  aspect-ratio: 16/10;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  border-right: 4px solid rgba(0,0,0,.2);
  overflow: hidden;
}
.retro-tv__media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display:block;
}
.retro-tv__audio { width: 92%; }

.retro-tv__panel {
  background: linear-gradient(180deg, var(--tv-body), #2d231e);
  padding: 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:16px;
}

.retro-tv__knob {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e7e0d6, #b5a999 60%, #8c7c69);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.3), 0 2px 5px rgba(0,0,0,.3);
}
.retro-tv__knob--big { width: 54px; height: 54px; }

.retro-tv__vents {
  width: 80%;
  height: 8px;
  background: repeating-linear-gradient(
    to right,
    rgba(0,0,0,.6) 0 6px,
    rgba(255,255,255,.08) 6px 10px
  );
  border-radius: 4px;
}

.retro-tv__legs {
  width: 80%;
  height: 14px;
  margin: 8px auto 0;
  background: var(--tv-accent);
  border-radius: 0 0 10px 10px;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.25);
}

@media (max-width: 576px){
  .retro-tv__bezel { grid-template-columns: 1fr 90px; }
}

.retro-tv__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

/* === Polaroid === */
.polaroid{
  max-width:420px;margin:12px auto;background:#fff;border:1px solid #ddd;border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}
.polaroid__frame{padding:12px 12px 36px 12px;}
.polaroid__img{width:100%;height:360px;object-fit:cover;display:block;filter:sepia(0.25);}
.polaroid__media{width:100%;height:360px;object-fit:contain;display:block;}
.polaroid__zoom{display:block;cursor:zoom-in}

/* === VHS / Kaset === */
.vhs{display:grid;grid-template-columns:1fr 120px;max-width:520px;margin:12px auto;border-radius:10px;
     background:#0e0e0e;color:#eee;box-shadow:0 8px 20px rgba(0,0,0,.25), inset 0 0 0 3px rgba(255,255,255,.06)}
.vhs__screen{position:relative;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;overflow:hidden}
.vhs__screen::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0 2px, rgba(0,0,0,0) 2px 4px),
    radial-gradient(ellipse at center, rgba(0,0,0,.0), rgba(0,0,0,.35) 70%);
}
.vhs__media{width:100%;height:100%;object-fit:contain;display:block}
.vhs__zoom{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:zoom-in}
.vhs__label{background:#efefef;color:#111;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.vhs__stripe{width:70%;height:10px;background:linear-gradient(90deg,#f44336,#ff9800,#ffeb3b,#4caf50,#2196f3,#9c27b0);border-radius:6px}
.vhs__code{font-weight:700;letter-spacing:1px}

/* === Projektör === */
.projector{max-width:520px;margin:12px auto;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.projector__stage{position:relative;background:#000;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center}
.projector__stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(255,255,255,.04), rgba(0,0,0,.8) 70%);
  mix-blend-mode:screen;
}
.projector__media{width:100%;height:100%;object-fit:contain;display:block;filter:contrast(1.03) brightness(1.02)}
.projector__zoom{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:zoom-in}

/* === Mektup / Zarf === */
.envelope{max-width:520px;margin:12px auto;position:relative;background:#d6c0a8;border:1px solid #b79f86;border-radius:10px;
          box-shadow:inset 0 0 0 4px rgba(0,0,0,.05), 0 8px 20px rgba(0,0,0,.15)}
.envelope__paper{margin:18px;background:#fff4e6;border:1px dashed #c9ad8f;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10}
.envelope__media{width:100%;height:100%;object-fit:contain;display:block}
.envelope__zoom{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:zoom-in}
.envelope__seal{
  position:absolute;right:18px;bottom:18px;width:42px;height:42px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #e35d6a, #a82030 70%, #6b0d19);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.25), 0 2px 4px rgba(0,0,0,.3);
}

/* === Capsule Card === */
.capsule-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

/* Liste alanı arka planı */
.capsule-area {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 16px;
}

/* Sayfa genel kapsayıcı zemin */
.capsule-page {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 16px;
}

/* === Kapsül Kart Responsive === */
/* Kapsül kart: mobilde full genişlik hissi ve yumuşak boşluklar */
.capsule-card {
  border-radius: 12px;
  overflow: hidden;
}

/* Medya elemanları tüm genişliği kapsasın */
.capsule-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Bootstrap yoksa: oran tutucu (1:1) — gerekirse sınıfı ratio yerine kullan */
.capsule-media::before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1 oran; istenirse 4:5 veya 3:4 yapılabilir */
}

.capsule-media > .capsule-media-el,
.capsule-media > img,
.capsule-media > video,
.capsule-media > iframe {
  position: absolute; /* oran kutusu için mutlak konum */
  top: 0; left: 0; width: 100%; height: 100%;
  display: block;
  object-fit: cover; /* resim/video kırpmayı şık yapar */
  border: 0;
}

/* Video ve iframe için iOS/Android uyumu */
.capsule-media > video {
  background: #000;
}

/* Mobil kırılım: kartlar ekranda tam genişlik gibi dursun */
@media (max-width: 640px) {
  /* Eğer Bootstrap row/col kullanıyorsak, zaten row-cols-1 tek sütün yapar.
     Yine de kartın kenar boşluklarını mobilde optimize edelim. */
  .row > [class*="col"] > .card.capsule-card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Container çok dar ise kenar boşluklarını hafiflet */
  .container, .container-sm, .container-fluid {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Yüksek çözünürlüklü küçük ekranlarda da temiz kalsın */
@media (max-width: 576px) {
  .row.g-3 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.75rem;
  }
}

/* ---------- MEDYA KAPSÜLÜ GENEL ---------- */
/* Yukarıdaki yeni stiller kullanılıyor, bu eski stiller kaldırıldı */


  /* Kart dışındaki fazladan katmanları görünmez/etkisiz yap (özellikle table/panel/box) */
  .capsule-item > .panel,
  .capsule-item > .box,
  .capsule-item > .card:not(.capsule-card),
  .capsule-item > [class*="wrapper"],
  .capsule-item > [class*="outer"] {
    background: transparent !important;
    padding: 0 !important; margin: 0 !important;
    border: 0 !important; box-shadow: none !important;
  }

  /* Eğer içte TABLE yapısı kullanıldıysa: hücre boşluk/border'larını sıfırla */
  .capsule-item table, 
  .capsule-item tbody, 
  .capsule-item tr, 
  .capsule-item td, 
  .capsule-item th {
    border: 0 !important; padding: 0 !important; margin: 0 !important;
    background: transparent !important; box-shadow: none !important;
  }

  /* Kart mobilde kenardan kenara düz dursun */
  .card.capsule-card { border-radius: 0 !important; }

  /* Medya alanı tam genişlikte görünsün */
  .capsule-media { margin: 0 !important; }
}

/* ---- Edge-to-edge mobilde koru ---- */
@media (max-width: 640px) {
  .edge-bleed {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    width: 100vw !important;
  }
  .edge-bleed .row {
    --bs-gutter-x: 0 !important; --bs-gutter-y: 0 !important;
    margin-left: 0 !important; margin-right: 0 !important;
  }
  .edge-bleed [class^="col"], .edge-bleed [class*=" col"] {
    padding-left: 0 !important; padding-right: 0 !important;
  }
}

/* ---- Masaüstünde normal grid davranışı ---- */
@media (min-width: 641px) {
  .edge-bleed {
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
  }
  .edge-bleed .row {
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .edge-bleed [class^="col"], .edge-bleed [class*=" col"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* Modern medya tasarımı */
.capsule-media { 
  position: relative; 
  width: 100%; 
  overflow: hidden; 
  border-radius: 16px; /* modern radius */
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capsule-media::before {
  content: ""; 
  display: block; 
  padding-top: 100%; /* 1:1 oran - tüm cihazlarda aynı */
}

.capsule-media > img,
.capsule-media > video,
.capsule-media > .capsule-media-el {
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  object-position: center;
  display: block; 
  border: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern medya hover efekti */
.capsule-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.capsule-media:hover > img,
.capsule-media:hover > video,
.capsule-media:hover > .capsule-media-el {
  transform: scale(1.05);
}

/* Sadece resimler için büyüteç cursor'ı */
.capsule-media > img[data-lightbox-src] {
  cursor: zoom-in;
}

.capsule-media > img[data-lightbox-src]:hover {
  transform: scale(1.02);
}

/* Video için özel ayar */
.capsule-media > video {
  background: #000;
}

/* Mobilde kapsüller arası boşluk */
.capsule-item {
  margin-bottom: 20px; /* kapsüller arasında nefes */
}

/* Masaüstünde kapsüller arası boşluğu %40 büyütülmüş kapsüller için ayarla */
@media (min-width: 768px) {
  .capsule-item {
    margin-bottom: 8px; /* biraz daha boşluk */
  }
  
  /* Row ve col yapısını %40 büyütülmüş kapsüller için ayarla */
  .row {
    --bs-gutter-x: 0.7rem !important; /* biraz daha boşluk */
    --bs-gutter-y: 0.7rem !important; /* biraz daha boşluk */
  }
  
  .row > [class*="col"] {
    padding-left: 0.35rem !important; /* biraz daha boşluk */
    padding-right: 0.35rem !important;
  }
}

/* ---------- Opsiyonel: md+'da tek sütun modu ---------- */
@media (min-width: 768px) {
  .edge-onecol .row { --bs-gutter-x: 1rem; --bs-gutter-y: 1.25rem; }
  .edge-onecol .row { grid-auto-rows: auto; }
  .edge-onecol .row [class^="row-cols-"], .edge-onecol .row [class*="row-cols-"] { }
  .edge-onecol .row { /* Bootstrap row-cols-1 override için güvence */
    column-count: 1;
  }
  /* Bootstrap kullanıyorsan daha pratik: HTML'de row-cols-md-1 verilebilir;
     istemiyorsan aşağıdaki yedek: */
  .edge-onecol .row > [class*="col"] { width: 100%; flex: 0 0 100%; max-width: 100%; }
}

/* ---------- MD+ (masaüstü) ---------- */
@media (min-width: 768px) {
  .card.capsule-card { border-radius: .5rem; } /* mevcut radius'u koru */
}


/* ---- Ana sayfa modern div yapısı ---- */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.feed-section {
  background: #ffffff;
  min-height: 60vh;
  padding: 2rem 0;
  position: relative;
}

/* Modern arka plan pattern */
.feed-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.feed-section > * {
  position: relative;
  z-index: 1;
}

.capsules-grid-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

.capsules-container {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* ---------------- Masaüstü (≥768px): Capsules stili -------------------- */
@media (min-width: 768px) {

  /* Modern kapsül tasarımı - Glassmorphism + Gradient */
  .capsule-shell {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px; /* modern büyük radius */
    box-shadow: 
      0 8px 32px rgba(0,0,0,0.1),
      0 2px 8px rgba(0,0,0,0.05),
      inset 0 1px 0 rgba(255,255,255,0.8); /* modern layered shadow */
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3); /* glassmorphism border */
    transform: scale(0.94);
    transform-origin: top center;
    margin-bottom: -6%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* modern smooth transition */
    position: relative;
  }
  
  /* Modern hover efekti */
  .capsule-shell:hover {
    transform: scale(0.96) translateY(-4px);
    box-shadow: 
      0 20px 40px rgba(0,0,0,0.15),
      0 8px 16px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.5);
  }
  
  /* Modern gradient overlay */
  .capsule-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    z-index: 1;
  }

  /* Modern bölüm tasarımı */
  .capsule-section {
    padding: 20px 24px; /* modern daha geniş padding */
    position: relative;
    z-index: 2;
  }

  .capsule-section.section--plain {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
    backdrop-filter: blur(10px);
  }
  
  .capsule-section.section--muted {
    background: linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(241,245,249,0.7) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  /* section--muted arka planı yukarıda global olarak tanımlandı */

  /* Bölüm araları net görünsün (Capsules hissi) */
  .capsule-section + .capsule-section {
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  /* İçerik kısmındaki kartın kenar boşluğu: nefes alan bir yapı */
  .capsule-section.section--plain .capsule-card-host {
    margin: 0; /* _CapsuleCard içinde kendi spacing'i varsa yeterli */
  }

  /* İç table/yorum kapsayan div: gölgeyi kaldır */
  .capsule-inner {
    box-shadow: none !important;
    border: none !important;
  }

  /* Tipografi masaüstünde bir tık güçlü kalsın (önceki clamp mevcutsa tamamlayıcı) - küçültülmüş */
  .capsule-section .section-title { 
    font-weight: 600; 
    margin-bottom: 5px; /* 8px'den küçültüldü */
    font-size: 0.9rem; /* 1.05rem'den küçültüldü */
  }
  
  /* Modern tipografi */
  .capsule-card .card-title {
    font-size: 1.4rem !important; /* modern büyük başlık */
    margin-bottom: 1rem !important;
    font-weight: 700 !important; /* modern bold */
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em; /* modern tight spacing */
  }
  
  .capsule-card .card-text {
    font-size: 1.05rem !important; /* modern okunabilir metin */
    line-height: 1.6 !important; /* modern line height */
    color: #4b5563 !important; /* modern text color */
    font-weight: 400 !important;
  }
  
  /* Modern avatar tasarımı */
  .capsule-avatar {
    width: 40px !important; /* modern boyut */
    height: 40px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(255,255,255,0.8) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
  }
  
  .capsule-avatar:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
  }
  
  /* Modern username tasarımı */
  .capsule-username {
    font-size: 1.15rem !important; /* modern boyut */
    font-weight: 600 !important; /* modern weight */
    color: #1f2937 !important; /* modern color */
    letter-spacing: -0.01em !important; /* modern spacing */
  }
}

/* Beğen butonu + sayaç stilleri */
.like-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px; /* açıklama ile arası */
}

.btn-like {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-like:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.like-count {
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

/* Beğeni butonu için özel stiller */
.like-btn {
  transition: all 0.2s ease;
  border-radius: 6px !important;
}

.like-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.like-btn .like-icon {
  font-size: 1.1rem;
  margin-right: 4px;
}

.like-btn .like-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Modern buton tasarımları */
@media (min-width: 768px) {
  .like-btn {
    padding: 0.5rem 1rem !important; /* modern padding */
    font-size: 0.9rem !important;
    border-radius: 12px !important; /* modern radius */
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 500 !important;
  }
  
  .like-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
  }
  
  .like-btn:hover .like-text {
    color: #1d4ed8 !important; /* hover'da mavi renk */
  }
  
  .like-btn .like-icon {
    font-size: 1.1rem !important; /* modern ikon boyutu */
    margin-right: 6px !important;
    transition: transform 0.2s ease !important;
  }
  
  .like-btn:hover .like-icon {
    transform: scale(1.1) !important;
  }
  
  .like-btn .like-text {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #374151 !important; /* normal durumda koyu gri */
  }
  
  .badge {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 10px !important; /* modern radius */
    background: linear-gradient(135deg, rgba(241,245,249,0.9) 0%, rgba(226,232,240,0.8) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    font-weight: 500 !important;
  }
  
  /* Modern "Devamı" butonları */
  .btn-link {
    font-size: 0.9rem !important;
    color: #3b82f6 !important; /* modern mavi */
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-radius: 6px !important;
    padding: 0.25rem 0.5rem !important;
  }
  
  .btn-link:hover {
    color: #1d4ed8 !important;
    background: rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-1px) !important;
  }
  
  /* Modern genel butonlar */
  .btn-sm {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
  }
}

/* ---- Lightbox dialog ---- */
.img-lightbox {
  border: none; 
  padding: 0; 
  margin: 0;
  width: min(96vw, 1200px);
  max-height: 96vh;
  background: transparent;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  overflow: hidden;
}

.img-lightbox::backdrop {
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(2px);
}

.img-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 96vh;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.img-lightbox-close {
  position: absolute; 
  top: 12px; 
  right: 16px;
  z-index: 2; 
  border: none; 
  background: rgba(0,0,0,.7);
  color: #fff; 
  font-size: 24px; 
  line-height: 1;
  padding: 8px 12px; 
  border-radius: 50%; 
  cursor: pointer;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-lightbox-close:hover {
  background: rgba(0,0,0,.9);
  transform: scale(1.1);
}

/* === Capsule header background fix (mobile & desktop) === */
.capsule-section.section--muted {
  background-color: #f6f7f9; /* gri arka plan - tüm cihazlarda */
  padding: 16px 18px;
}

/* === Modern Admin Panel Styles === */
.admin-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.1),
    0 2px 8px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.admin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  z-index: 1;
}

.admin-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.15),
    0 8px 16px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.5);
}

.admin-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
  height: 100%;
}

.admin-card-link:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.admin-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #3b82f6;
  transition: all 0.3s ease;
}

.admin-card:hover .admin-card-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.25) 100%);
}

.admin-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
}

.admin-card-description {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

/* Admin card specific colors */
.admin-card--stats .admin-card-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #10b981;
}

.admin-card--capsules .admin-card-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.15) 100%);
  color: #8b5cf6;
}

.admin-card--users .admin-card-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.15) 100%);
  color: #f59e0b;
}

.admin-card--credits .admin-card-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.15) 100%);
  color: #ec4899;
}

.admin-card--mail .admin-card-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.15) 100%);
  color: #0ea5e9;
}

.admin-card--time .admin-card-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(21, 128, 61, 0.15) 100%);
  color: #22c55e;
}

.admin-card--theme .admin-card-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(147, 51, 234, 0.15) 100%);
  color: #a855f7;
}

.admin-card--auth .admin-card-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  color: #ef4444;
}

.admin-card--upload .admin-card-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(79, 70, 229, 0.15) 100%);
  color: #6366f1;
}

/* === Modern Admin Users Table Styles === */
.admin-users-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem 0;
  overflow-x: auto; /* Yatay kaydırma için */
  overflow-y: visible; /* Dikey kaydırmayı serbest bırak */
  height: auto !important; /* Yükseklik sınırını kaldır */
  max-height: none !important; /* Maksimum yükseklik sınırını kaldır */
}

.admin-users-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-users-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.admin-users-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.admin-search-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-search-input {
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.admin-search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255,255,255,0.95);
}

.admin-search-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.admin-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.admin-users-table-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: visible !important; /* Tablo içeriğinin görünmesi için */
  max-height: none !important; /* Yükseklik sınırını kaldır */
  height: auto !important; /* Yükseklik otomatik */
  min-height: auto !important; /* Minimum yükseklik sınırını kaldır */
}

.admin-users-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.admin-users-table thead th {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #1f2937;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1.25rem 1rem;
  border: none;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-users-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.admin-users-table tbody tr:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.08) 100%);
  transform: scale(1.01);
}

.admin-users-table tbody td {
  padding: 1.25rem 1rem;
  border: none;
  vertical-align: middle;
  font-size: 0.95rem;
}

.admin-user-email {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

.admin-user-date {
  color: #6b7280;
  font-size: 0.9rem;
}

.admin-user-stats {
  font-weight: 600;
  color: #374151;
}

.admin-user-credit {
  font-weight: 700;
  color: #059669;
  font-size: 1.1rem;
}

.admin-credit-form {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-credit-input {
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
}

.admin-credit-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.admin-credit-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.admin-credit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.admin-action-btn {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
}

.admin-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.admin-action-btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  color: white;
}

.admin-action-btn--warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  color: white;
}

.admin-action-btn--success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: white;
}

.admin-action-btn--secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  border: none;
  color: white;
}

.admin-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Admin Users sayfası için özel geniş layout */
.admin-users-container {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  clear: both !important;
}

/* === Admin Users Card Design === */
.admin-users-list-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.admin-user-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.admin-user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.admin-user-card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.admin-user-avatar-icon {
  font-size: 1.5rem;
}

.admin-user-info {
  flex: 1;
}

.admin-user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  word-break: break-all;
}

.admin-user-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
}

.admin-user-card-body {
  padding: 0 1.5rem 1rem;
  flex: 1;
}

.admin-user-stats-row {
  display: flex;
  gap: 1rem;
}

.admin-user-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.admin-user-stat-icon {
  font-size: 1rem;
}

.admin-user-stat-text {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

.admin-user-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.admin-user-detail-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.admin-user-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  color: white;
}

.admin-user-detail-icon {
  font-size: 1rem;
}

/* === Admin User Detail Modal Styles === */
.admin-user-detail-modal {
  max-width: 90vw;
}

.admin-user-detail-section {
  background: linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(241,245,249,0.6) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.admin-user-detail-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-user-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-user-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.admin-user-detail-item:last-child {
  border-bottom: none;
}

.admin-user-detail-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.admin-user-detail-value {
  font-weight: 500;
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-user-detail-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-user-detail-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
}

.admin-user-detail-stat-icon {
  font-size: 1.25rem;
}

.admin-user-detail-stat-label {
  flex: 1;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.admin-user-detail-stat-value {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.1rem;
}

.admin-user-detail-credit-form {
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.admin-user-detail-current-credit {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 700;
  color: #059669;
  font-size: 1.1rem;
  text-align: center;
}

.admin-user-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* === Admin Capsules Design === */
.admin-capsules-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem 0;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.admin-capsules-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.admin-capsules-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.admin-capsules-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
}

.admin-capsules-alert {
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.admin-capsules-list-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.admin-capsule-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.admin-capsule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.admin-capsule-card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-capsule-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.admin-capsule-avatar-icon {
  font-size: 1.5rem;
}

.admin-capsule-info {
  flex: 1;
}

.admin-capsule-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  word-break: break-word;
  line-height: 1.4;
}

.admin-capsule-owner {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

.admin-capsule-card-body {
  padding: 0 1.5rem 1rem;
  flex: 1;
}

.admin-capsule-stats-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-capsule-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.admin-capsule-stat-icon {
  font-size: 1rem;
}

.admin-capsule-stat-text {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.admin-capsule-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.admin-capsule-status--scheduled {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.15) 100%);
  color: #374151;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.admin-capsule-status--sent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.admin-capsule-status--seen {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-capsule-status--answered {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.admin-capsule-status-icon {
  font-size: 1rem;
}

.admin-capsule-status-text {
  font-size: 0.85rem;
}

.admin-capsule-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.admin-capsule-detail-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.admin-capsule-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  color: white;
}

.admin-capsule-detail-icon {
  font-size: 1rem;
}

/* === Admin Capsule Detail Modal Styles === */
.admin-capsule-detail-modal {
  max-width: 90vw;
}

.admin-capsule-detail-section {
  background: linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(241,245,249,0.6) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.admin-capsule-detail-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-capsule-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-capsule-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.admin-capsule-detail-item:last-child {
  border-bottom: none;
}

.admin-capsule-detail-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.admin-capsule-detail-value {
  font-weight: 500;
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-capsule-detail-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-capsule-detail-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
}

.admin-capsule-detail-stat-icon {
  font-size: 1.25rem;
}

.admin-capsule-detail-stat-label {
  flex: 1;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.admin-capsule-detail-stat-value {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.1rem;
}

.admin-capsule-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-capsule-detail-status-info {
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.admin-capsule-detail-status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.admin-capsule-detail-status-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.admin-capsule-detail-status-value {
  font-weight: 500;
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-capsule-detail-status-description {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  font-style: italic;
}

.admin-capsule-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.admin-capsule-status-badge--scheduled {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.15) 100%);
  color: #374151;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.admin-capsule-status-badge--sent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.admin-capsule-status-badge--seen {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-capsule-status-badge--answered {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* === Admin Capsules Single Row Design === */
.admin-capsules-single-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-capsule-single-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.admin-capsule-single-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.admin-capsule-single-header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.admin-capsule-single-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.admin-capsule-single-avatar-icon {
  font-size: 1.75rem;
}

.admin-capsule-single-info {
  flex: 1;
  min-width: 0;
}

.admin-capsule-single-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  word-break: break-word;
  line-height: 1.4;
}

.admin-capsule-single-owner {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.admin-capsule-single-status {
  flex-shrink: 0;
}

.admin-capsule-single-body {
  padding: 1.5rem 2rem;
  flex: 1;
}

.admin-capsule-single-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.admin-capsule-single-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 200px;
}

.admin-capsule-single-stat-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.admin-capsule-single-stat-label {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 600;
  flex-shrink: 0;
}

.admin-capsule-single-stat-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 700;
  flex: 1;
}

.admin-capsule-single-footer {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: flex-end;
}

.admin-capsule-single-detail-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 180px;
}

.admin-capsule-single-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  color: white;
}

.admin-capsule-single-detail-icon {
  font-size: 1.1rem;
}

/* Responsive Design for Single Row */
@media (max-width: 768px) {
  .admin-capsule-single-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }
  
  .admin-capsule-single-status {
    align-self: flex-start;
  }
  
  .admin-capsule-single-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .admin-capsule-single-stat {
    min-width: auto;
  }
  
  .admin-capsule-single-footer {
    justify-content: center;
  }
  
  .admin-capsule-single-detail-btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .admin-capsule-single-header {
    padding: 1rem 1.5rem;
  }
  
  .admin-capsule-single-body {
    padding: 1rem 1.5rem;
  }
  
  .admin-capsule-single-footer {
    padding: 1rem 1.5rem;
  }
  
  .admin-capsule-single-avatar {
    width: 50px;
    height: 50px;
  }
  
  .admin-capsule-single-avatar-icon {
    font-size: 1.5rem;
  }
  
  .admin-capsule-single-title {
    font-size: 1.1rem;
  }
}

/* === Admin Stats Design === */
.admin-stats-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem 0;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.admin-stats-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.admin-stats-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.admin-stats-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
}

.admin-stats-cards {
  margin-bottom: 2rem;
}

.admin-stats-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.admin-stats-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stats-card--users .admin-stats-card-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.admin-stats-card--capsules .admin-stats-card-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.admin-stats-card--upcoming .admin-stats-card-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 2px solid rgba(245, 158, 11, 0.2);
}

.admin-stats-card--due .admin-stats-card-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.admin-stats-icon {
  font-size: 1.75rem;
}

.admin-stats-card-content {
  flex: 1;
}

.admin-stats-card-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.admin-stats-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.admin-stats-charts {
  margin-bottom: 2rem;
}

.admin-stats-chart-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  height: 100%;
}

.admin-stats-chart-header {
  margin-bottom: 1.5rem;
}

.admin-stats-chart-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-stats-chart-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

.admin-stats-chart-body {
  height: 320px;
  position: relative;
}

.admin-stats-top-users {
  margin-bottom: 2rem;
}

.admin-stats-table-container {
  overflow-x: auto;
}

.admin-stats-table-responsive {
  min-width: 100%;
}

.admin-stats-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.6);
}

.admin-stats-table-header {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #1f2937;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}

.admin-stats-table-header--right {
  text-align: right;
}

.admin-stats-table-row {
  transition: all 0.2s ease;
}

.admin-stats-table-row:hover {
  background: rgba(59, 130, 246, 0.05);
}

.admin-stats-table-cell {
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: middle;
}

.admin-stats-table-cell--right {
  text-align: right;
}

.admin-stats-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-stats-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.admin-stats-user-email {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-stats-capsule-count {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #059669;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* === Visitor Analytics Styles === */
.admin-stats-visitor-analytics {
  margin-top: 2rem;
}

.admin-stats-visitor-controls {
  margin-bottom: 2rem;
}

.admin-stats-time-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-stats-time-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.admin-stats-time-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #1d4ed8;
  transform: translateY(-2px);
  text-decoration: none;
}

.admin-stats-time-btn--active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #1d4ed8;
}

.admin-stats-time-icon {
  font-size: 1rem;
}

.admin-stats-time-text {
  font-size: 0.9rem;
}

.admin-stats-visitor-summary {
  margin-bottom: 2rem;
}

.admin-stats-visitor-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-stats-visitor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.admin-stats-visitor-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stats-visitor-card--total .admin-stats-visitor-card-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.admin-stats-visitor-card--member .admin-stats-visitor-card-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.admin-stats-visitor-card--guest .admin-stats-visitor-card-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 2px solid rgba(245, 158, 11, 0.2);
}

.admin-stats-visitor-icon {
  font-size: 1.5rem;
}

.admin-stats-visitor-card-content {
  flex: 1;
}

.admin-stats-visitor-card-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.admin-stats-visitor-card-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.admin-stats-visitor-chart {
  margin-bottom: 2rem;
}

.admin-stats-visitor-table {
  margin-top: 2rem;
}

.admin-stats-date {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-stats-visitor-count {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid;
}

.admin-stats-visitor-count--total {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.2);
}

.admin-stats-visitor-count--member {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.admin-stats-visitor-count--guest {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

/* Admin Users sayfasında body ve html overflow ayarları */
body:has(.admin-users-container) {
  overflow-x: auto !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
}

html:has(.admin-users-container) {
  overflow-x: auto !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
}

.admin-users-container .container-fluid {
  max-width: 100% !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  height: auto !important; /* Yükseklik sınırını kaldır */
  min-height: auto !important; /* Minimum yükseklik sınırını kaldır */
  overflow: visible !important; /* İçeriğin görünmesi için */
  position: relative !important;
}

.admin-users-container .admin-users-table-container {
  overflow-x: auto; /* Sadece yatay kaydırma */
  overflow-y: visible !important; /* Dikey kaydırmayı serbest bırak */
  -webkit-overflow-scrolling: touch;
  max-height: none !important; /* Yükseklik sınırını kaldır */
  height: auto !important; /* Yükseklik otomatik */
  min-height: auto !important; /* Minimum yükseklik sınırını kaldır */
  position: relative !important;
  z-index: 10 !important; /* Üstte görünmesi için */
}

.admin-users-container .admin-users-table {
  min-width: 1400px; /* Minimum tablo genişliği */
  width: 100%;
}

.admin-users-container .admin-users-table thead th,
.admin-users-container .admin-users-table tbody td {
  white-space: nowrap;
  min-width: auto;
}

/* Sütun genişlikleri - Admin Users sayfası için özel */
.admin-users-container .admin-users-table th:nth-child(1),
.admin-users-container .admin-users-table td:nth-child(1) {
  width: 250px !important;
  min-width: 250px !important;
}

.admin-users-container .admin-users-table th:nth-child(2),
.admin-users-container .admin-users-table td:nth-child(2) {
  width: 150px !important;
  min-width: 150px !important;
}

.admin-users-container .admin-users-table th:nth-child(3),
.admin-users-container .admin-users-table td:nth-child(3) {
  width: 120px !important;
  min-width: 120px !important;
}

.admin-users-container .admin-users-table th:nth-child(4),
.admin-users-container .admin-users-table td:nth-child(4) {
  width: 120px !important;
  min-width: 120px !important;
}

.admin-users-container .admin-users-table th:nth-child(5),
.admin-users-container .admin-users-table td:nth-child(5) {
  width: 120px !important;
  min-width: 120px !important;
}

.admin-users-container .admin-users-table th:nth-child(6),
.admin-users-container .admin-users-table td:nth-child(6) {
  width: 350px !important;
  min-width: 350px !important;
}

.admin-users-container .admin-users-table th:nth-child(7),
.admin-users-container .admin-users-table td:nth-child(7) {
  width: 300px !important;
  min-width: 300px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .admin-users-container {
    padding: 1rem 0;
  }
  
  .admin-users-header {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .admin-users-title {
    font-size: 2rem;
  }
  
  .admin-search-container {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .admin-users-table thead th,
  .admin-users-table tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .admin-action-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    margin: 0.1rem;
  }
}

/* === Modern Capsules Page Styles === */
.capsules-page-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.capsules-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.capsules-header-content {
  flex: 1;
  min-width: 300px;
}

.capsules-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.capsules-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
}

.capsules-header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.balance-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.balance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.balance-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.balance-content {
  display: flex;
  flex-direction: column;
}

.balance-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.balance-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #059669;
}

.btn-create-capsule {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-create-capsule:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

.btn-create-capsule .btn-icon {
  font-size: 1.25rem;
}

/* Empty State */
.empty-state {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 4rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.empty-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.empty-description {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-create-first {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 16px;
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-create-first:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

/* Capsules Grid */
.capsules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Modern Capsule Card */
.capsule-card-modern {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.capsule-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.capsule-card-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.capsule-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-scheduled {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.15) 100%);
  color: #374151;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.status-sent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-seen {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-answered {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-icon {
  font-size: 1rem;
}

.capsule-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.capsule-card-body {
  padding: 1rem 1.5rem;
  flex: 1;
}

.capsule-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.meta-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
  min-width: 100px;
}

.meta-value {
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}

.privacy-badge {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.15) 100%);
  color: #374151;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.capsule-media-preview {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.media-image, .media-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.media-audio {
  width: 100%;
  border-radius: 8px;
}

.media-file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(248,250,252,0.8);
  border-radius: 8px;
}

.file-icon {
  font-size: 1.25rem;
}

.file-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.file-link:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.capsule-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 0.75rem;
}

.btn-view, .btn-delete {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-view {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

.btn-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-icon {
  font-size: 1rem;
}

/* Modern Modal Styles */
.modern-modal {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}

.modern-modal-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-icon {
  font-size: 1.5rem;
}

.modern-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.modern-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.modern-modal-body {
  padding: 2rem;
  background: rgba(255,255,255,0.8);
}

.delete-info-alert {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.delete-confirmation-text {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.delete-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  color: #d97706;
  font-weight: 600;
}

.warning-icon {
  font-size: 1.25rem;
}

.modern-modal-footer {
  background: linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(241,245,249,0.6) 100%);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem 2rem;
}

.delete-form {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.btn-cancel, .btn-confirm-delete {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cancel {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-cancel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 114, 128, 0.4);
}

.btn-confirm-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-confirm-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .capsules-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem;
  }
  
  .capsules-header-actions {
    justify-content: center;
  }
  
  .capsules-title {
    font-size: 2rem;
  }
  
  .capsules-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .capsule-card-footer {
    flex-direction: column;
  }
  
  .delete-form {
    flex-direction: column;
  }
}

/* === Modern Capsule Details Page Styles === */
.capsule-details-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.capsule-details-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.capsule-details-title-section {
  flex: 1;
  min-width: 300px;
}

.capsule-details-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  word-break: break-word;
}

.capsule-details-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
}

.capsule-details-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-back {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  border: none;
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
  color: white;
  text-decoration: none;
}

/* Status Section */
.capsule-status-section {
  margin-bottom: 2rem;
}

.capsule-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.capsule-status-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Details Card */
.capsule-details-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.capsule-details-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255,255,255,0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.detail-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 500;
}

.owner-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: #1d4ed8;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.time-info {
  font-style: italic;
  color: #6b7280;
}

.delay-badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937 !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Message Section */
.capsule-message-section {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 2rem;
}

.message-content {
  background: rgba(248,250,252,0.8);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1f2937;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Like Section */
.capsule-like-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.like-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.like-btn {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 1rem 2rem;
  color: #374151;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.like-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

.like-btn.liked {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.like-icon {
  font-size: 1.25rem;
}

.like-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.count-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
}

.count-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

/* Media Section */
.capsule-media-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.media-container {
  margin-top: 1.5rem;
}

.modern-media-card {
  background: rgba(0,0,0,0.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.media-content {
  position: relative;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.media-zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-zoom:hover .zoom-overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 2rem;
  color: white;
}

.media-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-audio {
  width: 100%;
  border-radius: 8px;
}

.media-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
}

.file-icon {
  font-size: 3rem;
  opacity: 0.7;
}

.file-download-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.file-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

/* No Media Section */
.no-media-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.no-media-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.no-media-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.no-media-description {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

/* Replies Section */
.capsule-replies-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.replies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-reply {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-reply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.replies-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reply-card {
  background: rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.reply-card:hover {
  background: rgba(255,255,255,0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.reply-header {
  margin-bottom: 1rem;
}

.reply-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.avatar-icon {
  font-size: 1.25rem;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.reply-date {
  font-size: 0.85rem;
  color: #6b7280;
}

.reply-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2937;
}

/* No Replies */
.no-replies {
  text-align: center;
  padding: 3rem 2rem;
}

.no-replies-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.no-replies-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.no-replies-description {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.btn-first-reply {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 16px;
  padding: 1rem 2rem;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-first-reply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Modern Form Styles */
.reply-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.modern-textarea {
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 120px;
}

.modern-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255,255,255,0.95);
  outline: none;
}

.form-help {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.help-icon {
  font-size: 1rem;
}

.help-text {
  font-size: 0.9rem;
  color: #1d4ed8;
  font-weight: 500;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-submit {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .capsule-details-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem;
  }
  
  .capsule-details-title {
    font-size: 2rem;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .like-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .replies-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-actions {
    flex-direction: column;
  }
}

/* === Capsule avatar (smaller) === */
.capsule-avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .capsule-avatar {
    width: 48px;
    height: 48px;
  }
}

/* Username bir tık büyük (fs-5 eşdeğeri ~1.25rem) */
.capsule-username {
  font-size: 1.125rem; /* mobil */
  line-height: 1.2;
}

@media (min-width: 768px) {
  .capsule-username {
    font-size: 1.25rem; /* md+ */
  }
}

/* ---------- DESKTOP TİPOGRAFİ BOOST ---------- */
@media (min-width: 992px) {
  .card.capsule-card .card-title { font-size: clamp(1.1rem, 1.2vw, 1.5rem); }
  .card.capsule-card .card-text  { font-size: clamp(0.95rem, .9vw, 1.125rem); line-height: 1.55; }
}
@media (min-width: 1400px) {
  .card.capsule-card .card-title { font-size: clamp(1.25rem, 1.1vw, 1.75rem); }
  .card.capsule-card .card-text  { font-size: clamp(1.05rem, .85vw, 1.25rem); }
}

/* ===== Renk Değişkenleri (Genel) ===== */
:root {
  --zk-surface: #ffffff;         /* alt bar yüzeyi (fallback) */
  --zk-border:  rgba(0,0,0,.08); /* alt bar üst çizgi */
  --zk-text:    #1f2328;         /* ikon/metin rengi */
}
/* Tema varyantları */
.theme-light {
  --zk-surface: #1a1a1a;
  --zk-border:  rgba(255,255,255,.15);
  --zk-text:    #ffffff;
}
.theme-dark {
  --zk-surface: rgba(20,20,22,.9);
  --zk-border:  rgba(255,255,255,.12);
  --zk-text:    #f5f7fb;
}

/* ===== Mobil düzenlemeler ===== */
@media (max-width: 576px) {
  .hide-on-mobile { display: none !important; }

  /* Üst bar — daha yüksek ve ortalanmış marka */
  header.navbar { min-height: 56px; padding: .35rem 0; }
  .zk-mobile-header { justify-content: center; }
  .zk-mobile-brand { margin: 0 auto; }
  #brand-area .zk-logo { width: 28px; height: 28px; }
  #brand-area .zk-brand-text { font-size: 1.125rem; font-weight: 700; letter-spacing: .2px; }

  /* İçerik, alt barla çakışmasın */
  .main-container { padding-bottom: 90px; }

  /* Alt bar: modern koyu tasarım - inceltilmiş */
  .zk-bottom-nav {
    position: fixed; left: 0; right: 0; bottom: var(--kb-safe);
    height: 70px;
    padding: 8px 20px calc(env(safe-area-inset-bottom) + 8px) 20px;
    background: var(--zk-surface);
    border-top: 1px solid var(--zk-border);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1040;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,.3);
  }
  .zk-tab { 
    color: var(--zk-text); 
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    text-decoration: none; background: transparent; border: 0;
    padding: 6px 8px; border-radius: 12px;
    transition: all 0.2s ease;
    min-width: 50px;
  }
  .zk-tab:hover { 
    background: rgba(255,255,255,.1); 
    transform: translateY(-1px);
  }
  .zk-tab:active { transform: translateY(0); }
  .zk-icon { width: 22px; height: 22px; fill: currentColor; }

  /* Hover/active — modern */
  .zk-tab:active,
  .zk-tab:focus { outline: none; }

  /* Ekle (FAB) — büyük ve görünür */
  .zk-tab-add { 
    position: relative; 
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
    border-radius: 20px !important;
    padding: 0 !important;
    min-width: 56px !important;
    height: 56px !important;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    margin-top: -8px !important;
  }
  .zk-tab-add:hover { 
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.6) !important;
  }
  .zk-tab-add:active { 
    transform: translateY(-2px) scale(1.02) !important;
  }
  .zk-tab-add .zk-fab {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: transparent; color: #fff;
    border-radius: 18px;
  }
  .zk-tab-add .zk-fab svg { width: 28px; height: 28px; fill: currentColor; }

  /* Menü popover (Profil/Admin) */
  .zk-menu {
    position: fixed; right: 16px; bottom: 90px;
    min-width: 200px; background: var(--zk-surface);
    border: 1px solid var(--zk-border); border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
    padding: 8px; display: none; z-index: 1050;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }
  .zk-menu.open { display: block; }
  .zk-menu-item {
    display: block; padding: 14px 16px; border-radius: 12px;
    color: var(--zk-text); text-decoration: none; font-size: 15px;
    transition: all 0.2s ease;
  }
  .zk-menu-item:hover { 
    background: rgba(255,255,255,.1); 
    transform: translateX(4px);
  }
  
  /* Logout form ve buton stilleri */
  .zk-menu-form {
    margin: 0;
    padding: 0;
  }
  
  .zk-menu-logout {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: #dc3545;
    font-size: 15px;
    cursor: pointer;
  }
  
  .zk-menu-logout:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #b02a37;
  }
}
/* ===== Instagram benzeri açıklama stilleri ===== */
.capsule-description {
  margin-top: 0.75rem;
  padding: 0.5rem 0;
}

.description-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
}

.description-content {
  flex: 1;
  min-width: 0;
}

.description-header {
  margin-bottom: 0.25rem;
}

.description-username {
  font-weight: 600;
  color: #262626;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.description-username.username-hidden {
  color: #8e8e8e;
}

.description-text {
  line-height: 1.4;
  color: #262626;
  font-size: 0.9rem;
}

.description-message {
  word-wrap: break-word;
  white-space: pre-wrap;
}

.btn-show-more {
  background: none;
  border: none;
  color: #8e8e8e !important;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  margin-left: 0.25rem;
}

.btn-show-more:hover {
  color: #262626 !important;
  text-decoration: none;
}

/* Mobil görünümde açıklama stilleri */
@media (max-width: 768px) {
  .capsule-description {
    margin-top: 0.5rem;
    padding: 0.25rem 0;
  }
  
  .description-avatar {
    width: 20px;
    height: 20px;
  }
  
  .description-username {
    font-size: 0.85rem;
  }
  
  .description-text {
    font-size: 0.85rem;
  }
  
  .btn-show-more {
    font-size: 0.8rem;
  }
}

/* Beğen butonu stilleri - yorumla butonu ile aynı boyut */
.like-btn {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 80px;
    height: 36px;
    box-shadow: none;
}

.like-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #6c757d;
    transform: translateY(-1px);
    box-shadow: none;
}

.like-btn:hover .like-icon {
    color: white;
}

.like-btn:hover .like-text {
    color: #212529;
}

.like-btn.liked {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    box-shadow: none;
}

.like-btn.liked .like-icon {
    color: #dc3545 !important;
}

.like-btn.liked:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #6c757d;
    box-shadow: none;
}

.like-btn.liked:hover .like-icon {
    color: white;
}

.like-btn.liked:hover .like-text {
    color: #212529;
}

/* Yorumla butonu stilleri */
.comment-btn {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 80px;
    height: 36px;
    box-shadow: none;
}

.comment-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #6c757d;
    transform: translateY(-1px);
    box-shadow: none;
}

.comment-btn:hover .comment-icon,
.comment-btn:hover .comment-text {
    color: white;
}

/* İkon ve yazı boyutlarını eşitle */
.like-icon,
.comment-icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    width: 16px;
    text-align: center;
}

.like-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    color: inherit;
}

.comment-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    color: inherit;
}

/* Mobil görünümde buton stilleri */
@media (max-width: 768px) {
    .like-btn,
    .comment-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 70px;
        height: 32px;
    }
    
    .like-icon,
    .comment-icon {
        font-size: 0.9rem;
        width: 14px;
    }
    
    .like-text,
    .comment-text {
        font-size: 0.85rem;
    }
    
    /* Mobil görünümde hover stilleri */
    .like-btn:hover .like-icon {
        color: white;
    }
    
    .like-btn:hover .like-text {
        color: #212529;
    }
    
    .like-btn.liked:hover .like-icon {
        color: white !important;
    }
    
    .like-btn.liked:hover .like-text {
        color: #212529;
    }
}

/* ===== Masaüstü: hiçbir şey değiştirmiyoruz ===== */