﻿.custom-toast {
    position: fixed;
    bottom: 20px;
    right: 20px; /* سمت راست */
    min-width: 300px;
    padding: 15px 50px 15px 20px; /* padding راست بیشتر برای جای دکمه */
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1100;
    font-family: 'body-font',Tahoma,sans-serif;
    color:white !important;
}

    .custom-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .custom-toast.success {
        background-color: #28a745;
    }

    .custom-toast.error {
        background-color: #dc3545;
    }

    .custom-toast.info {
        background-color: #17a2b8;
    }

    .custom-toast.warning {
        background-color: #ffc107;
        color: black;
    }

    .custom-toast .toast-title {
        font-weight: 700;
        margin-bottom: 5px;
    }

    .custom-toast .toast-message {
        margin: 0;
    }

    .custom-toast .close-btn {
        position: absolute;
        top: 8px;
        right: 12px;
        background: transparent;
        border: none;
        color: white;
        font-weight: bold;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        width: 24px;
        height: 24px;
        text-align: center;
        border-radius: 12px;
        transition: background-color 0.2s ease;
    }

        .custom-toast .close-btn:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }
