﻿.toast-container {
    position: fixed;
    bottom: 32px;
    left: 0;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: end;
    pointer-events: none;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    padding: 18px 24px;
    margin-top: 12px;
    min-width: 260px;
    max-width: 94vw;
    font-size: .9rem;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    box-sizing: border-box;
    text-align: center;
}

.toast-success {
    background: #97d5bd;
    color: #000000;
    transition: .1s ease-in-out;
}

    .toast-success:hover {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        cursor: pointer;
    }

.toast-error {
    background: #d59797;
    color: #000000;
    transition: .1s ease-in-out;
}

    .toast-error:hover {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        cursor: pointer;
    }

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast .fa {
    margin-right: 5px;
}

.toast span {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: normal
}

@media (max-width: 500px) {
    .toast {
        font-size: 0.95rem;
        padding: 14px 10px;
        min-width: unset;
    }
}
