/* Messages Styles */
.messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-success {
    background: #4CAF50;
    color: #FFFFFF;
    border-left: 4px solid #2E7D32;
}

.message-error {
    background: #ee2722;
    color: #FFFFFF;
    border-left: 4px solid #B71C1C;
}

.message-info {
    background: #2196F3;
    color: #FFFFFF;
    border-left: 4px solid #0D47A1;
}

.message-warning {
    background: #FF9800;
    color: #FFFFFF;
    border-left: 4px solid #E65100;
}

.message-text {
    flex: 1;
    font-weight: 500;
}

.message-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.message-close:hover {
    opacity: 1;
}

/* Mobile Styles */
@media (max-width: 640px) {
    .messages-container {
        left: 20px;
        right: 20px;
        max-width: 100%;
    }

    .message {
        min-width: auto;
        width: 100%;
    }
}

