/* Message styling for Writers Platform */

.message-alert {
    border-left: 5px solid;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    animation: slide-down 0.3s ease-out;
    position: relative;
    overflow: hidden;
    padding: 15px 20px;
}

.message-alert .icon-container {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slide-down {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.alert-danger, .alert-error {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

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

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

.messages-container {
    position: relative;
    z-index: 1000;
    margin-top: 20px;
    margin-bottom: 20px;
}
