.app-notificaciones {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    max-height: 90vh;
    overflow: auto
}

.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #fff;
    color: #263044;
    border-radius: 16px;
    border: 1px solid #e7e9ed;
    border-left: 5px solid var(--toast-color);
    box-shadow: 0 12px 36px #16213e26;
    padding: 18px;
    font-family: system-ui, sans-serif;
    animation: toast-in .22s ease
}

.app-toast.success {
    --toast-color: #15803d
}

.app-toast.error {
    --toast-color: #be123c
}

.app-toast.warning {
    --toast-color: #b45309
}

.app-toast.info {
    --toast-color: #2563eb
}

.toast-icon {
    border-radius: 50%;
    background: var(--toast-color);
    color: white;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 800
}

.app-toast strong {
    font-size: 14px
}

.app-toast p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere
}

.app-toast button {
    background: none;
    border: 0;
    font-size: 23px;
    cursor: pointer;
    color: #64748b;
    margin-left: auto
}

.app-confirmacion {
    border: 0;
    border-radius: 20px;
    padding: 28px;
    max-width: min(440px, 90vw);
    color: #263044;
    box-shadow: 0 20px 70px #0004;
    font-family: system-ui
}

.app-confirmacion::backdrop {
    background: #17203388
}

.app-confirmacion button {
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    margin: 12px 8px 0 0;
    cursor: pointer
}

.app-confirmacion .confirmar {
    background: #9f1239;
    color: white
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:600px) {
    .app-notificaciones {
        top: 12px;
        right: 16px
    }

    .app-toast {
        padding: 15px
    }
}

@media(prefers-reduced-motion:reduce) {
    .app-toast {
        animation: none
    }
}