/* site-notify.css — pretty alerts, toasts, confirm modal */
/* 2026-06-10 */
.site-notify-root { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.site-notify-toast-stack { position: fixed; top: 18px; right: 18px; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 36px)); pointer-events: none; }
.site-notify-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14); animation: site-notify-in 0.28s ease; }
.site-notify-toast.is-leaving { animation: site-notify-out 0.22s ease forwards; }
.site-notify-toast__icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.95rem; }
.site-notify-toast--info .site-notify-toast__icon { background: #eff6ff; color: #2563eb; }
.site-notify-toast--success .site-notify-toast__icon { background: #ecfdf5; color: #059669; }
.site-notify-toast--warning .site-notify-toast__icon { background: #fffbeb; color: #d97706; }
.site-notify-toast--danger .site-notify-toast__icon { background: #fef2f2; color: #dc2626; }
.site-notify-toast__body { flex: 1; min-width: 0; }
.site-notify-toast__title { margin: 0 0 4px; font-size: 0.92rem; font-weight: 700; color: #0f172a; }
.site-notify-toast__text { margin: 0; font-size: 0.84rem; line-height: 1.5; color: #475569; }
.site-notify-toast__close { border: none; background: transparent; color: #94a3b8; cursor: pointer; padding: 4px; border-radius: 6px; }
.site-notify-toast__close:hover { color: #475569; background: #f1f5f9; }
.site-notify-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(2px); pointer-events: auto; animation: site-notify-fade 0.2s ease; }
.site-notify-modal__card { width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 24px 22px 20px; box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2); text-align: center; }
.site-notify-modal__icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff7ed; color: #ea580c; font-size: 1.2rem; }
.site-notify-modal__title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.site-notify-modal__text { margin: 0 0 20px; font-size: 0.9rem; line-height: 1.55; color: #475569; }
.site-notify-modal__actions { display: flex; gap: 8px; justify-content: center; }
.site-notify-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; padding: 10px 16px; border-radius: 10px; font-size: 0.88rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.site-notify-btn--primary { background: var(--site-accent, #2563eb); color: #fff; }
.site-notify-btn--primary:hover { filter: brightness(1.05); }
.site-notify-btn--ghost { background: #fff; color: #334155; border-color: #e2e8f0; }
.site-notify-btn--ghost:hover { background: #f8fafc; }
.site-notify-panel { margin: 0 0 18px; padding: 18px 20px; border-radius: 14px; border: 1px solid #e2e8f0; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); text-align: center; }
.site-notify-panel__icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eff6ff; color: #2563eb; font-size: 1.1rem; }
.site-notify-panel--warning .site-notify-panel__icon { background: #fff7ed; color: #ea580c; }
.site-notify-panel--danger .site-notify-panel__icon { background: #fef2f2; color: #dc2626; }
.site-notify-panel h2 { margin: 0 0 8px; font-size: 1.05rem; color: #0f172a; }
.site-notify-panel p { margin: 0 0 14px; font-size: 0.9rem; line-height: 1.55; color: #475569; }
.site-notify-inline { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: 0.86rem; line-height: 1.5; }
.site-notify-inline--info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.site-notify-inline--warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.site-notify-inline--danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.site-notify-inline i { margin-top: 2px; }
@keyframes site-notify-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes site-notify-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }
@keyframes site-notify-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) { .site-notify-toast-stack { left: 18px; right: 18px; max-width: none; } }
