/**
 * E-PAY Gateway - Toast Notification Styles
 */

#evc-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.evc-toast {
    min-width: 280px;
    max-width: 350px;
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.evc-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.evc-toast.success {
    background-color: #4CAF50;
}

.evc-toast.error {
    background-color: #F44336;
}

.evc-toast.warning {
    background-color: #FFC107;
    color: #333;
}

.evc-toast.info {
    background-color: #2196F3;
}

.evc-toast-message {
    flex: 1;
    margin-right: 10px;
    line-height: 1.5;
    word-break: break-word;
}

.evc-toast-close {
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.evc-toast-close:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    #evc-toast-container {
        right: 10px;
        left: 10px;
        top: 10px;
    }
    
    .evc-toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}
