.site-messages {
    max-width: 900px;
    margin: 16px auto 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.site-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.4;
    animation: site-message-in 0.25s ease-out;
}

.site-message-success {
    background: #e6f7ed;
    border: 1px solid #34c759;
    color: #1b6b3a;
}

.site-message-error {
    background: #fdecea;
    border: 1px solid #e53935;
    color: #9c1c14;
}

.site-message-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #34c759;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.site-message-error .site-message-icon {
    background: #e53935;
}

.site-message-text {
    flex: 1;
}

.site-message-close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 4px;
}

.site-message-close:hover {
    opacity: 1;
}

@keyframes site-message-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
