.global-message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    width: 90%;
    max-width: 600px;
    pointer-events: none;
}

.global-message {
    background: linear-gradient(135deg, #1F9947 0%, #18803a 100%);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    pointer-events: auto;
    animation: slideInDown 0.4s ease-out, fadeOut 0.4s ease-in 4.6s forwards;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.global-message-success {
    background: linear-gradient(135deg, #1F9947 0%, #18803a 100%);
}

.global-message-error,
.global-message-danger {
    background: linear-gradient(135deg, #FF6565 0%, #e54545 100%);
}

.global-message-warning {
    background: linear-gradient(135deg, #FFA500 0%, #e59400 100%);
}

.global-message-info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563eb 100%);
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .global-message-container {
        top: 10px;
        width: 95%;
        max-width: none;
    }
    
    .global-message {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .global-message-container {
        top: 8px;
        width: 96%;
    }
    
    .global-message {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 8px;
    }
}

