.siade-toast-region {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    width: min(380px, calc(100vw - 2rem));
    pointer-events: none;
}

.siade-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    gap: .75rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 30, 61, .18);
    animation: siadeToastIn .18s ease-out;
}

.siade-toast.is-leaving {
    animation: siadeToastOut .18s ease-in forwards;
}

.siade-toast-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.siade-toast-title {
    margin: 0 0 .15rem;
    color: #17233f;
    font-weight: 800;
    line-height: 1.2;
}

.siade-toast-message {
    margin: 0;
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.siade-toast-close {
    border: 0;
    background: #f1f5f9;
    color: #475569;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    line-height: 1;
}

.siade-toast-success .siade-toast-icon {
    background: #ecfdf5;
    color: #15803d;
}

.siade-toast-error .siade-toast-icon {
    background: #fef2f2;
    color: #dc2626;
}

.siade-toast-warning .siade-toast-icon {
    background: #fffbeb;
    color: #b45309;
}

.siade-toast-info .siade-toast-icon {
    background: #eff6ff;
    color: #2563eb;
}

.siade-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4990;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, .42);
}

.siade-confirm {
    width: min(420px, 100%);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 30, 61, .28);
}

.siade-confirm-head {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #0f1e3d, #25478a);
    color: #fff;
    font-weight: 800;
}

.siade-confirm-body {
    padding: 1.35rem;
    color: #334155;
    font-weight: 650;
}

.siade-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    padding: 0 1.35rem 1.35rem;
}

.siade-confirm-actions button {
    border: 0;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-weight: 800;
}

.siade-confirm-cancel {
    background: #f1f5f9;
    color: #334155;
}

.siade-confirm-ok {
    background: #dc2626;
    color: #fff;
}

@keyframes siadeToastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes siadeToastOut {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

@media (max-width: 575.98px) {
    .siade-toast-region {
        top: .75rem;
        right: .75rem;
        left: .75rem;
        width: auto;
    }
}
