/* Anlik bildirim bileseni - toast sistemi (container, toast, icon/content/action/close, tip varyantlari) */

/* ============================================================
   28. TOAST / NOTIFICATION SYSTEM
   ============================================================ */

.p360-toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex; flex-direction: column-reverse; gap: 10px;
  z-index: 2000;
  pointer-events: none;
}

.p360-toast {
  pointer-events: auto;
  min-width: 280px; max-width: 420px;
  background: rgba(29,29,31,0.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: #fff; border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.30),
              inset 0 0 0 1px rgba(255,255,255,0.08);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; line-height: 1.45;
  transform: translateX(420px); opacity: 0;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1),
              opacity 0.18s ease;
}
.p360-toast.show { transform: translateX(0); opacity: 1; }
.p360-toast.hide { transform: translateX(40px); opacity: 0; }

.p360-toast .t-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.p360-toast.success .t-icon { background: var(--green); color: #fff; }
.p360-toast.error   .t-icon { background: var(--red);   color: #fff; }
.p360-toast.warn    .t-icon { background: var(--yellow); color: var(--text); }
.p360-toast.info    .t-icon { background: var(--mac-blue); color: #fff; }

.p360-toast .t-content { flex: 1; min-width: 0; }
.p360-toast .t-title { font-weight: 600; margin-bottom: 2px; }
.p360-toast .t-desc  { color: rgba(255,255,255,0.8); font-size: 12px; }

.p360-toast .t-action {
  background: transparent; border: 0;
  color: var(--mac-blue); font-weight: 600;
  font-size: 12px; cursor: pointer;
  padding: 2px 0; flex-shrink: 0;
}
.p360-toast.success .t-action { color: #74e592; }
.p360-toast.error   .t-action { color: #ff8a82; }
.p360-toast.warn    .t-action { color: #ffd66e; }

.p360-toast .t-close {
  background: transparent; border: 0; color: rgba(255,255,255,0.5);
  font-size: 14px; cursor: pointer; padding: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0;
  transition: all 0.12s ease;
}
.p360-toast .t-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
