/* Stitch taslağındaki "glass" görünümü + ufak yardımcı sınıflar. Tailwind CDN
   yalnızca utility class üretir, bu custom değerler (backdrop-filter vb.)
   plugin olmadan Tailwind'de birebir karşılığı olmadığı için ayrı tutuluyor. */

body {
  background-color: #0b1326;
  color: #dae2fd;
}

.glass-panel {
  background-color: rgba(23, 31, 51, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel-top {
  background-color: rgba(23, 31, 51, 0.9);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.5); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ff5f00;
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 37%, rgba(255,255,255,0.05) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  max-width: 360px;
}
.toast-error { background: #93000a; color: #ffdad6; border: 1px solid #ffb4ab; }
.toast-success { background: #003c1f; color: #d6ffe4; border: 1px solid #4fd68a; }
