body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  -webkit-tap-highlight-color: transparent;
}
.font-display { font-family: 'Outfit', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Mobil & Simülatör: Tüm çirkin masaüstü kaydırma çubuklarını (scrollbar) gizle */
html, body, div, main, aside, section, ul, ol, form {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.scrollbar-none::-webkit-scrollbar { display: none !important; width: 0 !important; }
.scrollbar-none { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* Dokunmatik kaydırma yaparken metin seçimini ve imleci yönet */
body.is-touch-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}
body.is-touch-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
  pointer-events: none !important;
}
[x-cloak] { display: none !important; }
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.7); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 20px; }
.toast{
  position:fixed;top:24px;right:20px;
  background:#10b981;color:#fff;
  font-size:13px;font-weight:600;
  padding:12px 16px;
  border-radius:14px;
  box-shadow:0 8px 28px rgba(0,0,0,.18);
  z-index:9999;
  display:flex;align-items:center;gap:10px;
  min-width:220px;max-width:320px;
  overflow:hidden;
  position:fixed;top:24px;right:20px;
}
.toast.error   { background:#ef4444; box-shadow:0 8px 28px rgba(239,68,68,.3); }
.toast.warning { background:#f59e0b; box-shadow:0 8px 28px rgba(245,158,11,.3); }

/* İkon dairesi */
.toast-rich-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  animation: toast-icon-pop 0.35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes toast-icon-pop {
  from { transform: scale(0) rotate(-15deg); opacity:0; }
  to   { transform: scale(1) rotate(0deg);  opacity:1; }
}

/* Metin alanı */
.toast-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.toast-rich-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.toast-msg {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.88;
}

.toast-progress{
  position:absolute;bottom:0;left:0;height:3px;
  background:rgba(255,255,255,.4);
  border-radius:0;
  animation: toast-shrink 3.5s linear forwards;
  width:100%;
}
@keyframes toast-shrink{
  from { width:100%; }
  to   { width:0%; }
}

