﻿body {
}
.message-container {
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .message-icon img {
        width: 100%;
        height: 100%;
    }

.message-content {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-right: 48px; /* reserve space for close button */
}

    .message-content li {
        line-height: 1.6;
        margin-bottom: 5px;
    }

        .message-content li:last-child {
            margin-bottom: 0;
        }

.message-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.message-success {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.message-warning {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    color: #e65100;
}

.message-container {
    position: relative;
}

.message-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
}

    .message-close a {
        color: #666;
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
        font-size: 12px;
        padding: 4px 6px;
        background: rgba(255,255,255,0.6);
        border-radius: 3px;
    }
