/* ==================== UPDATE BANNER ==================== */

.update-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}

.update-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.update-banner-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.update-banner-text {
    flex: 1;
    min-width: 0;
}

.update-banner-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.update-banner-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.update-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.update-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    /* iOS touch fix */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.update-btn-primary {
    background: var(--primary);
    color: white;
}

.update-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 174, 239, 0.3);
}

.update-btn-secondary {
    background: var(--surface-secondary);
    color: var(--text-secondary);
}

.update-btn-secondary:hover {
    background: var(--border);
    color: var(--text-primary);
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .update-banner-content {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .update-banner-icon {
        align-self: center;
    }

    .update-banner-text {
        text-align: center;
    }

    .update-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .update-btn {
        width: 100%;
        padding: 12px 16px;
    }

    .update-banner-title {
        font-size: 0.9375rem;
    }

    .update-banner-subtitle {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .update-banner-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .update-banner-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}
