.alert {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

/* Standard Alert Styles */
.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* Simple Form Error Style */
.alert-simple {
    background: none !important;
    border: none !important;
    padding: 0.25rem 0 !important;
    margin: 0.1rem 0 !important;
}

.alert-simple.alert-error {
    color: #dc2626 !important;
}

.alert-icon {
    margin-right: 12px;
    font-size: 1.1em;
}

.alert-message {
    font-size: 0.925rem;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    margin-left: auto;
    font-size: 1.25rem;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* Add to your existing CSS */
.is-invalid {
    border: #b90202 1px solid !important;
    box-shadow: 0 0 0 1px rgb(192, 1, 1);
}

.is-invalid + label {
    color: #dc2626 !important;
}