.toast-area {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.custom-toast {
    min-width: 280px;
    max-width: 380px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: toastIn .25s ease;
    pointer-events: auto;
    overflow: hidden;
}

.custom-toast.success {
    background: rgba(34, 197, 94, .94);
}

.custom-toast.error {
    background: rgba(239, 68, 68, .94);
}

.custom-toast.warning {
    background: rgba(245, 158, 11, .94);
}

.custom-toast.info {
    background: rgba(59, 130, 246, .94);
}

.custom-toast .toast-title {
    font-weight: 900;
    margin-bottom: 4px;
    font-size: 14px;
}

.custom-toast .toast-text {
    font-size: 13px;
    line-height: 1.8;
    opacity: .95;
}

.custom-toast.toast-out {
    animation: toastOut .25s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(18px);
    }
}

@media (max-width: 575px) {
    .toast-area {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .custom-toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}
