﻿/* Update Notification Banner - Above Navbar */
.update-notification-banner {
    width: 100%;
    background: #16A085;
    color: white;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(22, 160, 133, 0.3);
    position: relative;
    z-index: 1040;
    transition: all 0.3s ease;
    display: none; /* Completely hidden - takes NO space */
}

.update-notification-banner.update-notification-visible {
    display: block; /* Visible - takes space */
    animation: slideDown 0.3s ease forwards;
}

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

.update-notification-banner.update-notification-slide-out {
    animation: slideUp 0.3s ease forwards;
}

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

.update-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.update-icon {
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.update-message {
    font-size: 15px;
    font-weight: 500;
}

.update-refresh-btn {
    background: white;
    color: #16A085;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.update-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .update-notification-banner {
        padding: 10px 0;
    }
    
    .update-banner-content {
        gap: 8px;
        font-size: 14px;
    }
    
    .update-icon {
        font-size: 18px;
    }
    
    .update-message {
        font-size: 13px;
    }
    
    .update-refresh-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}
