﻿/*.toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-toast {
    width: 300px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: black;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 6px solid;*/ /* color controlled via class */
/*position: relative;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.toast-success {
    border-color: #16a34a;*/ /* green-600 */
/*}

.toast-error {
    border-color: #dc2626;*/ /* red-600 */
/*}

.toast-message {
    padding-right: 0.25rem;
}

.toast-progress {
    height: 4px;
    background-color: #4b5563;*/ /* Tailwind gray-700, visible on white bg */
/*transform: scaleX(0);
    transform-origin: right;
    transition: transform 4s linear;
    margin-top: 0.5rem;
    border-radius: 2px;
}*/


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    0% {
        -webkit-transform: translate3d(0, -100%, 0);
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}

.sticky-active {
    box-shadow: 0 10px 50px 0 rgba(46, 56, 220, 0.2);
    z-index: 999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    animation: fadeInDown 300ms ease-in-out;
}


/*
.custom-toast-container {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1050;
    margin-bottom: 1rem;
}*/
.custom-toast-container {
    position: fixed;
    right: 1rem;
    top: 1rem; /* Changed from bottom: 0 to top: 1rem */
    z-index: 1050;
}


.custom-toast {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s, transform 0.3s;
    width: 330px;
    height: auto;
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 140px;
    box-shadow: 0 9px 10px rgb(0 0 0 / 29%);
    margin-right: 1rem;
    align-items: center;
    display: flex;
    margin-bottom: 0.5rem;
}

    .custom-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .custom-toast .icon-container {
        display: flex;
        align-items: center;
        margin-right: 10px;
    }

        .custom-toast .icon-container > svg {
            height: 34px;
        }

    .custom-toast .content-container {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

        .custom-toast .content-container .title {
            font-weight: 600;
            font-size: 15px;
        }

        .custom-toast .content-container .message {
            font-size: 14px;
            font-weight: 400;
            color: #111215;
        }

    .custom-toast > button {
        background-color: transparent;
        font-size: 25px;
        color: #9b9dab;
        cursor: pointer;
        border: 0;
        padding: 0;
        margin: 0;
        height: 34px;
        width: 34px;
    }

    .custom-toast.success .icon-container > svg {
        fill: #47D764;
    }

    .custom-toast.success .content-container .title {
        color: #47d764;
    }

    .custom-toast.error .icon-container > svg {
        fill: #ff355b;
    }

    .custom-toast.error .content-container .title {
        color: #ff355b;
    }

    .custom-toast.info .icon-container > svg {
        fill: #2F86EB;
    }

    .custom-toast.info .content-container .title {
        color: #2F86EB;
    }

    .custom-toast.warning .icon-container > svg {
        fill: #FFC021;
    }

    .custom-toast.warning .content-container .title {
        color: #FFC021;
    }

.custom-toast-container .custom-toast:last-child {
    margin-bottom: 1rem;
}

@media (max-width: 568px) {
    .custom-toast {
        margin: auto 0.5rem;
        left: 0;
        right: 0;
        width: calc(100% - 1rem);
        margin-bottom: 0.5rem;
    }

    .custom-toast-container {
        margin: 0;
    }
}
