/**
 * Toast CSS
 * @package Msg91-WooCommerce
 */

/* Toast container */
.msg91-toast-container {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

/* Toast notification */
.msg91-toast {
    position: relative;
    padding: 15px 25px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid;
}

/* Toast types */
.msg91-toast.notice-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.msg91-toast.notice-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.msg91-toast.notice-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.msg91-toast.notice-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* Hover effects */
.msg91-toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animation for showing/hiding */
.msg91-toast {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .msg91-toast-container {
        top: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .msg91-toast {
        font-size: 14px;
        padding: 12px 20px;
    }
} 