/* filepath: website_sale_aplicoop/static/src/css/components/alerts.css */

/**
 * Alert and notification component styles
 */

.group-order-alert {
    background-color: #e7f3ff;
    border-left: 4px solid var(--primary-color);
    color: #004085;
    padding: 1rem;
    border-radius: 0.375rem;
}

.group-order-alert.info {
    background-color: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.group-order-alert.warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.alert-warning i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.alert-warning strong {
    font-weight: 700;
}

#delivery-info-alert {
    margin-top: 1rem;
    border-left: 4px solid #0dcaf0;
}

#delivery-info-alert .fa-truck {
    margin-right: 0.5rem;
    color: #0dcaf0;
}

/* Toast Notification Animation */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 400px;
    word-break: break-word;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification i {
    font-size: 1.2rem;
    min-width: 20px;
}
