/* app/assets/stylesheets/shared/flash.css */
.flash-messages {
    margin-bottom: 2rem;
}

.flash-message {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.flash-message.notice {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
}

.flash-message.alert {
    background-color: #fffbeb;
    border: 1px solid #f59e0b;
}

.flash-message.error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
}

.flash-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.flash-message.notice .flash-icon {
    color: #10b981;
}

.flash-message.alert .flash-icon {
    color: #f59e0b;
}

.flash-message.error .flash-icon {
    color: #ef4444;
}

.flash-text {
    flex: 1;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0.25rem;
}

.flash-close:hover {
    color: var(--gray-700);
}
