/* Site toast bildirimleri */
.site-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 36px));
    pointer-events: none;
}

.site-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8edf2;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .14), 0 2px 8px rgba(15, 23, 42, .06);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #1e293b;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    animation: siteToastIn .35s cubic-bezier(.21, 1, .32, 1) forwards;
}

.site-toast.is-leaving {
    animation: siteToastOut .28s ease forwards;
}

.site-toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.site-toast-success .site-toast-icon { background: #dcfce7; color: #166534; }
.site-toast-error .site-toast-icon { background: #fee2e2; color: #b91c1c; }
.site-toast-info .site-toast-icon { background: #dbeafe; color: #1d4ed8; }

.site-toast-body { flex: 1; padding-top: 3px; font-weight: 500; }

.site-toast-close {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    margin: -2px -4px 0 0;
}
.site-toast-close:hover { color: #64748b; }

.site-toast-success { border-left: 4px solid #16a34a; }
.site-toast-error { border-left: 4px solid #c42732; }
.site-toast-info { border-left: 4px solid #2563eb; }

@keyframes siteToastIn {
    to { transform: translateX(0); opacity: 1; }
}
@keyframes siteToastOut {
    to { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 575.98px) {
    .site-toast-stack { top: 12px; right: 12px; left: 12px; max-width: none; }
}
