﻿#toastx-container {
    z-index: 1080;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* BASE TOAST */
    #toastx-container .toastx {
        min-width: 340px;
        max-width: 420px;
        border-radius: 16px;
        color: #fff;
        margin-bottom: 12px;
        box-shadow: 0 14px 35px rgba(0,0,0,0.25);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        overflow: hidden;
    }

        /* SHOW */
        #toastx-container .toastx.show {
            opacity: 1;
            transform: translateY(0);
        }

    /* INNER */
    #toastx-container .toastx-inner {
        display: flex;
        align-items: center;
        padding: 16px;
    }

    /* ICON */
    #toastx-container .toastx-icon {
        margin-right: 12px;
    }

        #toastx-container .toastx-icon i {
            font-size: 22px;
        }

    /* TEXT */
    #toastx-container .toastx-title {
        font-weight: 700;
        font-size: 15px;
    }

    #toastx-container .toastx-message {
        font-size: 13px;
        opacity: 0.9;
    }

    /* CLOSE */
    #toastx-container .toastx-close {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 18px;
        opacity: 0.6;
        cursor: pointer;
    }

    /* ❌ SOL BORDER TAMAMEN KALDIRILDI */
    /* yerine FULL GRADIENT */

    /* SUCCESS */
    #toastx-container .success {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }

    /* ERROR */
    #toastx-container .error {
        background: linear-gradient(135deg, #dc2626, #ef4444);
    }

    /* WARNING */
    #toastx-container .warning {
        background: linear-gradient(135deg, #f59e0b, #fbbf24);
        color: #111;
    }

    /* INFO */
    #toastx-container .info {
        background: linear-gradient(135deg, #2563eb, #3b82f6);
    }

    /* ICON COLORS */
    #toastx-container .success i {
        color: #fff;
    }

    #toastx-container .error i {
        color: #fff;
    }

    #toastx-container .warning i {
        color: #111;
    }

    #toastx-container .info i {
        color: #fff;
    }



    #toastx-container .toastx-icon {
        width: 32px;
        min-width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        #toastx-container .toastx-icon i {
            font-size: 20px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }