﻿/* ============================================================
       TOAST STYLES
       ============================================================ */
.custom-toast-container {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 2147483647 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
    pointer-events: none !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px) !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    will-change: auto !important;
}

.custom-toast {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 340px;
    max-width: 100%;
    height: auto;
    padding: 12px 16px;
    background-color: #ffffff;
    border-radius: 100px;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    margin: 0;
    pointer-events: auto;
    position: relative;
    z-index: 2147483647;
    animation: none !important;
    transform-style: flat !important;
    filter: none !important;
    backdrop-filter: none !important;
}

    .custom-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .custom-toast .icon-container {
        display: flex;
        align-items: center;
        margin-right: 12px;
        flex-shrink: 0;
    }

        .custom-toast .icon-container > svg {
            height: 32px;
            width: 32px;
        }

    .custom-toast .content-container {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        text-align: left;
    }

        .custom-toast .content-container .title {
            font-weight: 600;
            font-size: 14px;
            line-height: 1.2;
            margin-bottom: 2px;
        }

        .custom-toast .content-container .message {
            font-size: 13px;
            font-weight: 400;
            color: #111215;
            line-height: 1.3;
            word-break: break-word;
        }

    .custom-toast > button {
        background-color: transparent;
        font-size: 22px;
        color: #9b9dab;
        cursor: pointer;
        border: 0;
        padding: 0;
        margin: 0 0 0 10px;
        height: 30px;
        width: 30px;
        flex-shrink: 0;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s;
    }

        .custom-toast > button:hover {
            color: #333;
        }

    .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;
    }

@media (max-width: 568px) {
    .custom-toast-container {
        top: 12px !important;
        right: 12px !important;
        left: 12px !important;
        align-items: stretch !important;
        max-width: none !important;
    }

    .custom-toast {
        width: 100%;
        max-width: 100%;
        padding: 11px 14px;
        border-radius: 60px;
    }

        .custom-toast .content-container .title {
            font-size: 13px;
        }

        .custom-toast .content-container .message {
            font-size: 12px;
        }

        .custom-toast .icon-container > svg {
            height: 28px;
            width: 28px;
        }
}

@media (max-width: 380px) {
    .custom-toast-container {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
    }

    .custom-toast {
        padding: 10px 12px;
        border-radius: 50px;
    }

        .custom-toast .content-container .title {
            font-size: 12px;
        }

        .custom-toast .content-container .message {
            font-size: 11px;
        }
}

.swal2-popup .swal2-title {
    font-size: 18px !important;
    line-height: 1;
    margin-top: 20px;
    font-weight: 400 !important;
    color: #000;
    margin-bottom: 0;
}
