﻿.cg-toast-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    max-width: 400px !important;
    pointer-events: none !important;
}

.cg-toast {
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    animation: cgToastSlideIn 0.3s ease-out !important;
    transition: opacity 0.3s ease !important;
    min-width: 300px !important;
    color: white !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

    .cg-toast.success {
        background: #28a745 !important;
    }

    .cg-toast.error {
        background: #dc3545 !important;
    }

    .cg-toast.warning {
        background: #ffc107 !important;
        color: #212529 !important;
    }

    .cg-toast.info {
        background: #17a2b8 !important;
    }

.cg-toast-icon {
    font-size: 28px !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cg-toast-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.cg-toast-title {
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    font-size: 15px !important;
}

.cg-toast-message {
    font-size: 14px !important;
    opacity: 0.95 !important;
    word-break: break-word !important;
}

.cg-toast-close {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: 28px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: opacity 0.2s !important;
    opacity: 0.8 !important;
}

    .cg-toast-close:hover {
        opacity: 0.5 !important;
    }

.cg-toast.hiding {
    opacity: 0 !important;
}

@keyframes cgToastSlideIn {
    from {
        transform: translateX(450px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
